Page 1 of 1

Auto Kline on BAD channel

Posted: Tue Jan 16, 2007 8:45 pm
by romeo32149
Anyone have any help or suggestions to JUPE or 'auto kline' users when they join a specific channel.

Problem is:

Bots join bad channel automatically, and if I can auto-kline this should resolve temporarily unless they switch channel names. ---

I've tried spamfilter, but just putting the channel doesnt work.

Posted: Tue Jan 16, 2007 11:16 pm
by Jobe
Have you tried a deny channel block?

Posted: Wed Jan 17, 2007 12:07 am
by romeo32149
Jobe1986 wrote:Have you tried a deny channel block?
Unfortunately and correct me if Im mistaken,

This only will cause the user not to be able to USE the channel listed in the Deny block.

I am attempting to AUTO K:LINE or G:LINE based on channel join and not really prevent the use of the channel.

KLINES

Posted: Wed Jan 17, 2007 3:40 am
by romeo32149
romeo32149 wrote:
Jobe1986 wrote:Have you tried a deny channel block?
Unfortunately and correct me if Im mistaken,

This only will cause the user not to be able to USE the channel listed in the Deny block.

I am attempting to AUTO K:LINE or G:LINE based on channel join and not really prevent the use of the channel.
I was able to use the following mIRC script, but Im looking for a server solution if anyone has any... for UnrealIRCd.

Code: Select all

on *:join:#botchannel:{ raw userip $nick }
raw 340:*: { if ($gettok($1-,1,61) != AdminNickname) { kline *@ $+ $gettok($1-,2,64) your nick has been auto klined for abuse } }


Posted: Wed Jan 17, 2007 3:46 am
by BigBen
if you want the user to be klined or glined, just find him entering the channel, and set a k:line or G:line to ban the user.

Posted: Wed Jan 17, 2007 3:57 am
by romeo32149
BigBen wrote:if you want the user to be klined or glined, just find him entering the channel, and set a k:line or G:line to ban the user.
Oh, just as a 'auto' solution.
I did not want to do this PER user for hundreds. (spam bots)

Posted: Wed Jan 17, 2007 1:08 pm
by Jobe
It could be possible to write a tcl script for an eggie that can sit in the channel you want and every time a user join the eggie GZline's the user.

Unfortunatly that requires the eggie being oper'ed which isnt a good idea in case the eggie becomes compromised.