Aliases
Overview
Aliases are essentially shortcuts that you can type into the command. Each alias can have up to 4 commands (3 semicolons). When the alias shortcut is a single key, simply pressing that key will invoke the command.
Note that aliases are different from the button-bar in that the button bar has visual shortcuts (buttons), whereas aliases are text-bindings.
Associated Commands
- alias
- Lists your current aliases
- alias <shortcut> <command>
- Creates a new alias
- unalias <shortcut>
- Removes the indicated alias
For example, typing in alias fs cast firespray
will cast firespray whenever you type in fs
.
Other examples:
-
alias fs cast fireball; cast fireball; cast blizzard; cast blizzard
will cast all 4 spells successfully (almost at same time, no lag). -
alias #atmospheres cast bravery; cast resist fire; cast resist petri; cast resist cold
will cast all 4 spells when the atmosphere's button is tapped. Note that you don't need to type in full spell names (same with items, etc).
Useful Aliases
There are 3-4 side buttons you can alias: #social (2nd from top left button), #atmospheres (3rd from top left button), #spells (2nd from bottom right button), and #race (hand button) (it's only possible to alias #race if the character's race doesn't have racial abilities, such as Humans and Dwarves. Haflings, Giants, Pixies, Nagas, etc can't alias #race)
Examples:
-
alias #social shrink; cast minor healing; cast minor healing; grow
is very useful for giants to heal efficiently -
alias #atmospheres autocast speed; autocast resist fire; autocast see invisible; autocast glimpse
would be a useful alias to cast all your helpful "atmospheric" spells
You can also alias shortcuts for speaking:
-
alias au auction
allows you to much more simply type in the auction channel; by simply typingau wtb xyz
, you will shout "[auction] wtb xyz" -
alias rp reply
allows for a shorterreply
command -
alias wtb auction want to buy<code> for a quick solicitation on the auction channel, eg: <code>wtb dsm
Invoking taps with aliases is also possible: alias 5 mouse 6 6
will alias 5 to tap on the character's tile if the viewport is set to 13x13 tiles (an intuitive alias for numberpad users)
Healing Spells
It's useful to alias some of your healing spells so you can survive. Here are some examples:
alias e cast minor healing; cast minor healing
<- this will cast 2 instances of the minor healing spell. You can adapt this for your other healing spells as well.
Damage Spells
If you're a mage, damaging spells are your bread and butter! Here are some examples of how to setup your spells:
alias x cast fireball
alias x cast fireball; cast blizzard
alias c cast thunderstorm
alias z cast boulder bash
Startup commands
Startup commands are the things that happen when you login and can be helpful in getting your autocast spells ready to go
startup add autocast mana shield; autocast resist fire; autocast resist cold; autocast resist shock
<- this will make you start casting all of these spells the moment you login and refresh them the moment they expire.
In general, aliases are the way that you can make your life easier in Wyvern. But they're not just for casters! You can use aliases as a melee character too...
Non-Casters
alias o drink potion of speed; drink potion of strength
alias p drink potion of fire end; drink potion of cold end; drink potion of shock end
<- this will drink three resist potions with one button.
alias e drink potion of medium healing
<- useful for a quick heal!
alias y apply portable hole
<- this one will let you jump into your portable hole to dodge harmful spells or catch a breather.
Quit alias
Perhaps one of the most useful aliases is the Quit button. Things can get hairy in Wyvern and a smart player knows when they've bitten off more than they can chew!
alias ` quit
<- every time you press the "`" key, you'll quit the game. Useful for saving you from death!
Aliases for status healing
Do you miss the smart-heal button on PC? Get yourself a unicorn horn! Setting up an alias like this will cure MOST of your status ailments.
alias t apply unicorn horn
One thing to remember is that a unicorn horn won't work if cursed, so keeping it in a bag is useful. Try this:
alias t get unicorn horn from bag; apply unicorn horn; put unicorn horn in bag
The status conditions that won't be cured by a unicorn horn are fear and petrification, so it is wise to have a way of dispelling them aliased too. Here are some examples:
alias f apply rod of dispel fear
<- this will use the first matching rod from the first wand quiver in your inventory.
alias r drink potion of stone to flesh
<- this will drink the first matching potion from the first elixir pouch in your inventory.
More Details
You cannot call aliases from within an alias. For example, if you have:
- alias x action 1; action 2
- alias y action 3;
- alias a x y
Then typing "a" will not run the x nor the y aliases.
You can, however, invoke button bar commands: alias ! button-bar-1
will make shift + 1
use button-bar 1.
- How commands choose which items to use?
- When you use a command to tell the game you want to drink a potion, read a scroll or use a magic rod without asking to retrieve it from a container in your inventory, it will first search your main inventory (items out of containers) and use the first matching item. If there is no matching item, it will then search only the FIRST elixir pouch, scroll tube or wand quiver, depending on the item to be used, and use the first matching item inside it.
- The appropriate commands for the game to search the containers are: "drink" for potions, "read" for scrolls, and "apply" for rods. Using a different command, such as typing
apply potion of petrification endurance
will only use a matching potion located directly in your inventory, outside of elixir pouches.