Well, I guess I'd echo this:

$($+(%,chan,$nick),2)

right before that IF line. See what it's echoing. That is most likely where it's failing.


Invision Support
#Invision on irc.irchighway.net