ID:269365
Jun 3 2005, 4:43 pm
|
|
Hwo would I create a timer? I know I've asked something similar to this question before, but I couldn't find the topic..
|
In response to Hell Ramen
|
|
sleep(100) //Timer set for 10 seconds until the next action is done. Remember, it's in ticks, or 1/10th of a second, so always think like 10 times X, where X = how many seconds you want to have it wait. EDIT: If you wanted to do a reboot... mob/verb/reboot() |
In response to Terranwolf
|
|
The second reboot code is messed up. It's gonna say World rebooting in 5 seconds and reboot.
|
In response to CIB
|
|
Ah, thanks for catching that. I didn't run it in DM.
|
In response to Terranwolf
|
|
Oh c'mon, mine you can set to any time. :p
|
I made this awhile ago, so it may not work. :p
But, it worked when I tried it, so meh.