Next: , Previous: , Up: Keywords   [Index]


6.2.21 GroupSettings

Syntax:

GroupSettings "groupname" name-index template-index

Example:

GroupSettings "OS/2 Echos" 0 1

This command allows you to select different user names and/or template files based on the group a message area belongs to. For example, you might wish to use a different signoff in OS/2-related areas (probably stating your TeamOS/2 number) than in other areas. Or, if you are moderator in a certain area, you might want to use the user name "Moderator" instead of the user name that you are using in normal areas.

The groupname parameter to the GroupSettings command specifies the name of the group. See The Group Keyword, for information on how to define groups and add areas to those groups.

The name-index parameter then specifies the index number of the user name that should be used for all areas in this group. User names are counted from zero upwards, so if you have two or more Name keywords in your config file, the name specified with the first Name keyword will have an index number of 0, the second will have 1, and so one. See The Name Keyword, for more information.

The template-index number defines which message template file should be used for areas belonging to this group. The first message template file that you have specified with the Template keyword has number 0, the second has number 1, and so on. Note that if you want to specify multiple template files, you have to repeat the Template keyword for each file. The Template keyword itself can only take one argument. See The Template Keyword, for more information.


Next: , Previous: , Up: Keywords   [Index]