Post
Topic
Board Gambling discussion
Re: Seuntjie' Dice bot programmers mode discussion.
by
wasek
on 06/03/2021, 11:48:01 UTC
primary expression expected, got '#'
LOL... sorry, I am an idiot Roll Eyes  Embarrassed Embarrassed I have been programming in Python a lot lately... and Python uses "#" for comments... LUA (which Dicebot uses), uses "--" for comments! Roll Eyes Roll Eyes

So, replace: #nonce not reset
with: --nonce not reset

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


Or just delete both lines with #... they're not actually required.
received

LUA ERROR!!
assignment statement expected, got 'not'