Escaneie com o iPhone para instalar
Roll The Dice For You!
Novidades
Versão 3.2
Updated By Shortcuts blocks
O que ele faz
30 ações-
Choose from MenuNumber
-
Choose from Menu6
-
Random Number
-
Random Number
-
Show Alert
-
Run ShortcutRoll The Dice
-
Choose from Menu12
-
Random Number
-
Random Number
-
Show Alert
-
Run ShortcutRoll The Dice
-
Choose from Menu18
-
Random Number
-
Random Number
-
Show Alert
-
Run ShortcutRoll The Dice
-
Choose from MenuCustom
-
Ask for InputHow much sides
-
If
-
Show Alert…
-
If
-
Random Number
-
Random Number
-
Show Alert
-
Run ShortcutRoll The Dice
-
Get My Shortcuts
-
If
-
Dictionary
-
Run ShortcutShortcuts Updater
-
If
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/shortcuts'
#define color green
#define glyph dice
const IfResult = menu "Number" {
item "6":
randomNumber(1, 6)
randomNumber(1, 6)
confirm("{} And {}")
runSelf(MenuResult)
item "12":
randomNumber(1, 12)
randomNumber(1, 12)
confirm("{} And {}")
runSelf(MenuResult)
item "18":
randomNumber(1, 18)
randomNumber(1, 18)
confirm("{} And {}")
runSelf(MenuResult)
item "Custom":
const ProvidedInput = prompt("How much sides", "Number")
const MenuResult = if ProvidedInput >= 100 {
alert("Is To Much Found In That Number Must Be under 100...", ProvidedInput)
} else {
randomNumber(1, ProvidedInput)
randomNumber(1, ProvidedInput)
confirm("{} And {} ")
}
runSelf(IfResult)
}
const MyShortcuts = getShortcuts()
if MyShortcuts {
const Dictionary = {
"name ": "Roll The Dice",
"shareid": 206,
"version": "3.2"
}
run("Shortcuts Updater", Dictionary)
} else {
}
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 thefinders
Você também pode gostar
Publicidade