Quote:
Originally Posted by epilz
All,
Can anyone provide a small example on how to make an NPC shout a message every 5 minutes or so? Either in the same zone or all zones.
I am still very new in the development of my own eqemu server and this community has been awesome in assisting me. Thank you!
|
Code:
sub EVENT_SPAWN {
quest::settimer ("shouting",1);
}
sub EVENT_TIMER {
if ($timer eq "shouting") {
quest::stoptimer ("shouting");
quest::we(258,"Shout shout shouting something to the entire server");
quest::shout ("Shout shout shouting something in just the zone");
quest::settimer ("shouting", 300);
}
}