Tchatting.com Forums
mIRC :: SCRIPTING & HELP mIRC Scripting help, General help, Tips and Tricks!

User Name
Password
Reply
 
Thread Tools Display Modes
  #1  
Old 08-09-2005, 01:35 PM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,124
Cult is a jewel in the roughCult is a jewel in the roughCult is a jewel in the rough
Send a message via MSN to Cult
Exclamation Swear Prot.

Small snippet That Protects The Channel`s Main From Swearing. it won`t kick ops.
paste it in u`r remotes, save it and exit.


on @*:TEXT:*:#:{
if ($regex($1-,/(fuck|cunt|slut|porn|pussy|whore|wh0re|whor3|wh0r3 |bitch|b1tch|vagina|charmota|sharmouta|sharmota|ch armouta|biatch|airy|airo|kiss imak|kiss immak)/i)) {
if ($nick !isreg $chan) { return }
ban -k # $nick 2 Swearing Is Not Allowed In $chan
}
}
__________________
Reply With Quote
  #2  
Old 08-09-2005, 01:41 PM
anmlhckr's Avatar
anmlhckr anmlhckr est déconnecté
Scripting Mod
 
Join Date: Jan 2005
Location: LB
Posts: 163
anmlhckr will become famous soon enoughanmlhckr will become famous soon enough
Send a message via MSN to anmlhckr Send a message via Yahoo to anmlhckr
Re: Swear Prot.

Please no badwords in here lol :p, anyway nice way, but please stop repeating the same remotes in different ways.
__________________
Me here, Me gone.
Reply With Quote
  #3  
Old 08-09-2005, 01:46 PM
A's Avatar
A A est déconnecté
Media Manager/Editor
 
Join Date: Aug 2004
Location: USA
Posts: 1,532
A has a reputation beyond reputeA has a reputation beyond reputeA has a reputation beyond reputeA has a reputation beyond reputeA has a reputation beyond reputeA has a reputation beyond reputeA has a reputation beyond reputeA has a reputation beyond reputeA has a reputation beyond reputeA has a reputation beyond reputeA has a reputation beyond repute
Send a message via MSN to A
Re: Swear Prot.

Simply without using the bad words here on the forum , we could go like :

Code:
on @*:TEXT:*:#:{
if ($regex($1-,/(word1|word2|word3|word4|word5|word6)/i)) { 
if ($nick !isreg $chan) { return }
ban -k # $nick 2 Swearing Is Not Allowed In This Channel $chan 
} 
}
......
you could add as much as you want words , just replace word1,word2 ...etc with the bad word u scare from
__________________
Regards,
--== ALI ==--
Reply With Quote
  #4  
Old 08-09-2005, 02:05 PM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,124
Cult is a jewel in the roughCult is a jewel in the roughCult is a jewel in the rough
Send a message via MSN to Cult
Re: Swear Prot.

aTe bro it`s just a sample. users can add whatever words they want..
__________________
Reply With Quote
  #5  
Old 21-11-2005, 07:52 PM
Cult's Avatar
Cult Cult est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 2,124
Cult is a jewel in the roughCult is a jewel in the roughCult is a jewel in the rough
Send a message via MSN to Cult
Re: Swear Prot.

same as above... editted

Code:
on @*:TEXT:*:#:bwords $1-
on @*:NOTICE:*:#:bwords $1-
on @*:ACTION:*:#:bwords $1-

alias bwords {
  if ($regex($1-,/(fuck|cunt|slut|porn|pussy|whore|wh0re|whor3|wh0r3 |bitch|b1tch|vagina|charmota|sharmouta|sharmota|ch armouta|biatch|airy|airo|kiss imak|kiss immak)/i)) { 
    if ($nick !isreg $chan) { return }
    ban -k # $nick 2 Swearing Is Not Allowed In $chan 
  } 
}
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Swear Kicker Cult mIRC :: SCRIPTING & HELP 8 01-02-2006 09:25 AM
mass notice prot. Cult mIRC :: SCRIPTING & HELP 20 14-03-2005 02:10 PM
mass kick prot Cult mIRC :: SCRIPTING & HELP 0 24-02-2005 04:34 PM

All times are GMT. The time now is 09:06 AM.
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
All data and information are copyright of DOTLeb Network