Lich:Script Alias

The official GemStone IV encyclopedia.
Revision as of 11:19, 30 June 2026 by HORIBU1 (talk | contribs) (→‎Alias examples: add more examples)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Lich:Script Alias is a third party script and is not maintained by Simutronics. Simutronics is not responsible for the accuracy of the information presented on this page, nor is it liable for issues stemming from the use of the application on players' personal devices.

Alias is a default/core Lich scripted for creating in game shortcuts for any desired scripts or functions

What does it do?

Alias makes an alias!

How do I get it?

;alias is installed by default for Lich and no user installation should be necessary

How does it work?

Alias creates user shortcuts. If you have a common set scripts or don't want to type a long thing out, you can use the Alias script to create a shortened version for one or several combined commands. Think of if like a macro on steroids.

Alias examples

Below are examples of various aliases (one-liners) that are used to perform macros and/or Lich scripting:

trigger description target
wag1 cast missing spells after dispelled ;ewaggle --stop-at=1
;wagglemax attempt to max cast all spells at self/target ;eq Script.start("waggle", "--start-at=250 --stop-at=250 --stop-before=999 \?")
disband will DISBAND and immediately open GROUP again disband\rgroup open
leave will LEAVE group and immediately open GROUP status again leave\rgroup open
wear will WEAR the item you attempt and immediately try to SORT your inventory ;eq fput("wear \?"); waitrt?; fput("sort auto headtotoe")
getbounty will run to advguild and get new bounty ;e Script.run('go2', 'advguild');fput("ask ##{GameObj.npcs.last.id} for bounty")
groupall will attempt to GROUP every character in room into your group ;e GameObj.pcs.each { |pc| fput "group #{pc.noun}" }
quitxp wait until empty mind, full health/mana/spirit before QUITing ;e wait_until { Char.percent_mind.eql?(0) && Char.percent_health.eql?(100) && Char.percent_mana.eql?(100) && Char.percent_spirit.eql?(100)}; fput('quit')

In game help output

;alias help

Usage:

     ;alias setup
          Opens a window to configure aliases.
     ;alias add <trigger> = <target>
     ;alias add --global <trigger> = <target>
          Creates a new alias.  When you send a command that starts with <trigger>, it will be replaced
          with <target>.  If --global is specified, the alias will be active for all characters.
          \r and \? in the target are treated special.

     ;alias remove <trigger>
     ;alias remove --global <trigger>
          Deletes the given alias

     ;alias list
          Lists the currently active aliases

Examples:

     ;alias add zap = ;eq cast(901, "\?")
     ;alias add --global ;code = ;lnet chat on code
     ;alias add --global ls = look
Third-Party Software - edit
Lich Installation: Lich
Downloadable Lich Scripts: Go2 | Map | Repository | Popular Scripts