Advertisement
pony

Swear kicker

Jul 15th, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.87 KB | None | 0 0
  1. #swear on
  2. on *:text:*:#: {
  3. if ($me !isop $chan) halt
  4. if (($istok($1-,cunt,32) == $true)) || (($istok($1-,fuckers,32) == $true)) || (($istok($1-,fuck,32) == $true)) || (($istok($1-,cock,32) == $true)) || (($istok($1-,nigger,32) == $true)) {
  5. if ($nick isowner $chan) goto test
  6. if ($nick isop $chan) goto test
  7. if ($readini(protection.ini, $nick, swear) != true) {
  8. .msg $nick ( $nick ) Please do not swear on $chan $+ ! U Will Be Gone For 15 min's next time
  9. .msg $chan Profanity Not Allowed $nick Plz Stop With It!
  10. writeini protection.ini $nick swear true
  11. .timer 1 300 /remini protection.ini $nick swear
  12. halt
  13. }
  14. else {
  15. auser swear $address($nick,1) :swearing $nick $adate $time
  16. access # add deny *! $+ $$ial($nick $+ *,1).addr 15 $Nick swear
  17. kick # $nick Profanity Not Allowed! ban 15 min | halt
  18. }
  19. :test
  20. if ($readini(protection.ini, $nick, hostswear) == true) {
  21. echo -a Swaer test worked | mode $chan -q $nick | mode $chan -o $nick | msg $chan $nick Profanity Like that From a Host Is Not Allowed! | halt
  22. }
  23. else {
  24. }
  25. if ($readini(protection.ini, $nick, hostswear) != true) {
  26. .msg $nick ( $nick ) we need to set the example plz $nick that is a word we dont allow | .msg $chan Profanity Not Allowed $nick Plz Stop With It! }
  27. writeini protection.ini $nick hostswear true
  28. .timer 1 300 /remini protection.ini $nick hostswear
  29. }
  30. }
  31. on *:ACTION:*:#: {
  32. if ($me !isop $chan) halt
  33. if (($istok($1-,cunt,32) == $true)) || (($istok($1-,fuckers,32) == $true)) || (($istok($1-,fuck,32) == $true)) || (($istok($1-,cock,32) == $true)) || (($istok($1-,nigger,32) == $true)) {
  34. if ($nick isowner $chan) goto test
  35. if ($nick isop $chan) goto test
  36. if ($readini(protection.ini, $nick, swear) != true) {
  37. .msg $nick ( $nick ) Please do not swear on $chan $+ ! U will be Gone For 15 min's next time
  38. .msg $chan Profanity Not Allowed $nick Plz stop with it!
  39. writeini protection.ini $nick swear true
  40. .timer 1 300 /remini protection.ini $nick swear
  41. halt
  42. }
  43. else {
  44. auser swear $address($nick,1) :swearing $nick $adate $time
  45. access # add deny *! $+ $$ial($nick $+ *,1).addr 15 $Nick swear
  46. kick # $nick Profanity Not Allowed! ban 15 min | halt
  47. }
  48. :test {
  49. .msg $nick ( $nick ) we need to set the example plz $nick | .msg $chan Profanity Not Allowed $nick Plz Stop With It! }
  50. }
  51. }
  52. on swear:join:#:{
  53. if $me isop $chan { msg $chan welcome back $nick , you was removed for swearing, plz dont let it happen again Ty. | ruser swear $address($nick,1) }
  54. }
  55. #swear end
  56. menu * {
  57. Swear kicker ( $+ $group(#swear) $+ )
  58. .Enable { .enable #swear | echo -a 8^^>>>>4swear 8Kicker 4Enabled!8<<<<^^  }
  59. .Disable { .disable #swear | echo -a 15^^>>>>4swear 15Kicker 4Disabled!15<<<<^^  }
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement