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.<br><br>|[smloot]. [0-5] charges remaining.<br><br>]
The generator output is not returning any word under "$smloot". The output is producing "A trove containing [smloot]."