I got that to work with a change. Thanks Cripp!
What does -> do or what is it?
Code:
sub EVENT_SAY
{
if ($text=~/Hail/i)
{
quest::say("Hail, $name");
}
if ($text=~/timeheal/i)
{
quest::settimer("theal1",15);
quest::say("poop init heal");
}
}
sub EVENT_TIMER
{
if ($timer eq "theal1")
{
quest::stoptimer("theal1");
$npc->CastSpell(6110,$userid);
quest::say("healing you weee");
}
}