also you have !Sayrooms as a wildcard also you had a ( mixed up for a {
on *:TEXT:!Sayrooms:*:{
if ($chan(0) == 1) {
/notice $nick I am in $+ $chan(0) $+ channel
}
else { /notice $nick 0I am in $+ $chan(0) $+ channels
/notice $nick 0They are:
set %x 0
:next
inc %x
set %chans $chan(%x)
if (%chans == $null) { goto end }
elseif ($me isop %chans) { /notice $nick 12@ $+ %chans | goto next }
elseif ($me isop %chans) && ($me isvoice %chans) { /notice $nick 12@3+ $+ %chans | goto next }
elseif ($me isop %chans) && ($me isvoice %chans) && ($isuser($me,%chans)) { /notice $nick 12@3+10- $+ %chans | goto next }
elseif ($me isop %chans) && ($isuser($me,%chans)) { /notice $nick 12@10- $+ %chans | goto next }
elseif ($me ishop %chans) { /notice $nick 7% $+ %chans | goto next }
elseif ($me ishop %chans) && ($me isvoice %chans) { /notice $nick 7%3+ $+ %chans | goto next }
elseif ($me isvoice %chans) { /notice $nick 9+ $+ %chans | goto next }
elseif ($me isvoice %chans) && ($isuser($me,$chans)) { /notice $nick 9+10- $+ %chans | goto next }
elseif ($isuser($me,%chans)) { /notice $nick 010- $+ %chans | goto next }
else { /notice 0$nick %chans | goto next }
:end
halt
}
}