Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

Mudlet Timers

IsmayIsmay Member Posts: 647 ✭✭✭✭✭ - Grand Achaean
I'm using @Klendathu's Wild Walking script, and am having a bit of trouble with the walking timer. This is what I think is the relevant portion of the script. Every few rooms I move, the script seems not to pause. I end up with the "Now now, don't be so hasty!" message, and have to use the wwgo alias again and again.


ww.setmovetimer = function(time)

if ww.movetimer then killTimer(ww.movetimer) end

ww.movetimer = tempTimer(getNetworkLatency()+(time or 0.3), function ()
ww.movetimer = false
ww.Move()
end)
end

Does anyone know how to fix this without breaking it? I'm afraid to do much with it because I haven't done any work with timers yet.
Utianima

Comments

Sign In to Comment.