Advertisement
Dawnstar

Humbler

Mar 12th, 2012
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.62 KB | None | 0 0
  1. menu channel {
  2.  Humbler
  3.  .on:h | .echo -a You will deopped in all chans that u r opped.
  4.  .off:hh | .echo -a You may get killed by services if u r deopped in too many chans.
  5. }
  6. alias h {
  7.   var %x = 1
  8.   var %y = $chan(0)
  9.   while (%x <= %y) {
  10.     if ($me isop $chan(%x)) {
  11.         mode $chan(%x) -v+v-o $me $me $me
  12.      }
  13.     inc %x
  14.   }
  15. }
  16. alias hh {
  17.   var %x = 1
  18.   var %y = $chan(0)
  19.   while (%x <= %y) {
  20.     if ($me !isop $chan(%x)) {
  21.       .cs op $chan(%x) $me
  22.     }
  23.     inc %x
  24.   }
  25. }
  26.  
  27. ;As requested by bro D0S for self deop alias in all chans
  28. ;syntax /h to self-deop all chans
  29. ;syntax /hh to self-reop all chans
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement