Author Topic: Easiest way to implement Anti AFK  (Read 2413 times)

0 Members and 1 Guest are viewing this topic.

Offline Fabolous1Topic starter

  • Jr. Member
  • **
  • Posts: 18
  • Activity:
    0%
  • Reputation Power: 1
  • Fabolous1 has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Easiest way to implement Anti AFK
« on: February 23, 2020, 10:44:47 AM »
0
Hey,

I was wondering what the easiest/most efficient way of implement anti-AFK in a script is?

I have some simple scripts that just train parrying on sheep and wanted to make it so it doesn't idle out after agroing them.

Thanks

Offline The Ghost

  • Elite
  • *
  • *
  • Posts: 1917
  • Activity:
    0%
  • Reputation Power: 25
  • The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.The Ghost is on the verge of being accepted.
  • Respect: +245
  • Referrals: 0
    • View Profile
Re: Easiest way to implement Anti AFK
« Reply #1 on: February 23, 2020, 10:51:06 AM »
0
If you want to be fancy, EN's have an Anti Idle Subs.  Not sure where I found them in the pass

But I use this in my main loop
Quote
if #sCnt > %timer + 300
  {
     event Macro 19 0 ;   Salute
    set %timer #sCnt
  }

Offline Fabolous1Topic starter

  • Jr. Member
  • **
  • Posts: 18
  • Activity:
    0%
  • Reputation Power: 1
  • Fabolous1 has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Easiest way to implement Anti AFK
« Reply #2 on: February 23, 2020, 10:58:24 AM »
0
Great, ty!

Offline Endless Night

  • Global Moderator
  • *
  • *
  • Posts: 5467
  • Activity:
    0%
  • Reputation Power: 62
  • Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!Endless Night is awe-inspiring!
  • Respect: +393
  • Referrals: 1
    • View Profile
Re: Easiest way to implement Anti AFK
« Reply #3 on: February 26, 2020, 01:39:31 PM »
+1
If you want to be fancy, EN's have an Anti Idle Subs.  Not sure where I found them in the pass


http://www.scriptuo.com/index.php?topic=2454.msg51906#msg51906
Outlaw Josey Wales - "Manwink, A Long Gone Scripty, and Endless are always teasing us with their private sections lol. What there realy saying is scripters rule and users drool."
Briza - "Your a living breathing vortex of usefulness."

Tags: