Set flag when money reaches a certain amount [SOLVED]

Is there any way to set a flag when the player has a certain amount of the in-game currency?


Never mind, figured it out.