Jump to content
Jelena

🏆 [0.1 BTC] Primedice & Chill: F.R.I.E.N.D.S

Recommended Posts

Over 94.56

 

placed by neoooo78 on 16/09/2019

Wagered

0.00000100btc.svg

Multiplier

6.00x

Profit

0.00000500btc.svg

Under: 13.26

 

placed by neoooo78 on 16/09/2019

Wagered

0.00000100btc.svg

Multiplier

6.00x

Profit

0.00000500btc.svg

 

Edited by Neoooo

Share this post


Link to post
Share on other sites

Whew, a nice and straightforward promo with easily-scriptable conditions!

97.46

placed by Serlite on 16/09/2019

Wagered

0.03900000xrp.svg

Multiplier

6.00x

Profit

0.19500000xrp.svg

4.66

placed by Serlite on 16/09/2019

Wagered

0.00014000ltc.svg

Multiplier

6.00x

Profit

0.00070000ltc.svg

As for the script, here's one I dug up and updated for this challenge. Good luck! Just remember to set bethigh to true/false depending on whether you're hunting over or under.

chance   = 16.5
nextbet  = 0.00014
bethigh  = false
currency = "Ltc"

function dobet()
    -- break down roll number into comparable components
    local digit4 = round((lastBet.Roll * 100) % 10)

    -- get last digit of bet ID
    local betIdString = tostring(lastBet.Id)
    local lastBetIdDigit = string.sub(betIdString, string.len(betIdString))

    if digit4 == 6 and lastBetIdDigit == "6" and win then
        print(lastBet.Id)
        stop()
    end
end

function round(x)
    return math.floor(x + 0.5)
end

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×