User:Xera/alter aeon alias examples

From Alter Aeon Wiki

The following are examples of alter aeon server aliases which may or may not be useful. Where used, variable bag can be set by typing var bag <bagname or uuid> this keeps a common bag or weightless to keep stuff in and if the bag happens to change, there is no neeed to update all your aliases. Double dolar signs are used in variable names because a single dolar sign would substuites the current value of the variable into the alias.

Drop and junk

'dj' is aliased to:
drop $*
junk $*

Mob death cleanup

'bs' is aliased to:
harvest spellcomp corpse
bloodsac cor
junk cor
vic

Pick door

'pi' is aliased to:
var door $1
pick $$door $2
open $$door $2

type pi <door> <direction>.

Dispel

'di' is aliased to:
l in $$bag -enchanted -insult
get $* from $$bag
c dis $*
put $* in $$bag

type di to get list then di <item uuid> until dispelled. You only need a few characters of the item uuid.

Enchant

'ea' is aliased to:
get $* from $$eabag
c enchant armor $*
c id $*
put $* in $$eabag
l in $$eabag -enchantable -insult

The enchantable switch currently gives false matches, so you may want to move to a seperate bag.

Inventory item shift

put $* in $$bag
get $* from $$bag

Moves an item to the top of the inventory could be used for things like ioun stones and tower shields for dragon breath defence.

Worn equipment variable set

alias show vareq
'vareq' is aliased to:
variable head NULL
variable neck1 NULL
variable neck2 NULL
variable arms NULL
variable wrist1 NULL
variable wrist2 NULL
variable hands NULL
variable finger1 NULL
variable finger2 NULL
variable on NULL
variable about NULL
variable waist NULL
variable legs NULL
variable feet NULL
variable held NULL
variable wield NULL
variable shield NULL
varset head insult -head
varset neck1 insult -neck1
varset neck2 insult -neck2
varset arms insult -arms
varset wrist1 insult -wrist1
varset wrist2 insult -wrist2
varset hands insult -hands
varset finger1 insult -finger1
varset finger2 insult -finger2
varset on insult -on
varset about insult -about
varset waist insult -waist
varset legs insult -legs
varset feet insult -feet
varset held insult -held
varset wield insult -wield
varset shield insult -shield

Could be used for an equipment wear alias or equipment identify alias. Null is needed to clear previous results in case your character is not wearing something for that location.

worn equipment identify

'ideq' is aliased to:
id $$head
id $$neck1
id $$neck2
id $$arms
id $$wrist1
id $$wrist2
id $$finger1
id $$finger2
id $$waist
id $$about
id $$on
id $$legs
id $$feet
id $$held
id $$wield

Run vareq first could be combined into one alias.

Soulforge

'sf' is aliased to:
get $1 soul from $$bag
get $1 soul from $$bag
c soulf $1 2.$1
put soul in $$bag

type sf <soulstone color>

Minion creation

Simple alias to create a ghoul.

c preservation corpse
c preservation corpse
c preservation corpse
c preservation corpse
c preservation corpse
c preservation corpse
c preservation corpse
c preservation corpse
c preservation corpse
c preservation corpse
prepare corpse ghoul
prepare corpse ghoul
prepare corpse ghoul
prepare corpse ghoul
prepare corpse ghoul
prepare corpse ghoul
prepare corpse ghoul
prepare corpse ghoul
prepare corpse ghoul
prepare corpse ghoul
get $$soulcolor from $$soulbag
prepare corpse $$soulcolor
get $$soulcolor from $$soulbag
prepare corpse $$soulcolor
get $$soulcolor from $$soulbag
prepare corpse $$soulcolor
get $$soulcolor from $$soulbag
prepare corpse $$soulcolor
get $$soulcolor from $$soulbag
prepare corpse $$soulcolor
get $$soulcolor from $$soulbag
prepare corpse $$soulcolor
get $$soulcolor from $$soulbag
prepare corpse $$soulcolor
get $$soulcolor from $$soulbag
prepare corpse $$soulcolor
get $$soulcolor from $$soulbag
prepare corpse $$soulcolor
get $$soulcolor from $$soulbag
prepare corpse $$soulcolor
c raise undead corpse
c raise undead corpse
c raise undead corpse
c raise undead corpse

added extra commands in case spells fails, this is not 100% reliable for example char could run out of mana or soulstones half way through. The minion name could be made a variable to allow other types such as zombies, vampires etc. Using varset this alias could be improved to for example check whether there is enough mana to cast the spell.

See Also