# Working with IRC commands

> A practical command reference, with the complete historical catalog close at hand.

Enter slash commands in Textual's input field. Some operate on the selected connection or channel, some take an explicit target, and others are provided by scripts or addons rather than the IRC network itself.

## Everyday commands

| Command | Purpose |
| --- | --- |
| `/join #channel` | Join a channel on the selected connection |
| `/part #channel` | Leave a channel |
| `/query nickname` | Open a private conversation |
| `/msg nickname message` | Send a private message to a nickname |
| `/me action` | Send an action to the selected conversation |
| `/topic` | Work with the selected channel's topic, subject to permissions |
| `/clear` | Clear the selected view's scrollback |
| `/quit` | Disconnect from IRC |

Channel and network permissions still apply. An alias or addon may also change how a command is handled, so consult its documentation if behavior differs from the built-in command.

## Commands with broader effects

Commands such as `/amsg` and `/ame` can send to multiple channels, while raw or quote commands send protocol input with less interpretation by Textual. Read their full descriptions and confirm the selected connection before using them.

Information commands may publish app names, system details, open pages or file information into a conversation. A useful debugging command can also be an accidental overshare when used in the wrong window.

## The complete command catalog

The [original command reference](https://www.textualapp.com/docs/legacy/reference/commands) preserves **all 107 entries**, including aliases, channel-operator commands, notification commands, ZNC commands, Blowfish commands and script integrations. The complete syntax and caveats are readable without JavaScript, and old `#cr=` section links remain meaningful there.

The catalog includes historical integrations such as Rdio, Instacast and iTunes-related scripts. It records what existed, rather than claiming that every external app or optional command is available today.

## Scripting and automation

A script's filename determines its command name, and each returned line can become another command or message. Read the [scripting guide](https://www.textualapp.com/docs/developers/scripts) and keep untrusted chat input out of shell execution or automatic moderation actions.
