IRC OP PROTIPS
check if the nick of the user is registered with
/msg nickserv info <name>
if it is registered, you can use:
/msg chanserv akick #channelname add <name>
and then chanserv will automagically add the IP bans when they join
to add a ban for a specific IP address, just use:
/mode #channelname +b *!*@<ip>
to explain, the mask format is nick!user@host
/whois foo
return something like:
15.09.15] [freenode] »¡« foo ~foo@unaffiliated/foo
[15.09.15] [freenode] »¡« ircname : Foo Bar
the server will respond with several lines of information you can /whois anyone who is currently online and some servers will give you a whowas for people who recently disconnected
another nice trick for when a troll is trying to evade bans is to use the realname ban
it shows my 'ircname' as Foo Bar
you can do /mode #channelname +b ~r:Foo*Bar
the ~r:
tells the server that you are matching on realname and not userhost mask
@maxogden This should be $r, instead of ~r (at least, on freenode).