Skip to content

Instantly share code, notes, and snippets.

@jjasghar
Forked from awaxa/channel-op-cheatsheet.md
Last active May 17, 2023 07:52
  • Star 25 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jjasghar/257263196a8219490252 to your computer and use it in GitHub Desktop.
IRC cheatsheet

channel operator quick reference

direct discussion about administrative action away from the main channel and into #reddit-diabetes-ops to minimise disruption. our -ops channel is the place where users should come to ask for our help. examples:

  • any sort of operator request or discussion of channel administration in the main channel
  • PMs asking why a ban was set
  • reports of harassment (unless the user is confiding in you)
  • any request for operator action

changing channel access permissions

  • consider a mute instead of setting a ban, unless they are an obvious troll/flooder/spammer
  • a /kick without a ban can be used as a warning
  • if a ban is necessary, try to keep your nick from publicly appearing as the user who set the ban. this is especially important if you have interacted with the user in the channel, to prevent any suspicion of bias. using chanserv for enforcement accomplishes this nicely.

hostmasks

  • about hostmasks https://en.wikipedia.org/wiki/Internet_Relay_Chat#Hostmasks
  • to ban a user by IP address, use a hostmask like *!*@1.2.3.4 or *!*@ip-4-3-2-1.city.dynamic.someisp.net
  • think twice before setting bans for pools of ip addresses with masks like *!*@1.2.3.* or *!*@*.someisp.net, but if abuse is persistent and correlates strongly with the pool it is better to set a ban that is too broad than too narrow and refine it after you have regained control of the channel

the copypasta

note that requesting chanserv to do anything will require you to be authenticated to your nickserv

  • to op yourself: /msg chanserv op #reddit-diabetes
  • to deop yourself: /msg chanserv deop #reddit-diabetes
  • to remove an op mode (requires op): /mode #reddit-diabetes -o clarksonguy04
  • to remove an op mode for up to four users at once (requires op): /mode #reddit-diabetes -oooo Ariensus dosman711 clarksonguy04 awaxa your nick must be last if deopping yourself along with others
  • to set the channel topic: /msg chanserv topic #reddit-diabetes Welcome to the /r/diabetes IRC channel. Please interrupt any off-topic discussion if you would like to talk about diabetes.
  • to append to the channel topic: /msg chanserv topicappend #reddit-diabetes FYI about recent abusive intrusions: http://git.io/zrffqw
  • to prepend to the channel topic: /msg chanserv topicprepend #reddit-diabetes FYI about recent abusive intrusions: http://git.io/zrffqw
  • to set the topic manually (requires op): /topic FYI about recent abusive intrusions: http://git.io/zrffqw
  • to kick a user out of the channel (requires op): /kick nick
  • to mute a user: /msg chanserv quiet #reddit-diabetes nick!ident@ip.ad.dr.ess
  • to unmute a user: /msg chanserv unquiet #reddit-diabetes nick!ident@ip.ad.dr.ess
  • to list muted users: /mode #reddit-diabetes +q
  • to set a mute mode (requires op): /mode #reddit-diabetes +q nick!ident@ip.ad.dr.ess
  • to ban a user: /msg chanserv akick #reddit-diabetes add nick!ident@ip.ad.dr.ess ban reason | private notes
  • to unban a user: /msg chanserv akick #reddit-diabetes del nick!ident@ip.ad.dr.ess
  • to list bans: /msg chanserv akick #reddit-diabetes list
  • to list ban modes: /mode #reddit-diabetes +b
  • to set a ban mode (requires op): /mode #reddit-diabetes +b nick!ident@ip.ad.dr.ess

handling troll/flood barrages

  • remember that this is irc and people are not going to die if they get spammed a little bit
  • try to handle it with quick /kick commands and subsequent akick rules
  • contact other ops for help
  • if you are overwhelmed, you can regain some stability by muting unregistered users with /mode #reddit-diabetes +q $~a while you ban the ip addresses that the troll is wielding. if you need to do this, throw this link in the topic to explain the situation: http://git.io/zrffqw
  • if the channel is deluged with joins/parts you can temporarily block unregistered users from joining the channel with /mode #reddit-diabetes +r

resources for operator advice

reference information to link to users

@matham
Copy link

matham commented Aug 1, 2018

To after blocking unregistered users from posting with the above command, to unblock I'm guessing /mode #reddit-diabetes -q $~a will do the trick?

@alick
Copy link

alick commented Aug 14, 2018

@matham You are right!

Copy link

ghost commented Oct 15, 2018

this information has helped me a lot, thanks!

@AImissq
Copy link

AImissq commented Mar 22, 2020

very useful helped me setup #ircclientsdiscussion

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