Loading...   


sub EVENT_SAY{
	if($text=~/hail/i){ 
		quest::settimer("timertest", 5); 
		plugin::SEV($npc, "time_around", 1); 
	}
}

sub EVENT_TIMER{
	if($timer eq "timertest"){
		my $time_around = plugin::REV($npc, "time_around");
		if($time_around == 1){ quest::shout("You know what really pisses me off?"); }
		if($time_around == 2){ quest::shout("Those noobs who complain about things..."); }
		if($time_around == 3){ quest::shout("They are constantly complaining..."); quest::stoptimer($timer); }
		plugin::SEV($npc, "time_around", ($time_around + 1)); 
	}
}

Raw Paste Data