diff options
| author | root <root@dc13.lemmi> | 2020-07-21 10:00:46 +0200 |
|---|---|---|
| committer | root <root@dc13.lemmi> | 2020-07-21 10:00:46 +0200 |
| commit | 1192c4575ea7afdf38e3fa0df4587a08620af11e (patch) | |
| tree | 6910a62487c282d0840d2e668aa7eb40b7c8a3fd /project/text-files/lpar.inc/lpar-sect-chat-cr.inc | |
| parent | 76de8a89f7c1d1b4522eb66e8f89d248e8c1781f (diff) | |
SZS v2.18a
Diffstat (limited to 'project/text-files/lpar.inc/lpar-sect-chat-cr.inc')
| -rw-r--r-- | project/text-files/lpar.inc/lpar-sect-chat-cr.inc | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/project/text-files/lpar.inc/lpar-sect-chat-cr.inc b/project/text-files/lpar.inc/lpar-sect-chat-cr.inc new file mode 100644 index 0000000..4685cea --- /dev/null +++ b/project/text-files/lpar.inc/lpar-sect-chat-cr.inc @@ -0,0 +1,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. |
