ShareShortcuts

Ticket Simulator

This is my first ever project this is a Ticket Simulator

greenfantisy
Dupliquer « Ticket Simulator »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que greenfantisy soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
21K
Enregistré
1
Actions
87
Catégorie
Fun
Version
1.0
Langue
EN

This is my first ever project this is a Ticket Simulator . You book flights and just basically just have Fun Version 1.4 Made By GreenFantisy

Nouveautés

Version 1.0

First release

Historique des versions
1.0 24 août 2024

First release

Ce qu’il fait

87 actions
  1. Comment
    Flight Simulator 1.4 Made By GreenFantisy
  2. Text
  3. Choose from Menu
    …
  4. Choose from Menu
    Book A Flight ✈️
  5. Ask for Input
    Where Will You Be Flying To Today?🛬 (Country)
  6. Set Variable
    Destination
  7. Ask for Input
    Where From? 🛫 (Country)
  8. Set Variable
    From
  9. Ask for Input
    Which Airport Do You Want To Land At Type N/A If You Dont Care🛬
  10. If
  11. If
  12. Set Variable
    Destanation Airport
  13. Save File
  14. Ask for Input
    Which Airport Do You Want To Departure At Type N/A With Capitals If You Don’t Care🛫
  15. If
  16. If
  17. Set Variable
    From Airport
  18. Save File
  19. Random Number
  20. Set Variable
    Gate
  21. Choose from Menu
    Here Is The Available Airlines From … … To … …
  22. Choose from Menu
    WizzAir🟪⬜️
  23. Random Number
  24. Set Variable
    Wizz Price
  25. Show Alert
  26. Show Notification
    Your Flight Has Successfully Been Booked To … … At Gate … With WizzAir
  27. Choose from Menu
    British Airways⬜️🟥🟦
  28. Random Number
  29. Set Variable
    GB A Price
  30. Show Alert
  31. Show Notification
    Your Flight Has Successfully Been Booked To … … At Gate … With British Airways
  32. Choose from Menu
    RyanAir🟦🟨
  33. Random Number
  34. Set Variable
    Ryan Price
  35. Show Alert
  36. Show Notification
    Your Flight Has Successfully Been Booked To … … At Gate … With Ryanair
  37. Choose from Menu
    EasyJet🟧⬜️
  38. Random Number
  39. Set Variable
    Easy Price
  40. Show Alert
  41. Show Notification
    Your Flight Has Successfully Been Booked To … … At Gate … With EasyJet
  42. Choose from Menu
    Bulgaria Air⬜️🟩🟥🇧🇬
  43. Random Number
  44. Set Variable
    BG Price
  45. Show Alert
  46. Show Notification
    Your Flight Has Successfully Been Booked To … … At Gate … With Bulgaria Air
  47. Choose from Menu
    Spirit🟨
  48. Random Number
  49. Set Variable
    Spirit Price
  50. Show Alert
  51. Show Notification
    Your Flight Has Successfully Been Booked To … … At Gate … With Spirit
  52. Choose from Menu
    Delta🟥🟪
  53. Random Number
  54. Set Variable
    Delta Price
  55. Show Alert
  56. Show Notification
    Your Flight Has Successfully Been Booked To … … At Gate … With Delta
  57. Choose from Menu
    Emieraties⬜️🟥🟩
  58. Random Number
  59. Set Variable
    Emi Price
  60. Show Alert
  61. Show Notification
    Your Flight Has Successfully Been Booked To … … At Gate … With Emieraties
  62. Choose from Menu
    Qatar Airways⬜️🟪🟥
  63. Random Number
  64. Set Variable
    QA Price
  65. Show Alert
  66. Show Notification
    Your Flight Has Successfully Been Booked To … … At Gate … With Qatar Airways
  67. Choose from Menu
    Cancel Flight❌
  68. Run Shortcut
    Ticket Simulator
  69. Choose from Menu
    Dev Logs 💻
  70. Text
  71. Choose from Menu
    …
  72. Choose from Menu
    Go Back⬅️
  73. Run Shortcut
    Ticket Simulator
  74. Choose from Menu
    Personal Preferences⚙️
  75. Choose from Menu
    Here's The Personal Preferences
  76. Choose from Menu
    Theme🖥️
  77. Choose from Menu
  78. Choose from Menu
    Light⚪️
  79. Set Appearance
  80. Run Shortcut
    Ticket Simulator
  81. Choose from Menu
    Dark⚫️
  82. Set Appearance
  83. Run Shortcut
    Ticket Simulator
  84. Choose from Menu
    Cancel❌
  85. Run Shortcut
    Ticket Simulator
  86. Choose from Menu
    Quit❌
  87. Choose from Menu
    My Flights 🛫

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#include 'actions/settings'
#include 'actions/documents'
#define color lightblue
#define glyph airplane

