Hello Guest

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

• 1 Replies
• 499 Views

#### Gustafff

• 12
• +1/-0
##### How could I bet on nonces defined by myself and nonces that I didn't define bett
« on: November 05, 2019, 06:54:26 pm »
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

• 468
• +13/-2
##### Re: How could I bet on nonces defined by myself and nonces that I didn't define bett
« Reply #1 on: November 10, 2019, 06:57:39 pm »
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