summaryrefslogtreecommitdiff
path: root/docs/help/in/alias.in
blob: e57ad1948f7057bc1c724da64f7643c72d92aa63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

%9Syntax:%9

@SYNTAX:alias@

%9Parameters:%9

    A name of the alias and the command to execute. You can prepend the alias
    with the "-" character to remove the alias; if no argument is given, your
    aliases will be displayed.

%9Description:%9

    Creates or updates an alias; you can use the ";" character to separate
    multiple commands.

    The parametesr given to the alias are expanded in "$[\d]" For example $0,
    $1, $2, $8, $12, ...

    If you don't use any parameters in your alias, all parameters will be
    automatically appended after it.

%9Examples:%9

    /ALIAS
    /ALIAS J JOIN
    /ALIAS COMEBACK SAY I was hoping for a battle of wits, but you seem to be unarmed.
    /ALIAS -COMEBACK
    /ALIAS UNACT SCRIPT EXEC \$_->activity(0) for Irssi::windows
    /ALIAS QOP ^MSG Q op $C

%9See also:%9 BIND, UNALIAS