/*
Flight Simulator 1.4
Made By GreenFantisy
*/

menu  {
item "Book A Flight ✈️":
	prompt("Where Will You Be Flying To Today?🛬 (Country)")
	@Destination
	prompt("Where From? 🛫 (Country)")
	@From
	const ProvidedInput = prompt("Which Airport Do You Want To Land At Type N/A If You Dont Care🛬")
	if ProvidedInput == "N/A" {
	} else {
		@DestanationAirport = ProvidedInput
		saveFile("/Ticket Simulator/DA.txt", @DestanationAirport, true)
	}
	const ProvidedInput1 = prompt("Which Airport Do You Want To Departure At Type N/A With Capitals If You Don’t Care🛫")
	if ProvidedInput1 == "N/A" {
	} else {
		@FromAirport = ProvidedInput1
		saveFile("/Ticket Simulator/FA.txt", @FromAirport, true)
	}
	randomNumber(1, 20)
	@Gate
	menu "Here Is The Available Airlines From {@From} {@FromAirport} To  {@Destination} {@DestanationAirport}" {
	item "WizzAir🟪⬜️":
		randomNumber(50, 150)
		@WizzPrice
		confirm("This Will Cost {@WizzPrice}£ Continue?")
		showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With WizzAir ")
	item "British Airways⬜️🟥🟦":
		randomNumber(400, 700)
		@GBAPrice
		confirm("This Will Cost {@GBAPrice}£ Continue?")
		showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With British Airways")
	item "RyanAir🟦🟨":
		randomNumber(10, 100)
		@RyanPrice
		confirm("This Will Cost {@RyanPrice}£ Continue?")
		showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With Ryanair\n")
	item "EasyJet🟧⬜️":
		randomNumber(80, 200)
		@EasyPrice
		confirm("This Will Cost {@EasyPrice}£ Continue?")
		showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With EasyJet\n")
	item "Bulgaria Air⬜️🟩🟥🇧🇬":
		randomNumber(200, 300)
		@BGPrice
		confirm("This Will Cost {@BGPrice}£ Continue?")
		showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With Bulgaria Air")
	item "Spirit🟨":
		randomNumber(15, 115)
		@SpiritPrice
		confirm("This Will Cost {@SpiritPrice}£ Continue?")
		showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate}  With Spirit")
	item "Delta🟥🟪":
		randomNumber(200, 300)
		@DeltaPrice
		confirm("This Will Cost {@DeltaPrice}£ Continue?")
		showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate}  With Delta")
	item "Emieraties⬜️🟥🟩":
		randomNumber(700, 1100)
		@EmiPrice
		confirm("This Will Cost {@EmiPrice}£ Continue?")
		showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With  Emieraties")
	item "Qatar Airways⬜️🟪🟥":
		randomNumber(650, 1000)
		@QAPrice
		confirm("This Will Cost {@QAPrice}£ Continue?")
		showNotification("Your Flight Has Successfully Been Booked To {@Destination} {@DestanationAirport} At Gate {@Gate} With  Qatar Airways")
	item "Cancel Flight❌":
		runSelf()
	}
item "Dev Logs 💻":
	menu  {
	item "Go Back⬅️":
		runSelf()
	}
item "Personal Preferences⚙️":
	menu "Here's The Personal Preferences " {
	item "Theme🖥️":
		menu nil {
		item "Light⚪️":
			darkMode()
			runSelf()
		item "Dark⚫️":
			darkMode()
			runSelf()
		}
	item "Cancel❌":
		runSelf()
	}
item "Quit❌":
item "My Flights 🛫":
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de greenfantisy

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité