Guest User

Untitled

a guest
Jul 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. alias banall {
  2. var %i $nick($chan,0), %b 0, %d
  3. while (%i >= 0) {
  4. if (!$read(exemptbans.txt,s,$nick($chan,%i))) {
  5. var %d %d $address($nick($chan,%i),2)
  6. inc %b
  7. }
  8. if (%b == 10) {
  9. mode $chan + $+ $str(b,%b) %d
  10. var %b 0, %d = $null
  11. }
  12. dec %i
  13. }
  14. mode $chan + $+ $str(b,%b) %d
  15. var %i $nick($chan,0)
  16. while (%i >= 0) {
  17. if (!$read(exemptbans.txt,s,$nick($chan,%i))) kick $chan $nick($chan,%i) $2-
  18. dec %i
  19. }
  20. echo -a 4I did your bidding.
  21. }
  22.  
  23. alias exemptBan {
  24. if ($3) {
  25. write -ds $+ $3 exemptbans.txt
  26. }
  27. else write exemptbans.txt $2 1
  28. }
Add Comment
Please, Sign In to add comment