Help Topics

/alias

Create short command shortcuts that expand into longer commands or messages. For example, create /hi to automatically say hello to everyone.

Syntax

/alias /alias list /alias add <name> <expansion> /alias remove <name>

Parameters

name — Short name for the alias (letters, numbers, hyphens, underscores).
expansion — Command or text to expand to. Supports variables (see below).

How It Works

After creating an alias, type /aliasname to run it. For example, if you create an alias called hi with expansion /me says hello!, typing /hi will send the action message. You can use variables in expansions: $1 through $9 for positional arguments, $nick for your current nickname, $chan for the current channel name, and $$ for a literal dollar sign. Running /alias with no arguments opens the Aliases dialog.

Rules & Limits

  • Maximum 50 aliases per user
  • Aliases that shadow built-in commands will override them (with a warning)
  • Recursive aliases (A calls B calls A) are detected and rejected (max 5 levels)
  • Command chaining (|, &&, ;) is not allowed in expansions
  • Registered users: aliases are saved across sessions. Guests: session-only

Examples

/alias add hi /me says hello everyone! /alias add greet /me waves at $1 /alias add info /whois $1 /alias remove hi /alias list

See Also

Aliases Feature · /timer · /popups