Krayz
06-29-2003, 02:26 PM
Ok, I can't get this code to work. What I have I done wrong. I have tried it both ways below.
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) }
}
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?
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) }
}
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?