mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
I just saw an action taken by a @ from a channel (no irc operator):
Example pepito typed: !kb Maria

Result:
Quote:
pepito add mode [+b *!*@A1KZQ3.DiGY0Z.virtual ]
pepito add mode [+b Maria!*@* ]
CHaN add mode [+b *!android@159.33.21.* ]
Maria has been expelled for CHaN [[2] pepito -> breach of rules ]


The third ban the bot gives is the real ip... it is ovious that an akick is done throgh a comand. but what I don't understand is how I can get the real IP without the user coming in to the channel?

I was able to take the first two bans
Code:
if ($1 == !kb) { 
    mode $chan +b $address($2,2)
    mode $chan +b $2
    **missing command AKICK**
} 


Would fail me to know how to give the 3rd ban (akick) so you give it to the ident and real ip.


Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
It's possible the bot is in another channel that sees the user. It's possible that the bot saw the user speak in another channel or privately (eg, CTCP Ping'd the bot?). It's possible that the bot performed a lookup on the user to acquire its address or nslookup to resolve his IP.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
Dear, who performs the action of ban is a person not a bot.

I'm sure it's a script because it does with anyone at any time, the person performing the action is only in its channel does not have access to look elsewhere real ip user.

That line should I include in my code to perform this action?

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
Obviously there's some mechanism exposed to channel operators (or implemented automatically by the network) which prompts a ban of the unmasked address, however this can vary from network to network and is not related to mIRC. Ask about it on that network.

Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
Originally Posted By: Loki12583
Obviously there's some mechanism exposed to channel operators (or implemented automatically by the network) which prompts a ban of the unmasked address, however this can vary from network to network and is not related to mIRC. Ask about it on that network.


It is in the chathispano network, and I asked help and do not know.

The format of the ban is obviously a AKICK.

I thought that reading the information we send the bot CHaN of akick there was some way to take that ban to the real ip, in real time.

Last edited by JuanAm; 24/02/15 10:45 PM.
Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
It's not obviously anything, because services are not identical across networks. That appears to be just a normal channel ban. If the user has a hostmask there is no way to retrieve the real address unless you're a network operator or its exposed otherwise by services - which again we cannot help you with.

Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
I know the bots that network, and that the last ban is a akick.
It has the format that gives Chan in akick and also, if you look carefully, we see that the operator does not give him (pepito) but gives what Chan, for an operator command.

Joined: Nov 2014
Posts: 149
J
JuanAm Offline OP
Vogon poet
OP Offline
Vogon poet
J
Joined: Nov 2014
Posts: 149
Solved.

Solution: Patience and reading helps bots.


Link Copied to Clipboard