Flux Scripting Language

Could support commands like the following ...

gold = 1
gold = gold + 1
add "key" to bag
remove "key" from bag
if key in bag then door = open
if gold = 5 then message = "You are rich"
unless door is open then message = "Door is closed"
message = "Kilroy was here"

Or shorter

gold += 1
bag += "key"
bag.key ? open = 1 : open = 0

References