View Single Post
  #1  
Old 07-18-2007, 12:43 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default NPC gives 30 seconds then chases you Quest

Npc will give you 30 seconds after you hail him then chases you down.
GeorgeS

sub EVENT_SAY
{
my $x;
my $y;
my $z;
my $h;

$x = $npc->GetX();
$y = $npc->GetY();
$z = $npc->GetZ();
$h = $npc->GetHeading();

if ($text = ~/Hail/i)
{
quest::shout("It is YOU that $race that pillages our village! I am giving you 30 seconds to run before I hunt thee down with my axe!");
quest::settimer("attck",30);
}

}

sub EVENT_TIMER
{
if ($timer eq "attck")
{
quest::shout("The sound of my Axe on your Skull will be heard for miles!");
quest::stoptimer("attck");
quest::attack($name);
}
}
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote