Thread: default.pl
View Single Post
  #3  
Old 10-11-2004, 02:38 PM
jenniferrose
Sarnak
 
Join Date: Jun 2003
Posts: 40
Default

Quote:
im using the simple hail quest for the default.pl located in the eqemu/quests/qeynos/default.pl

Code:
sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("Why hello there mister!");}
}
Quote:
this is the default.pl located in my eqemu/quests/default.pl

Code:
sub EVENT_SAY{
$plugin::debug && quest::say("[debug]in qstdefault::EVENT_SAY");
#plugin::showvars();
plugin::dispatch();
}

sub EVENT_ITEM{
plugin::dispatch();
}

sub EVENT_DEATH{
plugin::dispatch();
}

sub EVENT_ATTACK{
plugin::dispatch();
}

sub EVENT_SPAWN{
plugin::dispatch();
}

sub EVENT_TIMER{
plugin::dispatch();
}

sub EVENT_SLAY{
plugin::dispatch();
}

sub EVENT_WAYPOINT{
plugin::dispatch();
}
Quote:
and individual quests in the eqemu/quests/qeynos/1234.pl
sry about that, i should of worded it a little better, i can make each npc respond with a single quest named the NPCID.pl , but my zonewide npc quest default.pl isnt working for any mobs.
Quote:
Are you trying to make EVERY mob in the zone respond with "why hello there mister!" when you hail them or just one?
Yes. Trying to make Every mob in the zone respond to my default.pl file made up of a simple "hello there mister!" script.
Code:
sub EVENT_SAY
{
if ($text=~ /Hail/i){quest::say("Why hello there mister!");}
} [/quote]
Reply With Quote