Hello Guest

How could I bet on nonces defined by myself and nonces that I didn't define bett

  • 1 Replies
  • 27 Views
*

Gustafff

  • **
  • 12
  • +1/-0
    • View Profile
How could I bet on nonces defined by myself and nonces that I didn't define betting on 0?

basebet = 0
nextbet = basebet
chance = 90
basebet1 = balance/1000
x= 1,2,8,9,15,26,58

function dobet()
x= 1,2,8,9,15,26,58    Assign multiple values to x, when nonce equals any of these values place the bet
basebet1 = balance/1000
if nonce  ==  x then
nextbet = basebet1
chance = 49.5
else
nextbet = 0
chance = 90
end

*

Seuntjie

  • *****
  • 352
  • +11/-2
    • View Profile
nonce is a property of the lastBet object. There's a UML for it on https://bot.seuntjie.com/programmermode.aspx

Also, see https://www.lua.org/pil/11.1.html for using arrays in LUA