Scorched 3D supports the use of scripts to both enhance the engine and to create new and funky weapons. Scripting support was introduced in Scorched3D version 42.
Scripts are written in the LUA scripting language. Scorched3D adds some new functions and structures to LUA so the script can interact with the scorched engine. For example these functions allow you to fire a weapon or send a message to other players.
Scripting is useful when you want to perform actions based on complex decisions, or simply when an alternative is not available via the XML configuration files. For example you may want to find all the players in a given team and give them some money, or kill all players below a certain amount of health. Scripting makes all of this possible.
LUA is a fully functioning programming (scripting) language (LUA Documentation). However LUA scripts run within a virtual machine that only allows it to perform specified operations. When LUA was added to Scorched3D any operation that was deemed to be unsecure was removed from the language. Amongst these included accessing any operating system functions and file reading/writing.