Structured Script is a scripting language loosely based on Structured Text from the   IEC 61131-3 Structured Text