This trigger takes a mandatory variable number as an argument. It returns the value of the player's specified int variable.

Format: Var(exprn)

Arguments:

Return type: int

Error conditions: Returns 'Bottom' if exprn evaluates to 'Bottom', or if exprn evaluates to an invalid variable index.

Example:

trigger1 = Var(0)) = -34
; Triggers if the value of variable 0 is -34.