Jyjudefefub Posted January 3, 2023 Share Posted January 3, 2023 Hi. Moved from lua and Seuntjies DiceBot here... Cant figure out how to use my current bet win as next bet. lua : if win then nextbet = currentprofit I understand logic here but cant find currentprofit equivalent: if (payout > 1) { currentBet = ? Thank you. Link to comment Share on other sites More sharing options...
Jyjudefefub Posted January 4, 2023 Author Share Posted January 4, 2023 Found it. if (payout > 1) { var netwin = currentBet * currentPayout; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.