/[LeafOK_CVS]/pvpgn-1.7.4/conf/bnalias.conf
ViewVC logotype

Annotation of /pvpgn-1.7.4/conf/bnalias.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Tue Jun 6 03:41:37 2006 UTC (19 years, 9 months ago) by sysadm
CVS Tags: pvpgn_1-7-4-0_MIL
Branch point for: GNU, MAIN
Initial revision

1 sysadm 1.1 ##############################################################################
2     # bnalias.list - List of Locally Defined Alias Commands #
3     #----------------------------------------------------------------------------#
4     # #
5     # This file can be used to define shortcuts for often-used commands or for #
6     # unusually long commands. It can also be used to make custom emotes which #
7     # are especially useful for non-English servers. #
8     # #
9     # Lines starting with a # are considered to be comments. #
10     # The format is: #
11     # @ #
12     # aliasname [aliasshortcut1 [aliasshortcut2 [...]]] #
13     # [!]text or command to type as if the player typed it #
14     # [!]%Iinformation to print to the player #
15     # [!]%Eerror to print to the player #
16     # #
17     # Where ! is either an integer representing the number of arguments given to #
18     # the alias by the user or an asterisk (*) meaning it will match any number #
19     # of arguments. The plus sign (+) will match with any non-zero number of #
20     # arguments. #
21     # #
22     # There may be as many lines as you want following the aliasname. If #
23     # multiple lines match they will be executed in the order they are listed. #
24     # #
25     # The text or command is actually formatted text as used in the bnmotd file. #
26     # It contains special formatting characters which can be used to specify the #
27     # type of message or substitue special values (the hostname, the player's #
28     # own name, and many more). These all start with a percent sign (%). There #
29     # are also special formatters which subsitute arguments which were entered #
30     # by the user. These start with a dollar sign. #
31     # #
32     # $* - substitute all arguments here #
33     # $0 through $9 - substitute that argument here (0 means the command) #
34     # ${43} - substitute that argument here (0 means the command) #
35     # ${-19} - substitute arguments 0-19 here #
36     # ${2-} - substitue all arguments from 2 until the end here #
37     # #
38     @
39     //doubt //dt //d
40     [0]/me looks with doubt
41     [1+]/me looks at ${1-} with doubt
42     @
43     //numusers //nu
44     [0]%IThere are %u users online.
45     [0]%IThere are %g games online.
46     [0]%IThere are %c channels online.
47     [1+]%EThat command does not take any arguments.
48     @
49     //askban //ab
50     [2+]/w $1 Please ban ${2-}.
51     @
52     //statsme //sm
53     [0]/stats %u
54     @
55     //pvpgn
56     [*]/announce PVPGN rulez!
57     # #
58     ##############################################################################

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1