View Single Post
  #2  
Old 07-24-2004, 12:27 AM
Dave987
Discordant
 
Join Date: Jun 2003
Location: England
Posts: 267
Default

Code:
sub EVENT_TIMER
{
quest::say("Where did I put that darn cloth??");
}
#############
{
quest::say("If I can't find it..");
}

#############

sub EVENT_SPAWN
{
quest::settimer(1,300);
quest::settimer(2,400);
}
That should make the NPC say "Where did I put that darn cloth??" every 300 seconds, and also say "If I can't find it..." every 400 seconds.

I think the sub EVENT_TIMER will need a TimerID put in somewhere . If someone can verify this? My PERL is abit rusty, been a while
__________________
;o)
Reply With Quote