Project

General

Profile

Aliases Dialog » History » Revision 3

Revision 2 (Per Amundsen, 03/26/2021 09:02 PM) → Revision 3/7 (Per Amundsen, 03/26/2021 09:02 PM)

{{>toc}} 

 h1. Aliases Editor 

 !editaliases.png! 

 The aliases editor allows adding or editing custom aliases. 

 Multiple aliases files can be loaded at the same time. 

 it can be opened by clicking [[Menubar_Control|Menubar]] -> Tools -> Edit Aliases or by pressing the %(key)ALT% + %(key)D% shortcut or by typing [[/edit]] -a. 

 The editor shares characteristics with all the other editors. 

 _See also [[/load]], [[/reload]], [[/unload]], [[$alias]], [[$isalias]]._ 

 h2. Defaults 

 When no alias ini file exists, AdiIRC internally uses some default aliases. When opening the alias editor in this case, AdiIRC inserts the defaults into the editor and the alias file is being edited/not saved, saving the aliases once creates the aliases ini file and the marking goes away. 

 h2. Aliases format 

 The format of a alias is /name<whitespace><command>. If the command is gonna span multiple lines, the format becomes: 

 The leading / in /name is not necessary. 

 <pre> 
 /name { 
   /command1 
   /command2 
   ... 
 } 
 </pre> 

 h2. Saving aliases to a different ini file 

 To save the current aliases file to a different ini file, click the Menubar (inside the editor) -> File -> Save As menu item. 

 h2. Loading aliases from a different ini file 

 To load aliases from a different ini file, click the Menubar (inside the editor) -> File -> Load menu item or use the [[/load]] command. 

 When loading aliaes using the [[/load]], [[/reload]] or [[/unload]] command, the aliases editor will be automatically updated with the new aliases. 

 h2. Search/replace text 

 Clicking the Menubar (inside the editor) -> Edit -> Find or pressing the %(key)CTRL% + %(key)F% shortcut opens the search and replace panel. 

 You can search or search and replace using a [[Scripting_Regex|Regular Expression]] by checking the *Regex* checkbox. 

 Pressing the %(key)ESCAPE% key closes the search panel. 

 h2. Checking brackets 

 Checking for balanced brackets can be done by clicking the *{}* menu item to the far right of the Menubar (inside the editor) or by pressing the %(key)CTRL% + %(key)H% shortcut. 

 h2. Reset aliases 

 Clicking the reset button resets the current select aliases file to the default aliases. 

 h2. Jumping to a specific alias 

 The *Alias* menu item in the Menubar (inside the editor) can be used to jump to a specific alias in the current alias file. 

 h2. Font 

 The font of the editor can be changed by clicking the Menubar (inside the editor) -> File -> Change Font menu item. 

 _Note: only "truetype":https://en.wikipedia.org/wiki/TrueType fonts can be used._