An alias is a set of commands that you give a single name so that you can execute them all in a row.
Alias Tricks & Tips
Cycling through aliases
The following technique can be used to cycle an alias through different groups of commands, for example when idlechasing.
The main alias:
alias idling idlestuff1
The command aliases:
alias idlestuff1 pray;alias idling idlestuff2 alias idlestuff2 perform major shield on me;perform major shield on me;perform major shield on me;perform major shield on me;perform major shield on me;put shield in pack;alias idling idlestuff3 alias idlestuff3 palm purple baton from pack;hold purple baton;slip purple baton to pack;perform major shield on me;pray;alias idling idlestuff1
Each time the 'idling' alias is used, it will call an 'idlestuff' alias. When that 'idlestuff' alias finishes, it will update the 'idling' alias to point to the next 'idlestuff' alias next time 'idling' is called.
Using commands with the same name as your alias
If a rarely-used command has the same name as your alias, and you don't want to rename your alias permanently to avoid the conflict, you can use something like this:
alias noalias alias rename $1$ to _$1$; $*$;alias rename _$1$ to $1$
>syntax find You have an alias called 'find'. Forms of syntax available for the command 'find': find <player> >noalias find womble Renamed the alias "find" to "_find". Womble is not recorded as ever fighting in the arena. Renamed the alias "_find" to "find".
Quickly making temporary aliases
Occasionally you may want to perform several commands right after each other without making a permanent alias for it. In that case, something like this is helpful:
alias parse alias _parsed $*$;_parsed
It creates a temporary alias of everything you put after "parse", then executes that alias.
You use it like this:
>parse get damaged ring from pack;fix it;put it in pack
This is helpful for queuing up commands, as well as for repeating a set of commands a few times.