Originally Posted By: ka0z
on *:text:*:#imagica: {
...
msg $chan $( $+(%,channel.,$chan) , 2)
if ($address($nick,2) isin $( $+(%,channel.,$chan),1) {

...


Why are you using $(...,2) in one place (where it works), and then switching to $(...,1) in the other (where it doesn't)?