Mit dem iPhone scannen, um zu installieren
Features: Rolls a classic dice
Or Picks a number between custom numbers
Neue Funktionen
Version 1.2
Added updates notifs
Was er macht
27 Aktionen-
CommentThanks for downloading my shortcut if there is any bugs contact me on discord:demonslayer64#9649 or in the coments
-
Text
-
Set VariableLocalversion
-
URLhttps://shareshortcuts.com/jsonstore/1292/jeff-6077d508c2da9.json
-
Get Contents of URL…
-
Set VariableOnlineversion
-
Nothing
-
If
-
Show Alert
-
Open URLs
-
If
-
Show Alert
-
Show Alert
-
Nothing
-
Choose from Menu
-
Choose from MenuClassic dice
-
Random Number
-
Show Result
-
Choose from MenuCustom dice
-
Ask for InputFirst number
-
Set VariableNum1
-
Nothing
-
Ask for InputSecond number
-
Set VariableNum2
-
Nothing
-
Random Number
-
Show Result
Als Code ansehen
Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.
#include 'actions/web'
#define color green
#define glyph braille
// Thanks for downloading my shortcut if there is any bugs contact me on discord:demonslayer64#9649 or in the coments
const Text = "{\\"version\\":\\"1.2\\"}"
@Localversion = Text
url("https://shareshortcuts.com/jsonstore/1292/jeff-6077d508c2da9.json")
downloadURL()
@Onlineversion
nothing()
if Text != @Onlineversion {
confirm("There is a new update available please download it")
openURL("https://shareshortcuts.com/shortcuts/1292-pick-a-number.html")
} else {
confirm("How to use:\nClassic dice: 1-6\nCustom dice: first num - second num")
confirm("Thanks for downloading my shortcut if there is any bugs contact me on discord:demonslayer64#9649 or in the coments")
nothing()
menu nil {
item "Classic dice":
randomNumber(1, 6)
show()
item "Custom dice":
prompt("First number", "Number")
@Num1
nothing()
prompt("Second number", "Number")
@Num2
nothing()
randomNumber(@Num1, @Num2)
show()
}
}
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 sameerhereiki
Das gefällt dir vielleicht auch
Werbung