quest::settimer
quest::settimer
Explanation: Starts a time the counts seconds.
Full Command: quest::(timerid,seconds)
Timerid = The ID number of the timer you would like to start. Found in the database.
Seconds = The amount of time you want the timer to run for in seconds.
Example:
# After hailing the NPC timer 1 is set to run for 3 minutes (180 seconds)
sub EVENT_SAY
{
if($text=~/hail/i)
{
quest::settimer(1,180);
}
}
|