Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. on *:text:!addban *:#: {
  2. if ($nick isin $read(owners.txt,w, $nick)) {
  3. if ($2 ison $chan) {
  4. set %ban [ $+ [ $2 ] ] 1
  5. msg $chan 5 $2 have been added to the Autoban List
  6. mode # +b $address($2,2)
  7. kick # $2 You Have been Banned From This Channel
  8. }
  9. else { msg $chan You are not allowed to use this Command
  10. }
  11. else { msg $chan $2 Is Not in The Channel
  12. }
  13. }
  14. on *:text:!delban *:#: {
  15. if ($nick isin $read(owners.txt,w, $nick)) {
  16. unset %ban [ $+ [ $2 ] ]
  17. msg $chan 5 $2 have been deleted from The Autoban list
  18. }
  19. else { msg $chan You are Not allowed to use this command
  20. }
  21. on *:join:#: {
  22. if ( %ban [ $+ [ $nick ] ] == 1 ) {
  23. mode # +b $address($2,2)
  24. kick # $nick You Are Banned From This Channel
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement