View Single Post
  #2  
Old 09-29-2004, 09:26 PM
Muuss
Dragon
 
Join Date: May 2003
Posts: 539
Default

The } are misplaced.

the EVENT_SLAY is included in the EVENT_SAY

corrected :
Code:
sub EVENT_SAY {
  if($text=~/Hail/i){
    quest::say("Greetings. $name. nice day for some orc slaying oh?.");
  }
}

sub EVENT_SLAY {
  quest::say("For the defense of Kelethin."); 
}
#END of FILE Zone:gfaydark ID:54093 -- Guard_Fayfear
You should indent your code, it's easier to read and avoid those lil errors
__________________
Muuss - [PEQGC] Dobl, the ogre that counts for 2 !
http://www.vilvert.fr/page.php?id=10
Reply With Quote