demon horns mascot
Alter Aeon logo
alteraeon.com 3000

Alter Aeon Help Page Search



Search For:

Click here to view a random selection from the help system. Click here to return to the main help index. Search results for '2.alias'
Keywords are: 'alias args arguments' Up to 9 arguments may be used in aliases, each space delimited. Inside the alias, arguments are referenced by using $1 through $9, with $0 and $* both representing all arguments. Additionally, a 'shift' command is available inside aliases to shift higher arguments down to lower ones. Here is a sample alias 'healtwo' that takes arguments: say I will now heal $* cast heal $1 shift 1 cast heal $1 The first line says all the arguments that the alias is invoked with. The second line attempts to cast heal using the first argument as a target. The third line shifts the arguments left by one. This means that the second argument now becomes the first. The fourth line attempts to cast heal using the first argument as a target, but since we shifted the arguments it will not hit the same target as the second line.



Copyright (C) 2015 DentinMud Internet Services - Contact Us