| 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
|
||||
|
||||
|
on @*:TEXT:*:#:{
if ($nick isreg $chan) if ($calc($len($1-) - $len($strip($1-))) >= 10) { if ($me isop $chan) { if ($nick ison $chan) { ban -k # $nick Excess Use Of CTRL CODES. mode $chan +bMR $mask($fulladdress,2) timer 1 2 freezeoff } } } } on @*:NOTICE:*:#:{ if ($nick isreg $chan) if ($calc($len($1-) - $len($strip($1-))) >= 10) { if ($me isop $chan) { if ($nick ison $chan) { ban -k # $nick Excess Use Of CTRL CODES. mode $chan +bMR $mask($fulladdress,2) timer 1 2 freezeoff } } } } on @*:ACTION:*:#:{ if ($nick isreg $chan) if ($calc($len($1-) - $len($strip($1-))) >= 10) { if ($me isop $chan) { if ($nick ison $chan) { ban -k # $nick Excess Use Of CTRL CODES. mode $chan +bMR $mask($fulladdress,2) timer 1 2 freezeoff } } } } alias freezeoff { timer 1 0 remote off timer 1 20 remote on mode $chan -MR }
__________________
Last edited by Cult; 21-08-2005 at 08:45 AM. |
|
#2
|
||||
|
||||
|
Re: Control Codes Channel Protection.
This code is better, same.. just some editions
Code:
on @*:TEXT:*:#:actfreeze $1-
on @*:NOTICE:*:#:actfreeze $1-
on @*:ACTION:*:#:actfreeze $1-
alias actfreeze {
if ($nick isreg $chan) {
if ($calc($len($1-) - $len($strip($1-))) >= 20) {
if ($me isop $chan) {
if ($nick ison $chan) {
kick $chan $nick Excess Use Of CTRL CODES. 4C14ult
mode $chan +b $mask($fulladdress,2)
if (MR !isincs $chan(#).mode) {
mode $chan +MR
$+(.,timer,munset,.,$chan) 1 20 mode $chan -MR
}
}
}
}
}
}
__________________
Last edited by Cult; 23-11-2005 at 07:54 AM. |
|
#3
|
||||
|
||||
|
Re: Control Codes Channel Protection.
umm this is faster
Code:
on @*:TEXT:*:#:actfreeze $1-
on @*:NOTICE:*:#:actfreeze $1-
on @*:ACTION:*:#:actfreeze $1-
alias actfreeze {
if ($nick isreg $chan) {
if ($calc($len($1-) - $len($strip($1-))) >= 20) {
if ($nick ison $chan) {
kick $chan $nick Excess Use Of CTRL CODES. %logo
mode $chan +bMR $mask($fulladdress,2)
$+(.,timer,munset,.,$chan) 1 20 mode $chan -MR
}
}
}
}
__________________
|
|
#4
|
||||
|
||||
|
Re: Control Codes Channel Protection.
Code:
on @*:TEXT:*:#: if ($len($strip($1-)) < 20 ) actfreeze $1-
on @*:NOTICE:*:#: if ($len($strip($1-)) < 20 ) actfreeze $1-
on @*:ACTION:*:#: if ($len($strip($1-)) < 20 ) actfreeze $1-
alias actfreeze {
if ($nick ison $chan) && ($nick isreg $chan) kick $chan $nick Excess Use
Of CTRL CODES. %logo
mode $chan +bMR $mask($fulladdress,2)
$+(.,timer,munset,.,$chan) 1 20 mode $chan -MR
}
not tested yet
__________________
|
![]() |
| 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 |
| [Request] Channel Flood Protection | AYEHAN | mIRC :: SCRIPTING & HELP | 12 | 07-04-2006 06:34 PM |
| Microsoft Color Control Panel Applet for Windows XP | Thugilex | Technical Forum, Technical Aspects and Information | 0 | 01-11-2005 07:18 PM |
| Another Control Codes Flood Protection. ( simple one ) | Cult | mIRC :: SCRIPTING & HELP | 1 | 19-08-2005 12:36 PM |
| Sony Testing "Sterile" CD Copy Protection | Password | Technical Forum, Technical Aspects and Information | 0 | 01-06-2005 08:54 AM |
| General Sops & Aops Rules | dotleb | #Leb -Rules And Applications | 0 | 09-08-2004 07:37 PM |