| Arcades | Library | Travel | MP3 | Directory | Horoscope | Downloads | Mobile | Movies | Gallery | PHP Group |
| mIRC :: SCRIPTING & HELP mIRC Scripting help, General help, Tips and Tricks! |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
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. |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
||||
|
||||
|
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 ![]()
__________________
|
|
#4
|
||||
|
||||
|
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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |