Checkbox Progress

Checkbox Progress

From
Discord
Status
Updating
Share
Entries

Progress

if(prop("One") and prop("Two") and prop("Three"), "✅", slice("■■■■■■■■■", 0, (prop("One") ? 3 : 0) + (prop("Two") ? 3 : 0) + (prop("Three") ? 3 : 0)) + slice("□□□□□□□□□", 0, 9 - ((prop("One") ? 3 : 0) + (prop("Two") ? 3 : 0) + (prop("Three") ? 3 : 0))))
if(prop("One") and prop("Two") and prop("Three"), "✅",
Checks to see if all of the checkboxes are checked and if so displays a ✅
slice("■■■■■■■■■", 0, (prop("One") ? 3 : 0) + (prop("Two") ? 3 : 0) + (prop("Three") ? 3 : 0))
Otherwise, give each checked box a value of 3 and add them together, then only show that number of
+ slice("□□□□□□□□□", 0, 9 - ((prop("One") ? 3 : 0) + (prop("Two") ? 3 : 0) + (prop("Three") ? 3 : 0))))
Then subtract the total of the checked boxes from 9 (the total number of boxes) to get the remaining
 
By Ben  •  Latest  •  Was this helpful? Please consider buying me a coffee. Cheers!By Ben  •  Latest  •  Was this helpful? Please consider buying me a coffee. Cheers!
By BenLatest • Was this helpful? Please consider buying me a coffee. Cheers!