mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2004
Posts: 1
N
Newby Offline OP
Mostly harmless
OP Offline
Mostly harmless
N
Joined: Apr 2004
Posts: 1
Hello...I am new to the mIRC...I just need to know the command I can use to ban a user by his IP address, rather than his Nickname...I've been searching for that in the ircq help..but all i found was for banning nicknames...Plz help ASAP...thanks in advance!

Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
You can use this:

/mode #channel +b *!*@ip.of.user.here

Example:

/mode #mIRC +b *!*@123.456.789.012

If the hostname has resolved it would be easier to just ban the hostname with:

/ban #channel nickname 2

You can also use the -k switch in the above command if you're on mIRC 6.1 or above, this will kick the user aswell as ban them (i.e. /ban -k #channel nickname 2 kick-message)

This bans whatever is after the @ in their whois (/whois nickname. You can put this in Aliases which will ban a user by their hostname/IP much more quickly than always typing out the above command:

kb ban $chan $1 2 | kick $chan $1 $2-

To put this in Aliases press ALT+D and put the code on a new line. To use it, simply type /kb nickname reason-here.

There's quite a good document here about being an OP and also has help on "advanced" banning.

Hope this helps smile

Regards,


Mentality/Chris

Link Copied to Clipboard