Hello Guest

Print Worst Streak

  • 4 Replies
  • 237 Views
*

MrOnsTr

  • **
  • 24
  • +1/-0
    • View Profile
Print Worst Streak
« on: December 15, 2018, 09:26:59 am »
What is variable to print Worst loss streak, i don't like to open stats panel everytime to look more stats. Dev Seuntjie please add some more stats on home page of Dicebot it will be easy to look & reset Current profit, losses, and streaks! Please update main ui..
OR
Please tell variable to print Worst loss streak!
I m waiting for answer i also asked before got no answer  :'(  :-\

*

Seuntjie

  • *****
  • 211
  • +0/-1
    • View Profile
Re: Print Worst Streak
« Reply #1 on: December 15, 2018, 10:17:00 am »
If you don't like the UI of the bot, don't use it. I have no plans to update it as I find nothing wrong with it and I have more important things to work on.

There isn't one. See the programmer mode tutorials or the variables box in the box for a full list of available variables. If you want to print your worst streak, you need to track it yourself.

*

MrOnsTr

  • **
  • 24
  • +1/-0
    • View Profile
Re: Print Worst Streak
« Reply #2 on: December 15, 2018, 05:27:26 pm »
I m just asking to add stats on main page of Dicebot so no need to always open stats panel when we click somewhere on screen stats panel hide behind application it's very annoying!  And i didn't get this giving suggestion for something good is useless? Why you don't want to change ui? I don't have knowledge of editing Dicebot otherwise i will do myself :(
« Last Edit: December 15, 2018, 05:34:22 pm by ak47 »

*

Vaillant

  • *
  • 4
  • +0/-0
  • Contact me on Telegram : @VaillantTM
    • View Profile
Re: Print Worst Streak
« Reply #3 on: December 18, 2018, 10:46:22 pm »
Here is the code to print the worst Streak
Paste the code in your script, and use worststreak() to print the Worst Streak
Code: [Select]
-- Setup Variables --
maxstreakloses = 0
streakloses = 0

-- Print the Worst Streak --
function worststreak()
if win == 0 then
streakloses = streakloses + 1
if maxstreakloses <= streakloses then
maxstreakloses = streakloses
end
else
streakloses = 0
end

print("\nWorst Lose Streak : "..maxstreakloses.."\n")
end

-- Call the function --
worststreak()
« Last Edit: December 18, 2018, 10:50:44 pm by Vaillant »

*

MrOnsTr

  • **
  • 24
  • +1/-0
    • View Profile
Re: Print Worst Streak
« Reply #4 on: December 20, 2018, 06:35:42 pm »
Thanks Vaillant!  :D