View Single Post
  #10  
Old 10-20-2008, 02:16 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

I just tested and comitted this, pretty much as you had it in the first post.

Example use:

Code:
sub EVENT_AGGRO_SAY {
        quest::say("I am fighting!");
        if($text=~/Stop/i){
                $npc->WipeHateList();
                quest::say("OK, I'll stop!");
                $npc->FaceTarget($client);
        }
}
Reply With Quote