if ($address($nick,2) isin $( $+(%,channel.,$chan) , 2)) {

works now, and all after I made my bot message my $address($nick,2) to the channel.

I was trying to see if my bot for some reason maybe had a wrong address so I added a msg $chan $address($nick,2) before the if statement above, and then it worked.


Very strange.
Oh well, thanks for all the help guys.