Help! Generator not respecting multiple variables
Hi. I've made a loot generator for the Red Market's RPG here:
Source Code: pastebin.com 9Pzri0bD
I have two variables: "$loot" and "$smloot"
The generator is :
A trove containing [[loot]. [0-10] charges remaining.
|[smloot]. [0-5] charges remaining.
The generator output is not returning any word under "$smloot". The output is producing "A trove containing [smloot]."