PDA

View Full Version : Anti Idle Script



Sweet Vulva
11-29-2015, 06:49 PM
Hey guys!

I need an anti idle lua script very fast! Could you help me?

Joshwa534
11-29-2015, 08:24 PM
Hey guys!

I need an anti idle lua script very fast! Could you help me?

Right-click your character -> Tools -> Anti Idle, check that box.

Sweet Vulva
11-29-2015, 08:38 PM
Yea I know, but for now I'm using trial version without tools option, so I need a script for that fast :)

jo3bingham
11-29-2015, 08:48 PM
I believe script use is disabled on the trial version.

Sweet Vulva
11-29-2015, 08:50 PM
I believe script use is disabled on the trial version.
Nope. The scripter is available.

jo3bingham
11-29-2015, 10:53 PM
Module.New("Anti-AFK", function(Module)
Self.Turn(Self.LookDirection())
Module:Delay(600000) --10 minutes
end)


Edit: Use shadowart's code below.

shadowart
11-30-2015, 12:01 AM
Woops, made an edit instead of a quote. Hopefully its back to how it was previously now.




Module.New("Anti-AFK", function(Module)
Self.Turn(Self.LookDirection())
Module:Delay(600000) --10 minutes
end)


Turning in your look direction doesn't work. You'll need something like this:


local dirs = {"south", "east", "north", "west"}
local i = 0
Module.New("Anti-AFK", function(Module)
i = (i + 1) % 4
local nextDir = dirs[i + 1]
Self.Turn(nextDir)
Module:Delay(math.random(600000, 780000)) --10-13 minutes
end)

Elvang
11-30-2015, 06:11 AM
How many moderators does it take to get around the no tools option in the trial? xD

Sweet Vulva
11-30-2015, 01:26 PM
Thanks a lot! :)