Hey everyone me and my friend just got back into eqemu and made our server. We used to have great scripts but lost them and cant remember anything lol. Can someone please help me with making this cast a spell?
Code:
sub EVENT_COMBAT
{
if ($combat_state == 1)
{
quest::settimer("timer", 1);
quest::shout("test test test");
}
}
sub EVENT_TIMER
{
if ($timer eq "timer")
{
quest::cast($userid,131);
}
}
and so like after u wipe or sumthing or lose aggro the spell will stop casting. As of right now the only thing this mob is doing is shouting "test test test" as I said we used to do it all the time with sub EVENT_TIMER just cant rememeber how. a quick explination would prolly bring it back to us.
Thanks in advance.