ID:179115
 

i need a code snip that sets a players varible to
somthing then revert it back over time,

example: a verb is hit and speed var increased to
2, then 2 seconds (or x amount of tiles) later it sets back to 1.
mob/verb/Boost()
usr.Blah += 2
sleep(20)
usr.Blay -=2


Thats what i would do, in place of Blah put whatever the variable you want changed name.
In response to dbz73
hey thanks!
In response to Hgame9
your welcome.