It seems, a whole bunch of people doesn’t know, how to format screenplay with a correct formatting in the forum. Since this forum (at least partly) is able to process html, the pre-tag is an easy way to attain this. Unfortunately, not every html will be processed. So I’ll enclose a screenshot for you to show the correct formatting using the pre-tag.
if hero has token "legendary sword"
vendor says "Now even those monsters are no match for you anymore!"
vendor says "Do you have enough gold to buy that sword?"
if hero number of "gold" >= 100
vendor says "Oh yeah! Here you go!"
hero receives token "legendary sword"
hero number or "gold" decreases with 100
vendor says "I see! Come again as soon as you have the money."