View Single Post
  #4  
Old 01-07-2007, 05:24 AM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default

try theeees
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,$client->CharacterID());
		quest::say("healing you weee");
	}
}
untested.. should work if not than just change the $client-> part probably....
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com
Reply With Quote