Skip to content

Instantly share code, notes, and snippets.

@max-mapper
Created January 25, 2014 00:59
Show Gist options
  • Save max-mapper/8610086 to your computer and use it in GitHub Desktop.
Save max-mapper/8610086 to your computer and use it in GitHub Desktop.
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
Copy link

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

@Mikaela
Copy link

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
Copy link

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