Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2021-01-21 00:00:00Z and 2021-01-22 00:00:00Z
Avatar

SYNOPSIS

eval_if_cmd s[check_command] s[command] ?s[else] ?s[command]

DESCRIPTION

eval_if_cmd executes a command based on the existence of a command or config. So it can be used to write backwards and custom client compatible configs.

EXAMPLE

eval_if_cmd "say_self" "say_self hello" else "echo hello"
Exported 1 message(s)