Project

General

Profile

Alias » History » Revision 5

Revision 4 (Per Amundsen, 02/08/2014 01:19 AM) → Revision 5/12 (Per Amundsen, 02/08/2014 11:59 AM)

_Added in 1.9.0_ 

 */alias [filename] <aliasname> <command>* 

 Add/remove/replace any single line alias. 

 *Parameters* 
 [filename] - An optional alias filename to update, if no filename is specified it This will use the first match or the first loaded alias file. 
 <aliasname> - Name of the alias to add/remove/replace. 
 <command> - The command(s) to be executed by the aliasname. 

 *Example* 
 <pre> 
 ;This will replace the first matching alias with the new command. 
 <pre> 
 /alias /hello /me says hello 
 </pre> 

 ;To To remove an existing alias: 
 <pre> 
 /alias /hello 
 </pre> 

 ;If If you want to add/remove/replace a alias in an existing file file, use: 
 <pre> 
 /alias hello.txt /alias /me says hello 
 </pre> 

 If no filename is specified it will use the first match or the first loaded alias file.