<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gswiki.play.net/index.php?action=history&amp;feed=atom&amp;title=Lich%3AScript_Alias</id>
	<title>Lich:Script Alias - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gswiki.play.net/index.php?action=history&amp;feed=atom&amp;title=Lich%3AScript_Alias"/>
	<link rel="alternate" type="text/html" href="https://gswiki.play.net/index.php?title=Lich:Script_Alias&amp;action=history"/>
	<updated>2026-04-04T12:41:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://gswiki.play.net/index.php?title=Lich:Script_Alias&amp;diff=198687&amp;oldid=prev</id>
		<title>RINUALDO: Created page with &quot;{{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...&quot;</title>
		<link rel="alternate" type="text/html" href="https://gswiki.play.net/index.php?title=Lich:Script_Alias&amp;diff=198687&amp;oldid=prev"/>
		<updated>2023-06-03T20:47:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{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...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{3rd-party}}&lt;br /&gt;
Alias is a default/core Lich scripted for creating in game shortcuts for any desired scripts or functions&lt;br /&gt;
&lt;br /&gt;
==What does it do?==&lt;br /&gt;
Alias makes an alias!&lt;br /&gt;
&lt;br /&gt;
==How do I get it?==&lt;br /&gt;
&amp;lt;CODE&amp;gt;;alias&amp;lt;/CODE&amp;gt; is installed by default for Lich and no user installation should be necessary&lt;br /&gt;
&lt;br /&gt;
==How does it work?== &lt;br /&gt;
Alias creates user shortcuts. If you have a common set scripts or don&amp;#039;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.&lt;br /&gt;
==Alias examples== &lt;br /&gt;
A popular alias example is for ewaggle if you are dispelled. The following Alias will cast any missing ewaggle spells if you were dispelled&lt;br /&gt;
&amp;lt;CODE&amp;gt;wag1 =&amp;gt; ;ewaggle --stop-at=1&amp;lt;/CODE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also create macros to combine with Aliases&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
Macro: \x;getabounty\r&lt;br /&gt;
Alias: ;alias add getabounty=;e Script.run(&amp;#039;go2&amp;#039;, &amp;#039;advguild&amp;#039;);fput(&amp;quot;ask ##{GameObj.npcs.last.id} for bounty&amp;quot;)&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==In game help output==&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
;alias help&lt;br /&gt;
&lt;br /&gt;
Usage:&lt;br /&gt;
&lt;br /&gt;
     ;alias setup&lt;br /&gt;
          Opens a window to configure aliases.&lt;br /&gt;
     ;alias add &amp;lt;trigger&amp;gt; = &amp;lt;target&amp;gt;&lt;br /&gt;
     ;alias add --global &amp;lt;trigger&amp;gt; = &amp;lt;target&amp;gt;&lt;br /&gt;
          Creates a new alias.  When you send a command that starts with &amp;lt;trigger&amp;gt;, it will be replaced&lt;br /&gt;
          with &amp;lt;target&amp;gt;.  If --global is specified, the alias will be active for all characters.&lt;br /&gt;
          \r and \? in the target are treated special.&lt;br /&gt;
&lt;br /&gt;
     ;alias remove &amp;lt;trigger&amp;gt;&lt;br /&gt;
     ;alias remove --global &amp;lt;trigger&amp;gt;&lt;br /&gt;
          Deletes the given alias&lt;br /&gt;
&lt;br /&gt;
     ;alias list&lt;br /&gt;
          Lists the currently active aliases&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
     ;alias add zap = ;eq cast(901, &amp;quot;\?&amp;quot;)&lt;br /&gt;
     ;alias add --global ;code = ;lnet chat on code&lt;br /&gt;
     ;alias add --global ls = look&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
{{Third-Party Software}}&lt;/div&gt;</summary>
		<author><name>RINUALDO</name></author>
	</entry>
</feed>