Launch a Nuke. ( Popular Game )
What's New
Version 1.0
First release
What it does
18 actions-
Ask for InputEnter 4 Digit Code
-
If
-
Ask for InputLocation?
-
Show Alert
-
Wait
-
Show NotificationNuke launching in 5
-
Wait
-
Show Notification4
-
Wait
-
Show Notification3
-
Wait
-
Show Notification2
-
Wait
-
Show Notification1
-
Wait
-
Show NotificationSuccessfully nuked your destined location.
-
If
-
Show Alert
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#define color darkorange
#define glyph fire
const ProvidedInput = prompt("Enter 4 Digit Code", "Number")
if ProvidedInput == 8068 {
prompt("Location?", "Text")
alert("Are you sure you want to nuke that location?", "")
wait(2)
showNotification("Nuke launching in 5", "", false)
wait(0)
showNotification("4", false)
wait(0)
showNotification("3", "", false)
wait(0)
showNotification("2", "", false)
wait(0)
showNotification("1", "", false)
wait(0)
showNotification("Successfully nuked your destined location.", "", true)
} else {
confirm("Wrong Code!")
}
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
You Might Also Like
Advertisement