How about you just set modes +pi for private?em
on *:TEXT:!private:#: { mode $chan +pi } on *:TEXT:!public:#: { mode $chan -pi }
Erotf No need for the forward slashes while using brackets. { }