mIRC Home    About    Download    Register    News    Help

Print Thread
#131330 28/09/05 03:30 PM
Joined: Sep 2005
Posts: 4
E
Self-satisified door
OP Offline
Self-satisified door
E
Joined: Sep 2005
Posts: 4
hi
can somebody help me with a banscript
its for banning a person everytime he joins my irc channel and he got a dynamic ip , i am really bored banning him manually everytime and i don't really know how you write such kind of script
many many thx in advance

#131331 28/09/05 03:51 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
First, you need some way that you can tell it is the same person. Do they use the same nick? The same ident? Almost the same host?

We need a way to tell the ban that it is the same person.


Invision Support
#Invision on irc.irchighway.net
#131332 28/09/05 04:13 PM
Joined: Sep 2005
Posts: 4
E
Self-satisified door
OP Offline
Self-satisified door
E
Joined: Sep 2005
Posts: 4
he allways has the same nickname , its on quakenet so his auth name is allways the same

#131333 28/09/05 04:40 PM
Joined: Jan 2004
Posts: 509
L
Fjord artisan
Offline
Fjord artisan
L
Joined: Jan 2004
Posts: 509
Ban by nick.

on @*:join:#yourchannel: if ($nick == NickToBan) { /ban, /mode, etc. | /kick etc. }

Though since this is a wildcard (*) better put tht in it's own file sheet.

#131334 28/09/05 04:56 PM
Joined: Sep 2005
Posts: 4
E
Self-satisified door
OP Offline
Self-satisified door
E
Joined: Sep 2005
Posts: 4
so like this

on @*:join:#ua.to: if ($nick == CoLdAsSauLt) { /ban }

#131335 28/09/05 05:15 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Easier to just set a global ban on the nick rather than banning all the different addresses...

/ban nick!*@*

Or, if ident is the same, but nick might change:

/ban *!*ident@*

Just make sure you don't ban him while he is in the channel. If he sees what the ban looks like, he can easily know how to bypass it. Usually people don't think to change their idents if they don't know the ban is on their ident, for example.


Invision Support
#Invision on irc.irchighway.net
#131336 28/09/05 08:41 PM
Joined: Sep 2005
Posts: 4
E
Self-satisified door
OP Offline
Self-satisified door
E
Joined: Sep 2005
Posts: 4
don't understand it ... i am kinda noobish in this kind of stuff

#131337 28/09/05 08:55 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Just type either of those ban lines I mentioned (replacing nick or ident with the person's nick/ident info).


Invision Support
#Invision on irc.irchighway.net
#131338 28/09/05 09:52 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
in mIRC type /help $nick
then also /help $address
and read the section on $mask too

if that isnt clear to you try typing this in channel

//echo -a my nick!USER@host address is $address($me,5)

note: the useage of two // is important


Link Copied to Clipboard