mIRC Home    About    Download    Register    News    Help

Print Thread
#35437 10/07/03 04:17 PM
Joined: Jun 2003
Posts: 11
P
Pikka bird
OP Offline
Pikka bird
P
Joined: Jun 2003
Posts: 11
Hi Guys & Gals,

Can anyone tell me how i can kick multiple names in a room for example. If i want to kick out chatter 1 and chatter 2 at the same time.

/kick #channel chatter1|chatter2 <reason>

something like that maybe ?

or even better is there a way where i can kick a certain mask such as kick anyone with the same IP addy .?

Thanks


#35438 10/07/03 04:21 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
/kick #channel $nick1 | kick #channel $nick2 | kick #channel $nick3

You can't kick via IP and you can't include wildcards.

#35439 10/07/03 04:42 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
you could use a command to kick selected nicks in the nicklist,
menu nicklist {
Kick Selected: kick # $snicks
}
put in remote.

Last edited by pheonix; 10/07/03 04:42 PM.

new username: tidy_trax
#35440 11/07/03 03:37 PM
Joined: May 2003
Posts: 161
A
Vogon poet
Offline
Vogon poet
A
Joined: May 2003
Posts: 161
On some networks, it's possible to do it in one command by seperating nicks with a comma, like /kick #chan nick1,nick2,nick3,nick4 Reason

#35441 11/07/03 03:45 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
an example of a wildcard kick:

alias wkick {
var %i 1
while (%i <= $nick($chan,0)) {
if (* $+ $1 $+ * iswm $nick($chan,%i)) {
kick # $nick($chan,%i)
}
inc %i
}
}

/wkick ee wud kick anyone with ee in their name.


new username: tidy_trax
#35442 12/07/03 07:10 PM
Joined: Jun 2003
Posts: 11
P
Pikka bird
OP Offline
Pikka bird
P
Joined: Jun 2003
Posts: 11
Thanks for all your replies

Pheonix, your wildcard kick is great mate just what i was after.
Beers are on me blush)


#35443 12/07/03 07:14 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
np smile


new username: tidy_trax

Link Copied to Clipboard