Hello Guest

Recent Posts

Pages: [1] 2 3 ... 10
1
Programmer Mode / Re: High Low Array
« Last post by COBIDEK282 on Today at 07:51:34 pm »
anyone can help fix it?
2
Programmer Mode / Re: High Low Array
« Last post by COBIDEK282 on Today at 01:31:11 pm »
only changes once high to low or vice versa  :'(

Code: [Select]
x = {false, true, false, false, true, false, true, true}
    for i = 0, 7 do
        z = x[i]
    end
bethigh = z
3
Programmer Mode / Re: High Low Array
« Last post by Seuntjie on Today at 12:13:47 pm »
Code: [Select]
--x is a basket (array) with 8 eggs (boolean) inside of it
x = {false, true, false, false, true, false, true, true}
    i     = i+1
    for i = 0, 7 do
--for every egg in the basket x, replace that egg with an apple (number)
        x[i] = 0
    end
--replace the egg called bethigh with a basket called x that is full of apples
    bethigh = x

https://youtu.be/ldjAN3YXRMc
4
Programmer Mode / Re: High Low Array
« Last post by COBIDEK282 on Today at 11:59:57 am »
why below code is not working? :-\

Code: [Select]
x = {false, true, false, false, true, false, true, true}
    i     = i+1
    for i = 0, 7 do
        x[i] = 0
    end
    bethigh = x
5
Programmer Mode / Re: High Low Array
« Last post by Seuntjie on Today at 08:43:28 am »
Have you looked at https://www.lua.org/pil/11.1.html?

you access an item from the array using x[index] (for example x[1])

How you decide which index to access depends on you and your code.
6
Programmer Mode / High Low Array
« Last post by COBIDEK282 on January 24, 2021, 04:55:57 pm »
I am total noob. Trying to figure out how to use array values. Tried myself but couldn't find any solution. Please help a noob!  :'(

Code: [Select]
x = {false, true, false, false, true, false, true, true}
bethigh = -- How to get [x] sequence ??
7
Programmer Mode / Re: PrimeDice - Bet Query
« Last post by Seuntjie on January 22, 2021, 07:10:52 am »
This isn't primedice support or the primedice forum. Maybe try posting here: https://forum.primedice.com/
8
Programmer Mode / PrimeDice - Bet Query
« Last post by MSKD91 on January 21, 2021, 10:16:32 pm »
Hi, I have a problem with the bet query. My JSON query is very simple:

{"query": "mutation{primediceRoll(amount: 0.00000001, target: 66.99, condition: above, currency: btc){payout}}"}

However, it has stopped working. Can anyone tell what changes have been made to the API and how to correctly compose the query?
9
DiceBot General Discussion / Re: Dicebot compatible window pro 10?
« Last post by Seuntjie on January 20, 2021, 07:18:44 am »
It is compatible with windows 10 pro. See the getting started guide: https://bot.seuntjie.com/GettingStarted.aspx
10
DiceBot General Discussion / Dicebot compatible window pro 10?
« Last post by 61Rcti on January 20, 2021, 04:50:00 am »
Why, dicebot can't compatible with window pro 10, where I can't copy paste API Key.
Pages: [1] 2 3 ... 10