Scan with your iPhone to install
Magic 8-ball is a shortcut that’s for people who don’t have a Magic 8-ball!
What's New
Version 1.0
First release
What it does
23 actions-
CommentMade by CoolM
-
Text
-
Choose from Menu…
-
Choose from MenuYes 🎱
-
Ask for InputPut your question.
-
Repeat
-
Vibrate Device
-
Vibrate Device
-
Vibrate Device
-
List
-
Get Item from List
-
Show AlertMagic 8-ball
-
Choose from MenuNo 🚫
-
Stop This Shortcut
-
Choose from MenuSettings ⚙️
-
Choose from MenuSettings ⚙️
-
Choose from MenuCredits 🏆
-
Show AlertCredits 🏆
-
Choose from MenuAbout 😀
-
Show AlertAbout 😀
-
Choose from MenuBack ↩️
-
Run ShortcutMagic 8-ball
-
CommentMade by CoolM
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#define mac false
#include 'actions/device'
#define color darkgray
#define glyph dramaMask
// Made by CoolM
menu {
item "Yes 🎱":
prompt("Put your question.", "Text")
repeat _ for 3 {
vibrate()
vibrate()
vibrate()
}
const List = list("Yes", "Most likely ", "Ask again later ", "Yes definitely ", "Don’t count on it", "Signs point to yes", "My sources say No", "Reply hazy try again ", "Very Doubtful ", "Cannot predict now", "It is decidedly so", "You may rely on it")
getListItem(List, 0)
alert(, "Magic 8-ball")
item "No 🚫":
stop()
item "Settings ⚙️":
menu "Settings ⚙️" {
item "Credits 🏆":
alert("Made by CoolM", "Credits 🏆")
item "About 😀":
alert("I made this shortcut for fun.", "About 😀")
item "Back ↩️":
runSelf()
}
}
// Made by CoolM
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 coolm
You Might Also Like
Advertisement