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