Send ctcp lag on connect

These are old archives. They are kept for historic purposes only.
Post Reply
Andi
Posts: 2
Joined: Mon Nov 15, 2004 8:11 pm

Send ctcp lag on connect

Post 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
Winbots
Posts: 65
Joined: Wed Apr 21, 2004 12:26 am
Location: irc://irc.winbots.org/Winbots
Contact:

Post 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!
}
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post 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...
Andi
Posts: 2
Joined: Mon Nov 15, 2004 8:11 pm

Post 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.
Post Reply