TOST1.4 Commands

tech.jpg
TOST1.4 comes with some useful commandos as follows:
 
 
 
 
tostinfo => shows some basic infos about TOST's current configuration

ShowTeamInfo => extends your HUD with information on the teams.

ShowWeapon => cycle through Weapons HUD extensions mode (off, full, small)

xSay => like Say/TeamSay, but capable of executing macros.

type 'help xteamsay' to see a list of macros.

xTeamSay => like Say/TeamSay, but capable of executing macros:

## - print #
#W - players weapon
#T - players target name
#N - players name
#L - players location (if defined by the mapper !)
#H - players health
#B - players buddies (all people of the same team within 1500 units)

Echo => message to yourself only (useful for buy scripts) - can also execute macros

KickTK => kickban all players with a negative score (excluding admins)

mkteams => makes even teams, moving those players that have logged on last (and should have made teams)

xkick => like kick, but also erases stats

xpkick => like pkick, but also erases stats

ProtectSrv => sets a random game password for a given period of time, in order to prevent the reconnection of quickly IP changing teamkillers and cheaters that you have previously kickbanned. The password will be shown to the admins (everybody else can have a nice time trying all of the 308,915,776 possibilities when reconnecting ... )

The password will be removed if
a) time is up
b) end of map has been reached
c) another call to "ProtectSrv" is made
Note: ProtectSrv will remove a previously set password!

pgid => shows the PGID and IP Address of a player who is currently online

Restrictions: requires flags 'B' or 'M'
Syntax: pgid <player id>

mypgid => displays your pgid

addreg => adds a registration manually

Restrictions: requires flag 'M'
Syntax: addreg <PGID> <PlayerName> <Flags>

register => use this command to (un-)register yourself

to register yourself type 'register'
if you are already registered but want to change your nickname type 'register rename'
if you are already registered and want do delete your account type 'register delete'

status => displays your current status on this server

ipbans => displays a list of all ip address based bans

unban => unbans a PGID (also known as 'unbanpgid')

Restrictions: requires flag 'B' (ban)
Syntax: unban <ban number>
(to view a list that contains ban numbers, type 'bans')

unbanpgid => see "unban"

baninfo => provides you with detailed information about a PGID-based ban

Restrictions: requires flag 'B'
Syntax: baninfo <ban number>
(to view a list that contains ban numbers, type 'bans')

bans => displays a list of all PGID-based bans (also known as 'pgidbans')

Restrictions: requires flag 'B'
Syntax: bans [search pattern]
if 'bans' is called without any arguments, the server will show you a full list
that contains all bans. if you supply the argument [search pattern] the
list will only show bans that contain the search pattern (case insensitive).

ipunban => removes an IP-based ban (also known as 'rmipban' or 'unbanip');

Restrictions: requires flag 'B'
Syntax: ipunban <ipban number>
(to view a list that contains ban numbers, type 'ipbans')

rmipban => see 'ipunban'

unbanip => see 'ipunban'

addipban => adds an ip-based ban (also known as 'ipaddban' or 'addbanip')

Restrictions: requires flag 'B'
Syntax: addipban <ip address>

addbanip => see 'addipban'

ipaddban => see 'addipban'

msg => sends a private message to one or more players

Syntax 1: msg <player id> <message>
Syntax 2: msg :<partial nickname> message
Example1: msg 12 hello - sends a private message to the player with ID 12
Example2: msg :SSP hello - sends a private message to all players that have the letters 'SSP' in their name
Additional Notes:
-Admins and R|K|B-Flag user can also use the special character '#'
-Only Admins that are logged in (and visible as a logged in admin) can send messages to living players while they are dead.

regs => displays a list of all registrations (also known as 'reglist')

Restrictions: requires flag 'A' (approved)
Syntax: regs [search pattern]
if 'regs' is called without any arguments, the server will show you a full list
that contains all registrations. if you supply the argument [search pattern] the
list will only show registrations that contain the search pattern (case insensitive).

exportregs => similar to 'regs', but writes the output into your logfile

Restrictions: requires flag 'M'

addflag => adds a flag to a player (opposite of 'delflag')

Restrictions: requires flag 'M'
Syntax: addflag <reg number> <flag>
type 'regs' to search for a reg number
type 'help flags' to see a list of available flags

delflag => removes flag from a player (opposite of 'addflag')

Restrictions: requires flag 'M'
Syntax: delflag <reg number> <flag>
type 'regs' to search for a reg number
type 'help flags' to see a list of available flags

Possible Flags :

