Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #swear on
- on *:text:*:#: {
- if ($me !isop $chan) halt
- 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)) {
- if ($nick isowner $chan) goto test
- if ($nick isop $chan) goto test
- if ($readini(protection.ini, $nick, swear) != true) {
- .msg $nick ( $nick ) Please do not swear on $chan $+ ! U Will Be Gone For 15 min's next time
- .msg $chan Profanity Not Allowed $nick Plz Stop With It!
- writeini protection.ini $nick swear true
- .timer 1 300 /remini protection.ini $nick swear
- halt
- }
- else {
- auser swear $address($nick,1) :swearing $nick $adate $time
- access # add deny *! $+ $$ial($nick $+ *,1).addr 15 $Nick swear
- kick # $nick Profanity Not Allowed! ban 15 min | halt
- }
- :test
- if ($readini(protection.ini, $nick, hostswear) == true) {
- 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
- }
- else {
- }
- if ($readini(protection.ini, $nick, hostswear) != true) {
- .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! }
- writeini protection.ini $nick hostswear true
- .timer 1 300 /remini protection.ini $nick hostswear
- }
- }
- on *:ACTION:*:#: {
- if ($me !isop $chan) halt
- 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)) {
- if ($nick isowner $chan) goto test
- if ($nick isop $chan) goto test
- if ($readini(protection.ini, $nick, swear) != true) {
- .msg $nick ( $nick ) Please do not swear on $chan $+ ! U will be Gone For 15 min's next time
- .msg $chan Profanity Not Allowed $nick Plz stop with it!
- writeini protection.ini $nick swear true
- .timer 1 300 /remini protection.ini $nick swear
- halt
- }
- else {
- auser swear $address($nick,1) :swearing $nick $adate $time
- access # add deny *! $+ $$ial($nick $+ *,1).addr 15 $Nick swear
- kick # $nick Profanity Not Allowed! ban 15 min | halt
- }
- :test {
- .msg $nick ( $nick ) we need to set the example plz $nick | .msg $chan Profanity Not Allowed $nick Plz Stop With It! }
- }
- }
- on swear:join:#:{
- 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) }
- }
- #swear end
- menu * {
- Swear kicker ( $+ $group(#swear) $+ )
- .Enable { .enable #swear | echo -a 8^^>>>>4swear 8Kicker 4Enabled!8<<<<^^ }
- .Disable { .disable #swear | echo -a 15^^>>>>4swear 15Kicker 4Disabled!15<<<<^^ }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement