On @*:text:`lolop *:#: { if ($nick isop #) && ($2 ison #) && ($2 != $me) { mode $chan +o $2 mode $chan -o $2 } }
@zak - You've just got some extra brackets in there otherwise it's fine.