View Single Post
  #5  
Old 01-07-2007, 05:39 AM
JrFaust
Sarnak
 
Join Date: Aug 2005
Location: Overthere
Posts: 82
Default

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");
	}
}

Last edited by JrFaust; 01-07-2007 at 02:32 PM..
Reply With Quote