View Single Post
  #31  
Old 03-14-2005, 08:25 PM
mwmdragon's Avatar
mwmdragon
Discordant
 
Join Date: Apr 2003
Location: Winnipeg, Manitoba Canada
Posts: 270
Default 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);
}
}
__________________
Thanks
MWMDRAGON

NeverQuest
http://neverquest.gotdns.com
Emucade
http://dragonsden.emuunlim.com