Thread: $status
View Single Post
  #8  
Old 11-17-2003, 12:31 PM
chrismcbob
Fire Beetle
 
Join Date: Nov 2003
Posts: 1
Default

Quote:
Originally Posted by Kgaul
EVENT_SAY {
if ($1- =~ "Hail")
{say("Hello! how are you today?");}
if ("$status" == "250") {say("burp <just testing here with the burp>");}
}
try placing the nested if inside the first if block like so:

if ($1- =~ "Hail")
{say("Hello! how are you today?"); //note removal of }
if ("$status" == "250") {say("burp <just testing here with the burp>");}
}
Reply With Quote