Page 1 of 1

Send ctcp lag on connect

Posted: Mon Nov 15, 2004 8:20 pm
by Andi
Hi,

i'm looking for a script that automatically sends a CTCP LAG Request to the user when he joins the network. If the User answers to this Request, he shall be glined, else there's noting to do.
Should be so hard. Sorry but i can't code in c, but i get m extremly when i see the "XDCC Catcher" connecting with hundrets of clients on my network.
The new version is easy to ban, with a ban version block in the conf.
But the old version have no version reply, only a reply to lag. So in my eyes this is the only way to "catch" them :)

Think this would interes lots of people. I'm sure I'm not the only one with this problem.

Thanks alot for all comments and sorry for my bad english :)

Andi

Posted: Tue Nov 16, 2004 1:10 am
by Winbots
i think you are looking for my anti-'undetectable'-bottler script........

Code: Select all

; Made by Cobi @ irc.winbots.org
; Please don't remove these two lines.
on 1:SNOTICE:*Notice -- Client connecting on port*:{
  bottlercheck $9
}
on 1:SNOTICE:*Notice -- Client connecting at *:{
  bottlercheck $8
}
alias bottlercheck {
  .ctcp $1 LAG
  .timer 1 60 .ctcp $1 LAG
}
on 1:ctcpreply:LAG*:{
  .raw gline $nick 24h :AHA! a bottler!
  .kill $nick AHA! a bottler!
}

Posted: Tue Nov 16, 2004 2:31 am
by aquanight
There's no need to use /kill after the gline. When a gline is added all matching users are dropped anyway. Though the kill could be used to ensure it's not covered by an except tkl...

Posted: Tue Nov 16, 2004 1:06 pm
by Andi
Thank you Winbots for you purpose.

But i'm sorry this is not what i need. I already scriptet such a snippet in mirc myself. This is rather easy. But the disadvantage of this solution is that i can't always be online.
That's why i'm looking for a unrealircd-module.

But thanks anyway for your help.