Chris Rivers

HipTip: Slash commands

By Chris Rivers | 1 year ago | 11 Comments |

Today, we bring you another HipTip that anyone coming from the world of IRC should enjoy. While keyboard shortcuts are great for most things, sometimes you need to add a little context to your commands. Enter slash commands.

All HipChat slash commands take the form “/<command> <argument>”:

  • /join <room name> - This will let you into any pre-existing room, but since HipChat rooms have fairly loose naming conventions (we allow things like spaces and non-alphanumeric characters), we generally suggest using the ctrl-j shortcut instead. Still, if you just can’t give up your IRC-style navigation, it can be helpful.
  • /part - Leave the room you’re currently in.
  • /available | /back | /here <msg> - Shortcut for setting your status to available (green bubble). The <msg> part is optional.
  • /away <msg> – Set your status to away (yellow bubble). In appearance, this is the same as going idle, except it doesn’t automatically return your status to ‘available’ when you come back.
  • /dnd <msg> - Set status to do not disturb (red bubble)
  • /topic <msg> - Set the topic for the current room (just like if you hit ctrl-t or double clicked on the topic bar and typed something in)

If there are any other slash commands that you wish HipChat had, let us know. We know how hard it can be to switch from another system for internal communication and we’re always looking for ways to improve workflows for people coming from other chat products.

Try HipChat with your team and get more done faster. Learn more
  • Ryan

    You forgot to highlight my favorite:
    /me wants a cookie!

  • Jon

    What about a /msg to private message a person while in a room?

  • rz

    +1 for /msg

  • cb

    +1 for /msg

  • jbellis

    Would love /clear.

  • http://www.facebook.com/ChrisSuire Chris Suire

    /? and /help to list all slash commands.
    UI option to prevent slash commands that do not exist from posting to the channel.

  • Anonymous

    Is this updated? New to hipchat, wondering if there are more IRC commands.

  • http://www.hipchat.com/ Chris Rivers

    The most up-to-date list of slash commands can be found at https://www.hipchat.com/help/page/slash-commands

  • Paul Hepworth

    I would like /play so I can play sounds like campfire.

  • http://www.facebook.com/franklin.webber Franklin Webber

    How would someone perform these commands through a jabber client? 

    I tried setting the topic and the message sent to the channel is the literal text ‘/topic my message that will become a title’.

  • http://powdahound.com Garret Heaton

    It would need to be supported by the client you’re using. Our clients just detect when your message starts with “/topic” and send a special change-the-topic command to the server (details in XMPP spec).