View Single Post
  #1  
Old 06-29-2003, 02:26 PM
Krayz
Fire Beetle
 
Join Date: May 2003
Posts: 20
Default Need help with this code

Ok, I can't get this code to work. What I have I done wrong. I have tried it both ways below.

Code:
EVENT_SAY { 
if ($1-=~ "Hail") { say("Hello $name . welcome to the Kunark translocation area. Do you wish to journey to [kunark]?") } 
if ($1-=~ "kunark") { say("Very well, watch") cast($userid,2709) } 
}
Code:
EVENT_SAY { 
if ($1-=~ "Hail") { say("Hello $name . welcome to the Kunark translocation area. Do you wish to journey to [kunark]?") } 
if ($1-=~ "kunark") { say("Very well, watch out") castspell($userid,2709) } 
}
Any suggestions?
Reply With Quote