ShareShortcuts

Roll The Dice

Roll The Dice For You!

thefinders
Fork “Roll The Dice”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so thefinders gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
36K
Saved
0
Actions
30
Category
Utilities
Version
3.2
Language
EN

Roll The Dice For You!

What's New

Version 3.2

Updated By Shortcuts blocks

Version History
3.2 Jan 8, 2023

Updated By Shortcuts blocks

1.0 Jan 8, 2023

First release

What it does

30 actions
  1. Choose from Menu
    Number
  2. Choose from Menu
    6
  3. Random Number
  4. Random Number
  5. Show Alert
  6. Run Shortcut
    Roll The Dice
  7. Choose from Menu
    12
  8. Random Number
  9. Random Number
  10. Show Alert
  11. Run Shortcut
    Roll The Dice
  12. Choose from Menu
    18
  13. Random Number
  14. Random Number
  15. Show Alert
  16. Run Shortcut
    Roll The Dice
  17. Choose from Menu
    Custom
  18. Ask for Input
    How much sides
  19. If
  20. Show Alert
    …
  21. If
  22. Random Number
  23. Random Number
  24. Show Alert
  25. Run Shortcut
    Roll The Dice
  26. Get My Shortcuts
  27. If
  28. Dictionary
  29. Run Shortcut
    Shortcuts Updater
  30. If

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#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 {
}
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by thefinders

See All

You Might Also Like

See All
Advertisement