how to make it work nicely if we changes the : on :text::#: to: on :input::#: for selfcontrol ??
on @*:INPUT:#: {
if ($regex($1,/^`(d)?(o|v|(h)?op)$/iS)) && ($2 ison #) {
$iif(!$nick(#,$2,hov),mode # $replace($1,`v,+v,`o,+o,`hop,+h) $2)
$iif($nick(#,$2,hov),mode # $replace($1,`dv,-v,`dop,-o,`dhop,-h) $2)
}
}
Same syntax: v,
dv, o,
dop, hop, and
dhop NickHere
Make sure you're opped in channel.