Escanea con tu iPhone para instalar
Features: Rolls a classic dice
Or Picks a number between custom numbers
Novedades
Versión 1.2
Added updates notifs
Qué hace
27 acciones-
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 las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo 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 en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
Más de sameerhereiki
También te puede gustar
Publicidad