|
|
Usage: |
|
/say_stat (options) text |
|
Description: |
| |
The /say_stat command echos the given text to the given target.
In halflife, this displays to the bottom text scroll (where player chat goes),
without any formatting, in the default color.
The target can only be 'all' if goodies is not installed.
|
|
|
Option: |
|
| Option |
Range |
Default |
Description |
| targ |
userid, all, team |
all |
Specifies the target of the message. It is sent to a single
person, if a userid is specified, to everyone if "all", or to a certain
team if the team name is specified.
|
|
|
Example: |
|
| /say_stat example |
# This is included in the default QLAD script
on pcmd_pubtime cmd /say_stat * $(pn) wants you to know: Time remaining in match: $(gtimeleft);
# This is not: on 30 minutes left, send a message to the team that is behind in score, if any.
on timeleft { equal 30; cmd { if ($(2score)>$(3score) /say_stat (team=$(3name)) * Hey! You guys are losing! Better get to work!; else if ($(3score)>$(2score) /say_stat (team=$(2name)) * You guys must not let $(3name) win!!!; }; };
|
|
|
|