EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Quests (https://www.eqemulator.org/forums/forumdisplay.php?f=624)
-   -   new quest problem (https://www.eqemulator.org/forums/showthread.php?t=6258)

kabalah 03-28-2003 10:52 AM

new quest problem
 
i have a quest file that contains the following:
event_say {
if ($1- =~ "Hail") { say("Greetings $name! Would you like me to [bind your soul]?") }
}
event_say {
if ($1- =~ "bind my soul") { say("Incoming Bind! You will zone back to this spot when you die $userid.") castspell($userid,35) }
}
event_say {
if ($1- =~ "bind your soul") { say("Silly! My soul is already bound to this spot! I love it here!")
me('another command') }
}

using this format i've been able to get the character to respond to each phrase, but, the castspell command never runs and the me('another command') emote never appears just the string 'me'. if i combine all the events into one event_say, none of the if's get triggered...

anyone have any suggestions? thanks in advance!

kabalah

just_add_water 03-28-2003 11:27 AM

Code:

event_say {
if ($1- =~ "bind my soul") { say("Incoming Bind! You will zone back to this spot when you die $userid.") castspell("$userid","35") }
}

All text within a command() must be in " " .


All times are GMT -4. The time now is 11:18 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.