This trigger takes an optional ID number as an argument. If the ID number is omitted, IsHelper returns 1 if the player is a helper character, and 0 otherwise. If the ID number is included, then IsHelper returns 1 if the player is a helper character with the specified ID number, and 0 otherwise.

Format:

IsHelper

IsHelper(exprn)

Arguments:

Return type: boolean (0 if false or 1 if true)

Error conditions: Returns 'Bottom' if exprn evaluates to 'Bottom'.

Example:

trigger1 = !IsHelper
; Triggers if the player is not a helper-type character.
trigger1 = IsHelper(1234)
; Triggers if the player is a helper character with ID number 1234.