Scanne avec ton iPhone pour installer
Features: Rolls a classic dice
Or Picks a number between custom numbers
Nouveautés
Version 1.2
Added updates notifs
Ce qu’il fait
27 actions-
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
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.
#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()
}
}
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 sameerhereiki
Ça pourrait aussi te plaire
Publicité