mIRC Home    About    Download    Register    News    Help

Print Thread
#27562 01/06/03 10:55 PM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
Is It possible to make a script so when somone joins a channel, if they r on a channel full of trouble makers is, to kick and ban them automaticaly


Liek OMG Yuo Stoleded my MageHurtzzzz!!!11
#27563 01/06/03 11:12 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
I guess in order to do that you'd have to define what a "channel full of trouble makers" is.

#27564 01/06/03 11:21 PM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
#troublers


Liek OMG Yuo Stoleded my MageHurtzzzz!!!11
#27565 02/06/03 02:27 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
It's possible to make a script that performs a /whois on everyone who joins (usually a minute or so after they join to count out users who part quickly), and if the channel is in the RAW 319 response, you can kick that user.

On @*:JOIN:#Hatfields: .timer 1 60 if ( $nick ison $chan ) WHOIS $nick

RAW 319:*: if ( $2 ison #Hatfields ) && ( #McCoys isin $3- ) && ( $me isop #Hatfields ) { ban -u60 #Hatfields $2 3 | kick #Hatfields $2 Get off my land! }

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!

Link Copied to Clipboard