From WikiChip
Difference between revisions of "mirc/commands/alias"
(Created page with "The '''/alias command''' can be used to add, replace and remove aliases. This command ONLY works for single line aliases. This command can be used to remove an alias if you on...") |
(fixed format error) |
||
Line 50: | Line 50: | ||
* [[$exists identifier - mIRC|$exists]] | * [[$exists identifier - mIRC|$exists]] | ||
* [[$file identifier - mIRC|$file]] | * [[$file identifier - mIRC|$file]] | ||
− | * [[load | + | * [[/load command - mIRC|/load]] |
− | * [[save | + | * [[/save command - mIRC|/save]] |
− | * [[unload | + | * [[/unload command - mIRC|/unload]] |
− | * [[add | + | * [[/add command - mIRC|/add]] |
[[Category:mIRC commands]] | [[Category:mIRC commands]] |
Revision as of 01:45, 1 December 2013
The /alias command can be used to add, replace and remove aliases. This command ONLY works for single line aliases. This command can be used to remove an alias if you only specify the name. By default mIRC will add the alias to the first aliases script file.
Note: Trying to remove a multi-line alias will result in a "unable to remove" error message.</p>
Synopsis
/alias [filename] <aliasname> <command>
Switches
None
Parameters
- [filename] - Optional parameter that can be used to specify which aliases file to use
- <aliasname> - The name of the alias to be manipulated
- <command> - Commands that are associated with the alias
Example
;Adds a new alias by the name "cookies" ;You can now do /cookies /Alias /Cookies /me hands out the cookie jar ;We replaced the old cookies alias with this new one /Alias /Cookies /me Steals someone's cookies! ;Remove the alias /Alias /Cookies
Output:
* Added '/Cookies' alias * Replaced '/Cookies' alias * Removed '/Cookies' alias
Compatibility
Added: mIRC v4.5
Added On: 30/06/1996
Note: Individual switches were not taken into consideration.