Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
IRC OP protips

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

@an-empty-string

This comment has been minimized.

Show comment
Hide comment
@an-empty-string

an-empty-string Apr 2, 2014

@maxogden This should be $r, instead of ~r (at least, on freenode).

@maxogden This should be $r, instead of ~r (at least, on freenode).

@Mikaela

This comment has been minimized.

Show comment
Hide comment
@Mikaela

Mikaela Sep 27, 2015

if it is registered, you can use: /msg chanserv akick #channelname add and then chanserv will automagically add the IP bans when they join

this requires the op to have +rf flags with services which aren't so common as +f allows modifying the access list and thus making other people ops too.

Mikaela commented Sep 27, 2015

if it is registered, you can use: /msg chanserv akick #channelname add and then chanserv will automagically add the IP bans when they join

this requires the op to have +rf flags with services which aren't so common as +f allows modifying the access list and thus making other people ops too.

@Fishrock123

This comment has been minimized.

Show comment
Hide comment
@Fishrock123

Fishrock123 Feb 10, 2016

Mikaela, OPs on freenode should have +AOefortv -- +o actually does very little on freenode. (I'm not going to list what those are, but it's what we use for #node.js and #node-dev, and I researched it thoroughly beforehand.)

Mikaela, OPs on freenode should have +AOefortv -- +o actually does very little on freenode. (I'm not going to list what those are, but it's what we use for #node.js and #node-dev, and I researched it thoroughly beforehand.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment