Aliases

From Wyvern Source
Revision as of 09:38, 10 March 2021 by Ioper (Talk | contribs) (Useful Aliases: Unicorn horn)

Jump to: navigation, search

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 typing au wtb xyz, you will shout "[auction] wtb xyz"
  • alias rp reply allows for a shorter reply 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!

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

More Details

You cannot call aliases from within an alias. For example, if you have:

  1. alias x action 1; action 2
  2. alias y action 3;
  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.