Aliases

From ScapeFX Wiki

Jump to: navigation, search

Aliases can be used to create simple macros or to replace hard and complicated words to type.

You assign aliases with the alias manager frame that you can open from the Settings menu. You can also use the /alias and /unalias commands to create and remove aliases.

/alias sm=smile %1
/unalias sm

Alias examples:

The first word in a command can also be used to create aliases that takes arguments. Suppose we have an alias defined as:
   lg = smile %1;grin %2 
When we issue the command "lg self monster" it will perform the following commands:
   smile self
   grin monster
You can also set an alias to be something like:
   lot = lothaenaerae
When you issue the command "smile lot" it will send the command:
   smile lothaenaerae
You can also do something like:
   heal = cast 'heal' %1
   lot = lothaenaerae
When you do the command "heal lot" it will send the command:
   cast 'heal' lothaenaerae

It is also possible to set the option "Anchored to the beginning of line". These aliases will only work on words that are the first word in the command that you are sending.