on *:TEXT:*:#: { var %pnick = $remove($nick(#,$nick).pnick,$nick) if (~ isin %pnick) { do stuff } elseif (& isin %pnick) { do stuff } }
on *:TEXT:*:#: { var %pnick = $remove($nick(#,$nick).pnick,$nick) if ((~ isin %pnick) || (& isin %pnick)) { do stuff } }
on *:text:*:#: { if $nick(#,$nick,~&) { do stuff } }