HOMEJOIN ICCHELPMEMBERS & ACTIVITIESCHESS.FMRESOURCESSTORE HOME JOIN ICC HELP MEMBERS & ACTIVITIES CHESS.FM RESOURCES STORE
menu

up HELP Top

Enjoy unlimited rated play in the world's largest premium chess community with opponents at all levels.


Get a seven day FREE trial of ICC!

ICC Help: alias

An alias is a way to save typing for a command you often use. For example, if you type:

+alias blitz shout Does anyone want to play 5 0 blitz with me?

then the alias "blitz" will be added to your alias list. The first word after the "+alias" is the name of your alias. Now, anytime you type "blitz" you will automatically shout:

"Does anyone want to play 5 0 blitz with me?"

You can see a list of your aliases by typing "=al". Aliases can be removed from your list. For example, "-alias blitz*" will remove the "blitz" alias (and also any other aliases that start with "blitz", such as "blitz2", etc.) You MUST include the *.

The symbol "@" can be put into an alias, and is used as a text substitution. For example, if you make the alias:

+alias greet tell @ Hello!! How are you today?

then typing "greet Jan" would be exactly the same as typing:

"tell Jan Hello!! How are you today?"

You can put more than one "@" in your alias, and each of them will be substituted. Aliases cannot be nested, which means an alias cannot call another alias.

You can also use the "multi" command within an alias. This allows an alias to issue more than one command. You can say

+alias bughouse multi set wild 24; set mood 1; set open 1;

When you type "bughouse" it will issue the three set commands to that you might want to issue to start a bughouse session. (Different parts of the multi command are separated by semi-colons.)

Only registered members can create aliases. Guests cannot. The maximum number of aliases you can have is 90.

See also: lists, vars, multi

 

logo About Us | Contact Us | Privacy Policy | Terms of Service

© Copyright 1995-2008 Internet Chess Club, Inc. All Rights Reserved.