aboutsummaryrefslogtreecommitdiff
path: root/project/text-files/lpar.inc/lpar-sect-chat-cr.inc
blob: 4685cea9324ba34ea9f4a7da7a0e45c5163b5752 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

# LE-CODE supports a special feature for chat messages in private rooms. If a
# message is send by the host and at least one guest is present, then some
# messages change the behavior of the game. This section defines the special
# function.

# The first parameter resets all message to CHAT$OFF (no function).
# The default is value 1. If set to 0, the current map is edited.
@reset = 1

# Set the value to 1 if you want to use the old behavior defined for MKW-Fun.
@legacy = 0

# And now define the functions for different chat messages. The syntax is:
#
#	MESSAGE '=' EXPRESSION1
#	MESSAGE '=' EXPRESSION1 ',' EXPRESSION2
#
# MESSAGE is the letter 'M' followed by a number between 1 and 96. Examples
# are M1, M02, M96. EXPRESSION is any expression supported by the parser.
# Up to 2 modes (separated by a comma) can be defined for each message.
# Usually the following constants or functions are used:
#
#   CHAT$TRACK_BY_HOST : The host selects a tracks and wins the lottery.
#                        The track selection for guests is disabled. 
#   CHAT$ANY_TRACK     : Cancel CHAT$TRACK_BY_HOST.
#
#   CHAT$BLOCK_CLEAR   : Clear the used-tracks list.
#   CHAT$BLOCK_DISABLE : Disable the block-track functionality.
#   CHAT$BLOCK_ENABLE  : Enable the block-track functionality. This is the
#                        default, but have only impact, if BLOCK-TRACK > 0.
#
#   CHAT$KARTS_ONLY    : Each player must select a kart.
#   CHAT$BIKES_ONLY    : Each player must select a bike.
#   CHAT$ANY_VEHICLE   : Cancel vehicle requirement.
#
#   CHAT$USE_ENGINE_1  : Select first engine class  (100cc or 150cc if 200cc enabled)
#   CHAT$USE_ENGINE_2  : Select second engine class (150cc or 200cc if 200cc enabled)
#   CHAT$USE_ENGINE_3  : Select third engine class  (mirror)
#   CHAT$RESET_ENGINE  : Cancel engine selection.
#
#   chat$n_races(N)    : Define the number of races in the next Grand Prix.
#                        N is a number between 1 and 512 (inclusive). 
#
#   chat$vehicle(...)  : Define a chat modus for a vehicle group. 0 to N values
#                        are expected as function parameters. Each parameter is
#                        either from the group VEH$SMALL, VEH$MEDIUM, VEH$LARGE
#                        and VEH$ANY_SIZE for size selections and/or from the
#                        group VEH$KART, VEH$BIKE, VEH$ANY_TYPE for type
#                        selections. VEH$ANY resets the limitations.
~#VEH$OUT_BIKE, VEH$IN_BIKE
#
#   CHAT$RESET         : Reset all settings to their defaults.
#
# See http://wiki.tockdom.com/wiki/LE-CODE/Distribution_Tutorial#chatmsg
# for more details.