Lich:Script Alias: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(Created page with "{{3rd-party}} 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...")
 
(→‎Alias examples: add additional aliases)
Line 11: Line 11:
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 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==
==Alias examples==
Below are examples of various aliases (one-liners) that are used to perform macros and/or Lich scripting:
A popular alias example is for ewaggle if you are dispelled. The following Alias will cast any missing ewaggle spells if you were dispelled
<CODE>wag1 => ;ewaggle --stop-at=1</CODE>


{| class="wikitable"
You can also create macros to combine with Aliases
|-
<PRE>
! trigger !! description !! target
Macro: \x;getabounty\r
|-
Alias: ;alias add getabounty=;e Script.run('go2', 'advguild');fput("ask ##{GameObj.npcs.last.id} for bounty")
| wag1
</PRE>
| cast missing spells after dispelled
| <code>;ewaggle --stop-at=1</code>
|-
| disband
| will DISBAND and immediately open GROUP again
| <code>disband\rgroup open</code>
|-
| leave
| will LEAVE group and immediately open GROUP status again
| <code>leave\rgroup open</code>
|-
| getbounty
| will run to advguild and get new bounty
| <code>;e Script.run('go2', 'advguild');fput("ask ##{GameObj.npcs.last.id} for bounty")</code>
|}


==In game help output==
==In game help output==

Revision as of 11:06, 30 June 2026

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
disband will DISBAND and immediately open GROUP again disband\rgroup open
leave will LEAVE group and immediately open GROUP status again leave\rgroup open
getbounty will run to advguild and get new bounty ;e Script.run('go2', 'advguild');fput("ask ##{GameObj.npcs.last.id} for bounty")

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