if ($nick isop #) { notice $nick current bans for $chan is %ban } if ($nick ishop #) { notice $nick current bans for $chan is %ban }
could be combined into one line
if $nick(#,$nick,@%) { notice $nick current bans for # is %ban }
and the other one also