Alias

From Kolmafia
Revision as of 07:27, 19 September 2009 by 62.136.104.36 (talk) (Created page with 'An alias is a shortcut in the CLI, set by users. For example, a simple alias is mapping the CLI function "familiar" to the function "f", as a shortcut. ==Simple Example== <p><…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

An alias is a shortcut in the CLI, set by users. For example, a simple alias is mapping the CLI function "familiar" to the function "f", as a shortcut.

Simple Example

alias f => familiar

Now, instead of typing familiar pixie or familiar sandworm, you can just type f pixie or f sandworm.

Complex Example

alias dentures => checkpoint; equip frilly skirt; ash visit_url("inv_use.php?which=3&whichitem=2951&pwd"); visit_url("choice.php?whichchoice=188&option=3&choiceform3=Catburgle&pwd"); cli_execute("outfit checkpoint");

This equips a frilly skirt, chooses the right choice in the Orcish Frat House Blueprints adventure, and then re-equips whatever pants you had on when you type dentures into the CLI.