No idea what you're doing wrong. You're supposed to type:
gold 10000
(or any other integer after gold)
Ok thanks for the example mad
P.s love the game