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

User Name
Password
Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2005, 05:50 PM
shiah's Avatar
shiah shiah est déconnecté
Registered User
 
Join Date: Jan 2005
Location: Lebanon
Posts: 107
shiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud ofshiah has much to be proud of
Send a message via AIM to shiah Send a message via MSN to shiah
Long text/action protection

on @*:text:*:#: {
if ($nick !isreg $chan) { return }
if ($me !isop # && $len($1-) > 200) {
mode # +b $wildsite
kick # $nick banned:Long text.
}
}
on @*:action:*:#: {
if ($nick !isreg $chan) { return }
if ($me !isop # && $len($1-) > 200) {
mode # +b $wildsite
kick # $nick banned:Long text.
}
}
__________________
We enjoy warmth because we have been cold. We appreciate light because we have been in darkness. By the same token, we can experience joy because we have known sadness.
Reply With Quote
  #2  
Old 02-10-2005, 10:17 AM
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: Long text/action protection

on @*:TEXT:*:#:{
if ($nick isreg $chan) {
if ($len($strip($1-)) >= 160) {
ban $chan $nick 2
kick # $nick Rule Breakage - Text Flood Detected. 4C14ult™
}
}
}
__________________

Last edited by Cult; 03-10-2005 at 04:30 PM.
Reply With Quote
  #3  
Old 02-10-2005, 10:24 AM
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: Long text/action protection

bro Shiah,
u shecked for being oped twice!!!
like: on @*:text:*:#: { <<== in the @ u already set it to act when u`r oped only.
and in the second time. u checked if u`r oped to count the letters typed: if ($me !isop # && $len($1-) > 200) {
<<== so u checked it twice bro.
next thing. u can make: if ($nick isreg $chan) instead of if ($nick !isreg $chan) { return }
peace
__________________
Reply With Quote
  #4  
Old 02-10-2005, 12:06 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: Long text/action protection

on @*:ACTION:*:#:{
if ($nick isreg $chan) {
if ($len($strip($1-)) >= 50) {
ban $chan $nick 2
kick # $nick You Exceeded The Limit Of Action Text 4C14ult™
}
}
}
__________________

Last edited by Cult; 03-10-2005 at 04:31 PM.
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
For how long ?! Marwan The Lounge 60 25-07-2007 06:07 AM
Beckham in for the long haul (AFP) TheGodFather Sports -Warm up first! 0 27-05-2007 04:14 AM
Can Long Distance Relationships Really Work? skinner The Lounge 11 18-07-2005 07:15 AM
Company Offers Workaround for Sony's CD Copy Protection Thugilex Technical Forum, Technical Aspects and Information 0 21-06-2005 08:43 PM
Sony Testing "Sterile" CD Copy Protection Password Technical Forum, Technical Aspects and Information 0 01-06-2005 08:54 AM

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