Thread: $status
View Single Post
  #1  
Old 11-16-2003, 04:03 AM
Kgaul
Hill Giant
 
Join Date: Apr 2003
Posts: 225
Default $status

with 5.0 does this syntax look correct...


Code:
EVENT_SAY {
	if("$status" == "250") { say("burp"); } 
}
have also attempted these...

Code:
EVENT_SAY {
	if($status  == "250") { say("burp"); } 
}

EVENT_SAY {
	if($status  =~ "250") { say("burp"); } 
}

EVENT_SAY {
	if($status ("250")) { say("burp"); } 
}

all of these cause the zone not to load. i can use this...


Code:
EVENT_SAY {
	if($1-  =~ "Hail") { say("Hello! How is your day?"); } 
            if ($1- =~ "good") { say("Thats Wonderful!"); }
}
Does anyone have any ideas?


Thanks
Kgaul
Reply With Quote