summaryrefslogtreecommitdiff
path: root/src/main/java/com/redstoner/modules/chatalias/Chatalias.cmd
blob: b84f54cafd0e588ff2c43bd3b49df30135af7a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
command alias {
    add [flag:-r] [flag:-rnd] [string:keyword] [string:replacement...] {
        help Adds a new alias. Set -r to make it a regex-alias. \nSet -rnd to make it a random alias and use `&e || &b` (with the spaces) to separate the results.;
        run addalias -r -rnd keyword replacement;
    }
    del [flag:-r] [flag:-rnd] [string:keyword] {
        help Deletes an alias. -r indicates if it was a regex-alias and -rnd indicates if it was a random-alias. ;
        run delalias -r -rnd keyword;
    }
    list {
        help Lists your aliases.;
        run listaliases;
    }
    perm utils.alias;
    type player;
}