Skip to content

Flag

Set a specific flag slot or a one whose id is in a flagvar to a value.

Syntax

(1)

|flag,flagid,value|

(2)

|flag,dummy,flagvar,value|

Parameters

dummy: var

This parameter has no meaning, but its presence is required to process this command using the (2) form since the amount of parameters is what determines how the flags slot is obtained.

flagid: int

The flag slot to set. This must corresponds to an integer of a valid flag slot or an exception will be thrown.

flagvar: int

The flagvar containing the id of the flag slot to set. This must corresponds to an integer of a valid flagvar slot or an exception will be thrown.

value: true | false

The value to set the flag slot to. This must be equal to true or false without case sensitivity or an exception will be thrown.