mIRC Homepage
Posted By: andymps Channel Banning - 01/06/03 10:55 PM
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
Posted By: codemastr Re: Channel Banning - 01/06/03 11:12 PM
I guess in order to do that you'd have to define what a "channel full of trouble makers" is.
Posted By: andymps Re: Channel Banning - 01/06/03 11:21 PM
#troublers
Posted By: Raccoon Re: Channel Banning - 02/06/03 02:27 AM
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
© mIRC Discussion Forums