Taking what you both say, is this right then?
sub EVENT_SAY
{
if($text=~/Hail/i)
{quest::say("Hello $name");}
}
sub EVENT_DEATH{
quest::me("falls to the ground.");
}
sub EVENT_ATTACK{
quest::me("charges at $name ready to attack.");
}
and wouldn't you enclose the other two quest lines also if you do the hello $name one? Thanks for the help all.
|