Using command aliases

Mibbit supports using aliases to replace a command with another string, mostly this is a handy way to abbreviate a command or to add arguments to a frequently used command.  This is great for saving time or remembering commonly used phrases and the settings for these are stored in your Mibbit preferences.

Creating aliases.

Aliases are created by storing a pair of strings in Preferences, a “match” and a corresponding “command”.
For example entering the match /think with the command /me thinks $1 would result in the entry to chat of “/think okay” being replaced with “sally thinks okay.

Editing aliases is a case of loading your account Preferences and editing entries under the ’Alias’ tab:

In this example the alias  has been extended so that all of the words after /think are used in the replacement (using $1- in the Command).

In chat it would look like this:

 

 

 

Default aliases.

A whole set of useful aliases are stored in your account by default making it easier to use the client.  These are found at: http://wiki.mibbit.com/index.php/Alias along with more information about how to use them.

Aliases can be hugely powerful when used with conventional IRC commands to carry out messaging and operator actions.  In the Main Client these commands can also be executed when a match occurs on joining a channel.  For example, the pair: >mibbit>#french and /translatethem english would mean every time Sally joins the #french channel her translation setting is changed to receive in English.

 

More information can be found in: http://wiki.mibbit.com/index.php/Alias and http://wiki.mibbit.com/index.php/Alias/Examples

 

Related posts:

  1. Filters ‘command’
  2. Alias this!!!
  3. OnJoin – How to auto-execute commands upon joining a channel
  4. IRC /away command
  5. Custom user menus

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>