primary expression expected, got '#'
LOL... sorry have been programming in Python a lot lately... and Python uses "#" for comments... LUA (which Dicebot uses), uses "--" for comments!

replace: #nonce not reset
with: --nonce not reset
and replace: #nonce reset, continue
with: --nonce reset, continue