On *:JOIN:#sweetshop: { if ($nick isop $chan || $nick ishop $chan) { halt }
it will not work, since all nicks on join is regular
on $*:TEXT:*:*: {
The $ prefix
Indicates that the matchtext section of a definition contains a regular expression.
alias $chanhalt $nickhalt $c3 $c1 and $c2 is missed