Scanne avec ton iPhone pour installer
Quick and easy rolling of different types of dice. Has a custom die option.
Nouveautés
Version 1.0
First release
Ce qu’il fait
37 actions-
Choose from MenuWhat Kind?
-
Choose from Menutetrahedron (4 sides)
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from Menunormal die (6 sides)
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from Menuoctahedron (8 sides)
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from Menudodecahedron (12 sides)
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from Menuicosahedron (20 sides)
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from Menucustom die (# number of sides)
-
Ask for InputHow Many Sides?
-
Random Number
-
Show NotificationRolling...
-
Wait
-
Show Notification…
-
Choose from MenuRoll Again?
-
Choose from MenuYes
-
Run ShortcutRoll A Die
-
Choose from MenuNo
-
Stop This Shortcut
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#define color gray
#define glyph boxOutline
menu "What Kind?" {
item "tetrahedron (4 sides)":
randomNumber(1, 4)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
item "normal die (6 sides)":
randomNumber(1, 6)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
item "octahedron (8 sides)":
randomNumber(1, 8)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
item "dodecahedron (12 sides)":
randomNumber(1, 12)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
item "icosahedron (20 sides)":
randomNumber(1, 20)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
item "custom die (# number of sides)":
const ProvidedInput = prompt("How Many Sides?", "Number")
randomNumber(1, ProvidedInput)
showNotification("Rolling... ", false)
wait(0)
showNotification(, false)
}
menu "Roll Again?" {
item "Yes":
runSelf()
item "No":
stop()
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de theshortcutguy2
Ça pourrait aussi te plaire
Publicité