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>");}
}