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:
http://textadventures.co.uk/forum/samples/topic/5559/attributes-and-if-script-guide-by-hk (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:
http://textadventures.co.uk/forum/general/topic/ljjm32av4e2t9ot49k478g/help#710be61e-eae1-4af1-8363-520cc718ba1c (link to a bunch of links/guides)