$status
with 5.0 does this syntax look correct...
Code:
EVENT_SAY { Code:
EVENT_SAY { all of these cause the zone not to load. i can use this... Code:
EVENT_SAY { Thanks Kgaul |
Re: $status
[quote="Kgaul"]with 5.0 does this syntax look correct...
Code:
EVENT_SAY { EVENT_SAY { if("$status" == "250") { say("burp"); } } NEXT_EVENT_HERE try to avoid needless spaces, and close every statement off with "}" on the very last line, and a space between the next statement as I've shown. If you follow this, it should work... one thing though, I'm not sure of it- but you may need an event leading up to the npc saying "burp", or else I'd think there would be no trigger for the npc to know when to say it... in other words, the above shows the npc just saying burp, based on your account status. Does the npc sense when you're near? Do you Hail the npc to start the chain? Good luck :) |
yes sir, it was actually an embedded if
EVENT_SAY { if ($1- =~ "Hail") {say("Hello! how are you today?");} if ("$status" == "250") {say("burp <just testing here with the burp>");} } this still crashes the zone... Kgaul |
what does world.exe say when this happens?
|
Are you sure $status is a variable?
|
If anything, world should report an error in that quest file upon entering the zone, and the quest wouldn't work. It certainly shouldn't crash the zone. .. I wouldn't think :roll:
|
actually before the release where the quests worked any .qst file would block the world from loading at all.. what i get when i try to test a qeust is eather the zone loads or it doesn't if its bad...
Kgaul |
Quote:
if ($1- =~ "Hail") {say("Hello! how are you today?"); //note removal of } if ("$status" == "250") {say("burp <just testing here with the burp>");} } |
it was actually a parsing bug, I have it fixed, it will be in the next cvs dump.
|
Ok, i'm putting a statue to Edgar in Nro since i know nothuing about him i'm just going to name a 90 foot Gnome...
you rock sir. ( thanks for the change in the nested if Chris, might be my prob =) ) Kgaul |
All times are GMT -4. The time now is 04:24 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.