Hi
I have a script which outputs text to the channel in one 3 ways depending on what's in a changing variable pulled from a website.

if (%var isupper) msg #chan first way
if (thisword isin %var) msg #chan second way
else msg #chan third way

It works except for when the var isupper it sends to the channel in both the first and third ways rather than just the isupper line. Is there a way to stop it sending the third way too?

Cheers in advance for any help...