|
Joined: Mar 2003
Posts: 3
Self-satisified door
|
OP
Self-satisified door
Joined: Mar 2003
Posts: 3 |
Is there a Script to kick & ban a particular IP address when you don't know the NICK,, Like a...
on 1:Join:#: /mode # +b xxx.xxx.xxx.xxx | /kick # xxx.xxx.xxx.xxx
Now I know the above script doesn't work ,, well it half works it bans the IP ,, but the Person with the IP stays in the room therefore they are not KICKed after the ban.
or if someone knows how a person WITH a BANNED NICK is getting into my room USING Their BANNED NICK how can I prevent them from getting in with so called BANNED NICK,, Thanx in advance,,
Cusco:
|
|
|
|
Joined: Dec 2002
Posts: 332
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 332 |
perhaps try actually banning the nick rather than the IP number
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
/ban <nickname> 2
Or...
/ban *!*@ $+ $address
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
ON *:JOIN:#: {
if ($address == 111.222.333.444) {
ban # *!*@111.222.333.444
kick # $nick Lusers arn't welcome on #Blah
}
}
|
|
|
|
Joined: Dec 2002
Posts: 1,922
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 1,922 |
Since $address returns the user mask in a user [/b]@[b]host form, it can't match an exact IP address. $site is what you need
|
|
|
|
Joined: Dec 2002
Posts: 2,985
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
Quite true. In my experience I would use ChanServ to kick a static IP and free up mIRC bot resources for other things. Anyway, some amended c0de: ON *:JOIN:#: {
if ([color:orange]$site[/color] == 111.222.333.444) {
ban # *!*@111.222.333.444
kick # $nick Lusers arn't welcome on #Blah
}
}
|
|
|
|
Joined: Mar 2003
Posts: 3
Self-satisified door
|
OP
Self-satisified door
Joined: Mar 2003
Posts: 3 |
Hmmm Interesting ,, but I can't seem to get it to ban the IP in Question, I have tested with a buddy's IP & he still gets into the Channel.
& to Add I have BANNED the offender's NICK, & he is still getting thru the DOOR with his BANNED NICK,, MY problem hasn't been solved cept I still KICK & BAN HIS A$$ everytime he comes in & this is becoming annoying, anyone know how he is getting thru the DOOR with a BANNED NICK.
I have figured out how he gets in with a NEW IP , he leaves & changes his IP ,, that is nothing new. But when He MOCKS me with his BANNED NICK & says YOU CAN NOT KEEP ME OUT,, it's real ANNOYING.
Well thanx guys for the Help anyways I guess I will have to try somewhere else for the info.
|
|
|
|
Joined: Dec 2002
Posts: 332
Fjord artisan
|
Fjord artisan
Joined: Dec 2002
Posts: 332 |
you might look into the nick itself for alternate characters replacing I ( i ) with l ( L ) etc .
|
|
|
|
Joined: Mar 2003
Posts: 3
Self-satisified door
|
OP
Self-satisified door
Joined: Mar 2003
Posts: 3 |
Thanx Cheech really but I have tried many different versions of his nick including banning the one he is using when he comes in & I can manually kick/ban him all I want but he keeps coming back & he does brag he has script that forces him thru BANS when he enters rooms,, DAMN him anyways.
Sure wish I had his script to find a defence. Thanx again
|
|
|
|
|