R - player is registered (all registered players have this flag)
C - player is registered and currently using his registered nickname
(this flag can not be assigned manually)
A - this players registration has been approved by an admin
K - player has permission to kick others
B - player has permission to kick and ban others
M - registration manager, can add/modify/delete registrations
I - this players's registration is hidden

approve => gives a player the 'A' flag

Restrictions: requires flag 'M'
Syntax: approve <player id>
this command works just like the 'addflag <reg number> A' command, except it
needs the PLAYER ID as the argument, instead of the REG NUMBER.

delreg => deletes a registration (also known as 'unregister' or 'rmreg')

Restrictions: requires flag 'M'
Syntax: delreg <reg number>
Warning: the argument must be the reg number, and NOT the player id
to view a list that contains reg numbers type 'regs'

unregister => see 'delreg'

rmreg => see 'delreg'

rkick => kicks a player

Restrictions: requires flag 'K' or 'B'
Syntax: rkick <player id> [reason]
Example: rkick 12 go away!!! - kicks the player with ID 12 and gives "go away!!!" as the reason

rban => bans the IP address as well as the PGID of a player. kicks the player, too.

(also known as or 'rkickban')
Restrictions: requires flag 'B'
Syntax: rban <player id> [duration] [reason]
be very careful with this command!
if no duration is given, the ban will never expire automatically.
duration can be in the following formats, where N is a number:
Nd - bans player for N days
Nh - bans player for N hours
Nm - bans player for N minutes
N - bans player for N minutes
Example: rban 12 2h come back in 2 hours! - bans player 12 for 2 hours with the reason "come back in 2 hours!"
Example: rban 12 - bans a player 12 without a reason (ban will never expire, unless removed manually)
Example: rban 12 5 - bans a player 12 for 5 minutes without a reason
you should always supply a meaningful reason when you are banning, so that
other admins can see why you added this ban. the reason is displayed
by the 'baninfo' command.
related commands: rkick, bans, baninfo

addpgidban => like 'rban', except it bans a PGID rather than a Player ID

Restrictions: requires flag 'B'
Syntax: rban <PGID> [duration] [reason]
to see a player's PGID type 'pgid <player id>'
use this command if you want to ban someone who is not currently online
if you only want to ban an IP address, use the command 'addipban'
to see more information about the [duration] and [reason] arguments
type 'help rban'

complain => files a complaint

use this command if you want to leave a message for flag 'M' users.
he/she will see it as soon as he/she joins the server.
Syntax: complain <your message>
Note: you can only file one complaint at a time.

delcomplaint => deletes a complaint (also known as 'rmcomplaint')

Restrictions: requires flag 'M'
Syntax: delcomplaint <complaint number>
type 'complaints' to see a list that contains the complaint numbers

rmcomplaint => see 'delcomplaint'

complaints => displays all complaints (up to 20)

xcomplaints => like 'complaints' but displays more information about

the player who filed the complaint.

save => writes the registration/ban configuration file to disk

Restrictions: requires flag 'M'
Syntax: save
Note: usually the server saves its configuration file just before
switching maps. use this command if you made an important change to the
config file, and if you are afraid that the server might crash before
it saves the config automatically.

switchteam => forces a player into the opposite team

Restrictions: requires flag 'K', 'B' or 'M'
Syntax: switchteam <Player ID>

xbans => displays a list of extended ip bans (xbans)

Restrictions: requires flag 'B''
Syntax: xbans <pattern>
Note: works just like the 'bans' command, but it is displaying a *different* list.

addxban => adds an extended ip ban (xban)

Restrictions: requires flag 'B'
Syntax: addxban <ip range>
The ip range can be a single IP address or a range of IP addresses
Example1: addxban 127.0.0.1 - bans the IP address 127.0.0.1
Example2: addxban 127.0.1-5.0-255 - bans all IP addresses between 127.0.0.0 and 127.0.5.255

delxban => removes an extended ip ban (xban)

Restrictions: requires flag 'B'
Syntax: delxban <xban number>
(to view a list that contains xban numbers, type 'xbans')

isxbanned => compares an IP address with all xbans

Restrictions: requires flag 'B'
Syntax: isxbanned <ip address>

rscreen => triggers a screenshot on a client

Restrictions: requires flag 'B'
Syntax: rscreen <Player ID>
Note: this command creates two screenshots
one on your computer, and one on the player's computer. you will still
have to ask the player to send you that file.

regname => displays the registered nickname of a player

Syntax: regname <player id>

hidereg => toggles invisibility of your registration (on/off)