ups sorry i got wrong windows
:tongue: :tongue: :tongue:
on @*:TEXT:op *:#: {
if ($2 == $null) mode $chan +o $nick
if ($2 ison $chan) mode $chan +o $2
else halt
}