Vorschau
DELETED
Neue Funktionen
Version 2.0
DELETED
Was er macht
33 Aktionen-
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
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#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()
}
}
In Cherri Playground öffnen
Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.
Bewertungen und Rezensionen
Rezension schreiben–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Werbung
Mehr von quartzwarrior
Das gefällt dir vielleicht auch
Werbung