Adding A Boolean

I am completely new at coding, and I'm trying to add a Boolean to my text(if necessary, or another means of coding). The problem I'm having is that I'm not sure how to do so, and the other tutorials on Quest, although helpful, didn't help me understand what I'm doing wrong. Here is what I'm trying to do:

I want the character to to have a randomly decided amount of coins, and have a choice to buy something, but can't if they don't have enough.

I am completely lost on how to do so.

here's a link/guide on Booleans/"flags", see if this helps, if not let us know, and we'll help you more:

as for your second issue: (scroll down past the general quest coding stuff, to about halfway to get to Attribute and the 'if' Script, the "two super scripts" part of my post, for help, and near the very bottom is help on doing arithmetic operations and transactions: buying/selling)

more help on the basics of quest and its programming: (link to a bunch of links/guides)

This topic is now closed. Topics are closed after 60 days of inactivity.