Forhåndsvisning
DELETED
Nyheder
Version 2.0
DELETED
Hvad den gør
33 handlinger-
CommentMade by QuartzWarrior Version: 1.0 Works offline.
-
Get File
-
If
-
Show Alert🚨 Alert 🚨
-
Dictionary
-
Create Folder
-
Save File
-
Run ShortcutScorekeeper
-
If
-
Get Dictionary from Input
-
Choose from MenuKeep your Scores!
-
Choose from MenuSee Current Scores
-
Show Result
-
Run ShortcutScorekeeper
-
Choose from Menu+1
-
Ask for InputWho do you want to add the score to? (Case Sensitive)
-
Get Dictionary Value
-
Calculate
-
Set Dictionary Value
-
Save File
-
Run ShortcutScorekeeper
-
Choose from Menu-1
-
Ask for InputWho do you want to add the score to? (Case Sensitive)
-
Get Dictionary Value
-
Calculate
-
Set Dictionary Value
-
Save File
-
Run ShortcutScorekeeper
-
Choose from MenuReset Scores
-
Delete Files
-
Run ShortcutScorekeeper
-
Choose from MenuExit Scorekeeper
-
Stop This Shortcut
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/documents'
#define color blue
#define glyph walletPass
/*
Made by QuartzWarrior
Version: 1.0
Works offline.
*/
const File = getFileFromFolder(, "ReUp/Scorekeeper.json", false)
if !File {
alert("This part will have the keys (people playing the game or people you are keeping score on). Fill in the area that says key. If you need more space click: ➕ Add new item, then click on number.", " 🚨 Alert 🚨 ")
const Dictionary = {
"{Ask}": ""
}
createFolder("ReUp/")
saveFile("ReUp/Scorekeeper.json", Dictionary)
runSelf()
} else {
const Dictionary1 = getDictionary(File)
menu "Keep your Scores!" {
item "See Current Scores":
show(Dictionary1)
runSelf()
item "+1":
prompt("Who do you want to add the score to? (Case Sensitive)")
const DictionaryValue = getValue(Dictionary1)
const Dictionary2 = setValue(Dictionary1)
saveFile("ReUp/Scorekeeper.json", Dictionary2, true)
runSelf()
item "-1":
prompt("Who do you want to add the score to? (Case Sensitive)")
const DictionaryValue1 = getValue(Dictionary1)
const Dictionary3 = setValue(Dictionary1)
saveFile("ReUp/Scorekeeper.json", Dictionary3, true)
runSelf()
item "Reset Scores":
deleteFiles(File)
runSelf()
item "Exit Scorekeeper":
stop()
}
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra quartzwarrior
Du vil måske også kunne lide
Annonce