| 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
|
||||
|
||||
|
channel join limit
This will kick users only, if they have joined more than 7 channels.
ops/voiced will not be kicked. Code:
on @*:join:#: .$+(.timerwhois,$cid,$nick) 1 4 whois $nick
raw 319:*:{
var %nochannels = $3-, %i = $comchan($2,0), %c
if ($numtok(%nochannels,32) > 7) {
while (%i) {
%c = $comchan($2,%i)
if ($2 isreg %c) && ($me isop %c) ban -k %c $2 2 You Are In Too Many Channels, Please Part Some And Rejoin.
dec %i
}
}
}
__________________
Last edited by Cult; 05-05-2006 at 08:22 AM. |
|
#2
|
||||
|
||||
|
Re: channel join limit
thios is for channels that wants to limit jonied channels for there ops. this will not kick the op.
it will notice him Code:
on @*:OP:#: .$+(.timerwhois,$cid,$nick) 1 4 whois $nick
raw 319:*:{
var %nochannels = $3-, %i = $comchan($2,0), %c
if ($numtok(%nochannels,32) > 5) {
while (%i) {
%c = $comchan($2,%i)
if ($me isop %c) NOTICE $2 2 You Are In Too Many Channels, Please Part Some.
dec %i
}
}
}
__________________
|
![]() |
| 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 |
| Users Abuse == ATTENTION === | A | #Leb -Rules And Applications | 12 | 12-04-2007 06:24 AM |
| auto join | Cult | mIRC :: SCRIPTING & HELP | 2 | 03-03-2006 06:23 PM |
| tinny auto join dialog | Cult | mIRC :: SCRIPTING & HELP | 0 | 13-09-2005 04:17 PM |
| SOP/AOP's Rules! | bilal | #Leb -Rules And Applications | 0 | 16-02-2005 05:59 AM |
| General Sops & Aops Rules | dotleb | #Leb -Rules And Applications | 0 | 09-08-2004 07:37 PM |