Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- menu channel {
- Humbler
- .on:h | .echo -a You will deopped in all chans that u r opped.
- .off:hh | .echo -a You may get killed by services if u r deopped in too many chans.
- }
- alias h {
- var %x = 1
- var %y = $chan(0)
- while (%x <= %y) {
- if ($me isop $chan(%x)) {
- mode $chan(%x) -v+v-o $me $me $me
- }
- inc %x
- }
- }
- alias hh {
- var %x = 1
- var %y = $chan(0)
- while (%x <= %y) {
- if ($me !isop $chan(%x)) {
- .cs op $chan(%x) $me
- }
- inc %x
- }
- }
- ;As requested by bro D0S for self deop alias in all chans
- ;syntax /h to self-deop all chans
- ;syntax /hh to self-reop all chans
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement