Thread: $status
View Single Post
  #2  
Old 11-16-2003, 04:30 AM
Kroeg's Avatar
Kroeg
Hill Giant
 
Join Date: Oct 2003
Posts: 241
Default Re: $status

[quote="Kgaul"]with 5.0 does this syntax look correct...


Code:
EVENT_SAY {
	if("$status" == "250") { say("burp"); } 
}
I'm not sure if it matters, but I've been successful with quests so far, so this is the syntax I'd use:

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
Reply With Quote