Auto Channel Modes! - 31/07/14 08:29 PM
I am looking for a script that will auto re set certain modes like to -m or -G or -U if the server sets them to +m or +G or +U. I want this to set -m, -G, -U automatically when the server does.
on @1:RAWMODE:#CHANNEL: { var %users $2-, %mode $1, %n $nick if (%n == $me) halt elseif (%n != ChanServ) notice %n You're not allowed to use the mode system. elseif (%n == ChanServ) && ($me isin %users) halt var %m $left(%mode,1) var %action $iif(%m == +,-,+) var %mode $replace(%mode,%m,%action) /mode # %mode $iif(%users,$v1,$null) }
on @*:rawmode:#channel:{ mode # -mGU }
on @*:rawmode:#channel:{ mode # -mGU }