EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Quests (https://www.eqemulator.org/forums/forumdisplay.php?f=624)
-   -   Heres another problem! (https://www.eqemulator.org/forums/showthread.php?t=9605)

09-29-2003 10:53 AM

Heres another problem!
 
EVENT_SAY{
if($1- =~ "Hail"){
SAY("Hi $name I can teleport you anywhere you want I can teleport you to [Nexus] [Planes of Power] [Greater Divide] [Greater Faydark] [Cabalis] [Akanon] [Freeport] [Grobb] [Oggok] [Qeynos] [Rivervale] [Erudin] [Kaladim] [Shar Vahl] [Neriak] or [Halas]")
}
if($1- =~ "Planes of Power"){
SAY("Ok bye")
}
if($1- =~ "Nexus"){
SAY("Ok bye")
castspell("2943")}
}
if($1- =~ "Greater Divide"){
SAY("Ok bye")
castspell("2023")}
}
if($1- =~ "Greater Faydark"){
SAY("Ok bye")
castspell("1336")}
}
if($1- =~ "Cabalis"){
SAY("Ok bye")
}
if($1- =~ "Akanon"){
SAY("Ok bye")
}
if($1- =~ "Freeport"){
SAY("Ok bye")
castspell("1373")}
}
if($1- =~ "Grobb"){
SAY("Ok bye")
}
if($1- =~ "Oggok"){
SAY("Ok bye")
}
if($1- =~ "Qeynos"){
SAY("Ok bye")
castspell("1338")}
}
if($1- =~ "Rivervale"){
SAY("Ok bye")
}
if($1- =~ "Erudin"){
SAY("Ok bye")
castspell("1337")}
}
if($1- =~ "Kaladim"){
SAY("Ok bye")
}
if($1- =~ "Shar Vahl"){
SAY("Ok bye")
}
if($1- =~ "Neriak"){
SAY("Ok bye")
castspell("1371")}
}
if($1- =~ "Halas"){
SAY("Ok bye")
}
/*END of FILE Zone:cshome ID:7343 -- Translocator */



When I try to Hail to him he doesnt say anything... why is that?

killspree 09-29-2003 02:10 PM

Looks to me like you don't close out your event_say.

09-30-2003 07:57 AM

HERES THE CORRECT WAY OF DOING IT!...







EVENT_SAY{
if($1- =~ "Hail"){
SAY("Hi $name I will [teleport] you anywhere!")
}
if($1- =~ "teleport"){
SAY("[Cshome] [Velious] [Nexus] [Greater Divide] [Greater Faydark] [Cabalis] [Akanon] [Freeport] [Grobb] [Oggok] [Qeynos] [Rivervale] [Erudin] [Kaladim] [Shar Vahl] [Neriak] or [Halas].")
}
if($1- =~ "cshome"){
SAY("Hang on you need to have downloaded or obtained this file from becoming a GM in eqlive. This file does not come along with the Everquest CD. Are you sure you wanna continue? [YES] [NO]")
}
if($1- =~ "yes"){
SAY("ok bye")
summonitem("22")
}
if($1- =~ "no"){
SAY("well sorry then...")
}
if($1- =~ "Nexus"){
SAY("Ok bye")
castspell("$userid","2943")
}
if($1- =~ "Greater Divide"){
SAY("Ok bye")
castspell("$userid","2023")
}
if($1- =~ "Greater Faydark"){
SAY("Ok bye")
castspell("$userid","1336")
}
if($1- =~ "Cabalis"){
SAY("Ok bye")
castspell("$userid","2709")
}
if($1- =~ "Akanon"){
SAY("Ok bye")
castspell("$userid","557")
}
if($1- =~ "Freeport"){
SAY("Ok bye")
castspell("$userid","1373")
}
if($1- =~ "Grobb"){
SAY("Ok bye")
castspell("$userid","4178")
}
if($1- =~ "Oggok"){
SAY("Ok bye")
castspell("$userid","556")
}
if($1- =~ "Qeynos"){
SAY("Ok bye")
castspell("$userid","1338")
}
if($1- =~ "Rivervale"){
SAY("Ok bye")
summonitem("23")
}
if($1- =~ "Erudin"){
SAY("Ok bye")
castspell("$userid","2707")
}
if($1- =~ "Kaladim"){
SAY("Ok bye")
summonitem("21")
}
if($1- =~ "Shar Vahl"){
SAY("Ok bye")
castspell("$userid","2935")
}
if($1- =~ "Neriak"){
SAY("Ok bye")
castspell("$userid","1371")
}
if($1- =~ "Velious"){
SAY("Ok bye")
castspell("$userid","2062")
}
if($1- =~ "Halas"){
SAY("Ok bye")
castspell("$userid","2708")}
}
/*END of FILE Zone:cshome ID:7343 -- Translocator */


the summon items 21-23 are items I created for self port 1 charge on the times =)

Qtoken 09-30-2003 09:31 AM

Try something that requires for a bit more response.
 
If you accedentally say "yes" first in any sentance you'll end up in the wrong place (cshome) .. Try something that requires for a bit more response.

NPC: "Are you sure that you [have cshome]?"

eg. player response "Yes, I have cshome. Transport me there NOW you foolish little %r !"

09-30-2003 02:44 PM

Dont worry it says above that I already fixed this problem btw I just sent you the correct one above, yes does work

are you sure you would like to continue (yes) (no)
yes= ok bye (summons u an item u right click on it)
no= your screwed good bye

10-05-2003 01:30 AM

ooh boy lol i wish i was smart :shock:


All times are GMT -4. The time now is 06:28 PM.

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