Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. Alias qkb {
  2. mode $active -Q+b $address($1,3)
  3. kick $active $1 $iif($2-,$2-,Kicked)
  4. }
  5. Alias qk {
  6. mode $active -Q
  7. kick $active $1 $iif($2-,$2-,Kicked)
  8. }
  9. Alias kick {
  10. kick $active $1 $iif($2-,$2-,Kicked)
  11. }
  12. Alias kb {
  13. mode $active +b $address($1,3)
  14. kick $active $1 $iif($2-,$2-,Kicked)
  15. }
  16. alias -l power.c {
  17. set %Networks $scon(0)
  18. while (%Networks > 0 ) {
  19. scon %Networks
  20. inc %Total.C $chan(0)
  21. set %channels $chan(0)
  22. while (%channels > 0 ) {
  23. inc %Power.Total $nick($chan(%channels),0)
  24. if ($me isop $chan(%channels)) { inc %Total.O | inc %Power.Over $nick($chan(%channels),0,a,o) | inc %Power.Over $nick($chan(%channels),0,o) }
  25. elseif ($me ishop $chan(%channels)) { inc %Total.H | inc %Power.Under $nick($chan(%channels),0,a,oh) | inc %Power.Under $nick($chan(%channels),0,h,o) | inc %Power.Under $nick($chan(%channels),2,o) }
  26. elseif ($me isvoice $chan(%channels)) { inc %Total.V | inc %Power.Under $nick($chan(%channels),0,r) | inc %Power.Under $nick($chan(%channels),0,v,ho) | inc %Power.Under $nick($chan(%channels),0,oh) }
  27. elseif ($me isreg $chan(%channels)) { inc %Total.R | inc %Power.Under $nick($chan(%channels),0,r,ohv) | inc %Power.Under $nick($chan(%channels),0,a,r) }
  28. dec %channels
  29. }
  30. dec %Networks
  31. }
  32. }
  33. alias power {
  34. $power.c
  35. msg $active I am on14 %Total.C channels across14 $scon(0) networks. I have:4 %Total.O 14(4 $+ $round($calc( %Total.O / %Total.C * 100 ),0) $+ 14%)4 Ops,7 %Total.H 14(7 $+ $round($calc( %Total.H / %Total.C * 100 ),0) $+ 14%)7 HalfOps,12 %Total.V 14(12 $+ $round($calc( %Total.V / %Total.C * 100 ),0) $+ 14%)12 Voices,10 %Total.R 14(10 $+ $round($calc( %Total.R / %Total.C * 100 ),0) $+ 14%)10 Regulars. I have power over 14( $+ 04 $+ %Power.Over $+ 14/10 $+ %Power.Total $+ 14) people.
  36. unsetall
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement