Escaneie com o iPhone para instalar
Features: Rolls a classic dice
Or Picks a number between custom numbers
Novidades
Versão 1.2
Added updates notifs
O que ele faz
27 ações-
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
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#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()
}
}
Abrir no Cherri Playground
Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de sameerhereiki
Você também pode gostar
Publicidade