This trigger takes an ID number as an optional argument. If the ID number is omitted, then NumHelper returns the total number of helpers currently owned by the player. If the ID number is included, then NumHelper returns the total number of helpers with that ID number owned by the player. The ID number must be greater than 0. If the ID number is 0 or less, then all helpers are counted.

Format:

NumHelper

NumHelper(exprn)

Arguments:

Return type: int

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

Examples:

trigger1 = NumHelper < 2
; Triggers if the player now has less than 2 helpers.

trigger1 = NumHelper(1234) < 2
; Triggers if the player now has less than 2 helpers with ID 1234.