FED2 ADVANCED WORKBENCH
SCRIPT REFERENCE

CHECKMONEY

Checks whether a player's bank balance has a certain value and calls a different event depending on the outcome of the check.

Parameters:
Value to test - The number of groats you want to check for
Higher - The event to call if the player's bank balance is higher than the value
Equals - The event to call if the player's bank balance is equal to the value
Lower - The event to call if the player's bank balance is lower than the value

If you do not want an event to be called for one of the possibilities, leave the parameter blank.

Example:
checkmoney script: amount 92: higher moves.cab.3: equals moves.cab.3: lower moves.cab.2

More scripts