Lich:Script Alias: Difference between revisions
(→Alias examples: add additional aliases) |
(→Alias examples: more examples) |
||
| Line 28: | Line 28: | ||
| will LEAVE group and immediately open GROUP status again |
| will LEAVE group and immediately open GROUP status again |
||
| <code>leave\rgroup open</code> |
| <code>leave\rgroup open</code> |
||
|- |
|||
| wear |
|||
| will WEAR the item you attempt and immediately try to SORT your inventory |
|||
| <code>wear \?\rsort auto headtotoe</code> |
|||
|- |
|- |
||
| getbounty |
| getbounty |
||
| will run to advguild and get new bounty |
| will run to advguild and get new bounty |
||
| <code>;e Script.run('go2', 'advguild');fput("ask ##{GameObj.npcs.last.id} for bounty")</code> |
| <code>;e Script.run('go2', 'advguild');fput("ask ##{GameObj.npcs.last.id} for bounty")</code> |
||
|- |
|||
| groupall |
|||
| will attempt to GROUP every character in room into your group |
|||
| <code>;e GameObj.pcs.each { |pc| fput "group #{pc.noun}" }</code> |
|||
|} |
|} |
||
Revision as of 11:09, 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
|
| wear | will WEAR the item you attempt and immediately try to SORT your inventory | wear \?\rsort 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 | pc| fput "group #{pc.noun}" } |
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 |