ShareShortcuts

Dabloon Bank

Dabloon bank is a fake bank

j5tfft
Fork “Dabloon Bank”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så j5tfft får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
50K
Gemt
2
Handlinger
164
Kategori
API
Version
1.0
Sprog
EN

Dabloon bank is a fake bank

Nyheder

Version 1.0

First release

Versionshistorik
1.0 16. dec. 2022

First release

Hvad den gør

164 handlinger
  1. Comment
    Instructions: -From TikTok, Share> More> Dabloon Bank (in share sheet) -Enter how many Dabloons youre adding or losing This will save the tiktok you were on in your Dabloon Bank transaction history
  2. Comment
    Created by @canaan.g1
  3. Text
  4. Set Variable
    Ver
  5. Get File
  6. If
  7. Ask for Input
    What’s your name?
  8. Save File
  9. Set Variable
    name
  10. If
  11. Set Variable
    name
  12. Get File
  13. If
  14. Text
  15. Set Variable
    Bal
  16. If
  17. Get File
  18. Set Variable
    Bal
  19. Text
  20. Choose from Menu
    …
  21. Choose from Menu
    ➕ Dabloons
  22. Ask for Input
    How many Dabloons would you like to add?
  23. Text
  24. If
  25. Show Alert
  26. Get File
  27. If
  28. Text
  29. Save File
  30. Show Notification
    Transaction complete. Balance: … Dabloons
  31. Text
  32. Append to Text File
  33. If
  34. Get File
  35. Calculate
  36. Save File
  37. Text
  38. Append to Text File
  39. Show Notification
    Transaction complete. Balance: … Dabloons
  40. Choose from Menu
    ➖ Dabloons
  41. Ask for Input
    How many Dabloons would you like to take out?
  42. Text
  43. Get File
  44. If
  45. Text
  46. Save File
  47. Calculate
  48. Save File
  49. Text
  50. Append to Text File
  51. Show Notification
    Deposit complete. Balance: … Dabloons
  52. If
  53. Calculate
  54. Save File
  55. Text
  56. Append to Text File
  57. Show Notification
    Transaction complete. Balance: … Dabloons
  58. Choose from Menu
    💳 View ATM Card
  59. Get Contents of URL
    https://github.com/cnan00/DabloonBank/raw/main/ATM%20CARD.png
  60. Overlay Text
  61. Overlay Text
  62. Quick Look
  63. Choose from Menu
    🛍️ Purchase Item
  64. Ask for Input
    What did you purchase?
  65. Ask for Input
    How much did it cost?
  66. Text
  67. Append to Text File
  68. Text
  69. Append to Text File
  70. Calculate
  71. Save File
  72. Show Notification
    You purchased: … for … Dabloons. You now have: … Dabloons left.
  73. Choose from Menu
    🐈 Companions
  74. Choose from Menu
    Companions
  75. Choose from Menu
    🔎 View Companions
  76. Get File
  77. If
  78. Show Alert
  79. If
  80. Split Text
  81. Choose from List
  82. Choose from Menu
    ➕ Adopt Companion
  83. Ask for Input
    What’s your new companion’s name?
  84. Ask for Input
    Congrats! How many Dabloons did adoption cost? Type 0 if … was a gift. This will adjust your Dabloon Balance.
  85. Ask for Input
    What type of creature is …? (Example: Dragon)
  86. Ask for Input
    Are there any notes you’d like to keep about …?
  87. Text
  88. Append to Text File
  89. Get File
  90. Calculate
  91. Save File
  92. Text
  93. Append to Text File
  94. Show Notification
    Congrats on your adoption of …! Your available balance is now … Dabloons.
  95. Choose from Menu
    < Back
  96. Run Shortcut
    Dabloon Bank
  97. Choose from Menu
    📦 Item Inventory
  98. Get File
  99. If
  100. Show Notification
    Nothing to see here. Purchase something to see your inventory.
  101. If
  102. Split Text
  103. Choose from List
  104. Set Variable
    ChosenItem
  105. Choose from Menu
    What would you like to do with "…"?
  106. Choose from Menu
    Edit Item Name
  107. Ask for Input
    What would you like to change “…” to?
  108. Get File
  109. Replace Text
  110. Save File
  111. Show Notification
    You have changed your "…" to "…". Your inventory has been updated.
  112. Choose from Menu
    Sell Item
  113. Ask for Input
    How much are you selling “…” for? This will be automatically added to your balance.
  114. Get File
  115. Replace Text
  116. Save File
  117. Get File
  118. Calculate
  119. Save File
  120. Text
  121. Append to Text File
  122. Show Notification
    You sold your "…" for … Dabloons. These Dabloons have been added to your inventory. You now have … Dabloons.
  123. Choose from Menu
    Remove item
  124. Show Alert
  125. Text
  126. Append to Text File
  127. Get File
  128. Replace Text
  129. Save File
  130. Show Notification
    Your "…" has been removed from your inventory
  131. Choose from Menu
    Delete All Inventory
  132. Show Alert
  133. Show Alert
  134. Get File
  135. Delete Files
  136. Show Notification
    Your inventory has been deleted
  137. Choose from Menu
    < Cancel
  138. Run Shortcut
    Dabloon Bank
  139. Choose from Menu
    🕣 History
  140. Get File
  141. Quick Look
  142. Choose from Menu
    ⚙️ Settings
  143. Choose from Menu
    Settings
  144. Choose from Menu
    Edit Inventory Manually
  145. Get File
  146. Ask for Input
    Manualy Edit Inventory. Each item must be on a new line.
  147. Save File
  148. Show Notification
    Your inventory has been manually updated.
  149. Choose from Menu
    Edit Companions Manually
  150. Get File
  151. Ask for Input
    Manualy Edit companions. Each companion must be on a new line.
  152. Save File
  153. Show Notification
    Your companion list has been manually updated.
  154. Choose from Menu
    Check for update
  155. Show Alert
  156. URL
    https://linktr.ee/DabloonBank
  157. Open URLs
  158. Choose from Menu
    Reset All
  159. Show Alert
  160. Show Alert
  161. Get File
  162. Delete Files
  163. Choose from Menu
    < Back
  164. Run Shortcut
    Dabloon Bank

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#include 'actions/web'
#include 'actions/documents'
#define color yellow
#define glyph cat

/*
Instructions:
-From TikTok, Share> More> Dabloon Bank (in share sheet)
-Enter how many Dabloons youre adding or losing

This will save the tiktok you were on in your Dabloon Bank transaction history

*/
// Created by @canaan.g1

@Ver = "Version 3.0"
const File = getFileFromFolder(, "dabloonbank/name.txt", false)

if !File {
	const ProvidedInput = prompt("What’s your name?")
	saveFile("dabloonbank/name.txt", ProvidedInput)
	@name
} else {
	@name = File
}
const File1 = getFile("dabloonbank/dBalance.txt", false)

if !File1 {
	@Bal = "0"
} else {
	getFile("dabloonbank/dBalance.txt", false)
	@Bal
}

menu  {
item "➕ Dabloons":
	const ProvidedInput1 = prompt("How many Dabloons would you like to add?", "Number")
	if ProvidedInput1 > 100 {
		confirm("You're attempting to add more than 100 Dabloons! Please verify that all of your Dabloons are fake and not counterfeit!! Press ok to continue. ")
	}
	const File2 = getFile("dabloonbank/dBalance.txt", false)
	if !File2 {
		const Text = "{ProvidedInput1}"
		saveFile("dabloonbank/dBalance.txt", Text, true)
		showNotification("Transaction complete. Balance: {Text} Dabloons")
		appendToFile("dabloonbank/dabloonBankHistory.txt")
	} else {
		const File3 = getFile("dabloonbank/dBalance.txt", false)
		const CalculationResult = File3 + ProvidedInput1
		saveFile("dabloonbank/dBalance.txt", CalculationResult, true)
		appendToFile("dabloonbank/dabloonBankHistory.txt")
		showNotification("Transaction complete. Balance: {CalculationResult} Dabloons", "", false)
	}
item "➖ Dabloons":
	const ProvidedInput2 = prompt("How many Dabloons would you like to take out?", "Number")
	const File4 = getFile("dabloonbank/dBalance.txt", false)
	if !File4 {
		const Text1 = "0"
		const SavedFile = saveFile("dabloonbank/dBalance.txt", Text1, true)
		const CalculationResult1 = SavedFile - ProvidedInput2
		saveFile("dabloonbank/dBalance.txt", CalculationResult1, true)
		appendToFile("dabloonbank/dabloonBankHistory.txt")
		showNotification("Deposit complete. Balance: {CalculationResult1} Dabloons")
	} else {
		const CalculationResult2 = @Bal - ProvidedInput2
		saveFile("dabloonbank/dBalance.txt", CalculationResult2, true)
		appendToFile("dabloonbank/dabloonBankHistory.txt")
		showNotification("Transaction complete. Balance: {CalculationResult2} Dabloons")
	}
item "💳 View ATM Card":
	const ContentsOfURL = downloadURL("https://github.com/cnan00/DabloonBank/raw/main/ATM%20CARD.png")
	rawAction("is.workflow.actions.overlaytext", {
		"WFFont": "",
		"WFImage": "ContentsOfURL",
		"WFPercentageFontSize": 0.053719429347826086,
		"WFPercentageTextOffset": 0.09777513586956521,
		"WFText": "{@name}",
		"WFTextColor": "",
		"WFTextPosition": "Bottom Left",
		"WFTextRotation": "0"
	})
	rawAction("is.workflow.actions.overlaytext", {
		"WFFont": "",
		"WFImage": "ImageWithText",
		"WFPercentageFontSize": 0.08819633152173913,
		"WFText": "{@Bal}",
		"WFTextColor": "",
		"WFTextRotation": "0"
	})
	quicklook(ImageWithText1)
item "🛍️ Purchase Item":
	prompt("What did you purchase?")
	const ProvidedInput3 = prompt("How much did it cost?", "Number")
	appendToFile("dabloonbank/dabloonBankHistory.txt")
	appendToFile("dabloonbank/inventory.txt")
	const CalculationResult3 = @Bal - ProvidedInput3
	saveFile("dabloonbank/dBalance", CalculationResult3, true)
	showNotification("You purchased: {} for {ProvidedInput3} Dabloons. You now have: {CalculationResult3} Dabloons left. ")
item "🐈 Companions":
	menu "Companions" {
	item "🔎 View Companions":
		const File5 = getFile("dabloonbank/companionlist.txt", false)
		if !File5 {
			confirm("It looks like you don't have any companions just yet.")
		} else {
			const SplitText = splitText(File5)
			chooseFromList(SplitText, "Your companions")
		}
	item "➕ Adopt Companion":
		prompt("What’s your new companion’s name?")
		const ProvidedInput4 = prompt("Congrats! How many Dabloons did adoption cost? Type 0 if {} was a gift. This will adjust your Dabloon Balance.", "Number")
		prompt("What type of creature is {}? (Example: Dragon)")
		prompt("Are there any notes you’d like to keep about {}?")
		appendToFile("dabloonbank/companionlist.txt")
		const File6 = getFile("dabloonbank/dBalance.txt")
		const CalculationResult4 = File6 - ProvidedInput4
		saveFile("dabloonbank/dBalance.txt", CalculationResult4, true)
		appendToFile("dabloonbank/dabloonBankHistory.txt")
		showNotification("Congrats on your adoption of {}! Your available balance is now {CalculationResult4} Dabloons.")
	item "< Back":
		runSelf()
	}
item "📦 Item Inventory":
	const File7 = getFile("dabloonbank/inventory.txt", false)
	if !File7 {
		showNotification("Nothing to see here. Purchase something to see your inventory. ")
	} else {
		const SplitText1 = splitText(File7)
		chooseFromList(SplitText1, "Your inventory. Tap item to edit.")
		@ChosenItem
		menu "What would you like to do with \"{}\"?" {
		item "Edit Item Name":
			prompt("What would you like to change “{}” to?")
			getFile("dabloonbank/inventory.txt")
			const UpdatedText = replaceText(@ChosenItem)
			saveFile("dabloonbank/inventory.txt", UpdatedText, true)
			showNotification("You have changed your \"{@ChosenItem}\" to \"{}\". Your inventory has been updated.")
		item "Sell Item":
			const ProvidedInput5 = prompt("How much are you selling “{}” for? This will be automatically added to your balance.", "Number")
			getFile("dabloonbank/inventory.txt")
			const UpdatedText1 = replaceText(@ChosenItem, "❌{@ChosenItem} (Sold for{ProvidedInput5} Dabloons")
			saveFile("dabloonbank/inventory.txt", UpdatedText1, true)
			const File8 = getFile("dabloonbank/dBalance.txt")
			const CalculationResult5 = File8 + ProvidedInput5
			saveFile("dabloonbank/dBalance.txt", CalculationResult5, true)
			appendToFile("dabloonbank/dabloonBankHistory.txt")
			showNotification("You sold your \"{@ChosenItem}\" for {ProvidedInput5} Dabloons. These Dabloons have been added to your inventory. You now have {CalculationResult5} Dabloons.")
		item "Remove item":
			confirm("Are you sure you would like to remove your \"{@ChosenItem}\" from your inventory?")
			appendToFile("dabloonbank/dabloonBankHistory.txt")
			getFile("dabloonbank/inventory.txt")
			const UpdatedText2 = replaceText(@ChosenItem, "❌ {@ChosenItem} (Removed from inventory)")
			saveFile("dabloonbank/inventory.txt", UpdatedText2, true)
			showNotification("Your \"{@ChosenItem}\" has been removed from your inventory")
		item "Delete All Inventory":
			confirm("Are you sure you would like to delete your entire inventory?")
			confirm("Are you really sure you would like to delete your entire inventory? This operation is irreversable!")
			const File9 = getFile("dabloonbank/inventory.txt")
			deleteFiles(File9)
			showNotification("Your inventory has been deleted", File9)
		item "< Cancel":
			runSelf()
		}
	}
item "🕣 History":
	const File10 = getFile("dabloonbank/dabloonBankHistory.txt", false)
	quicklook(File10)
item "⚙️ Settings":
	menu "Settings" {
	item "Edit Inventory Manually":
		getFile("dabloonbank/inventory.txt")
		const ProvidedInput6 = prompt("Manualy Edit Inventory. Each item must be on a new line.")
		const SavedFile1 = saveFile("dabloonbank/inventory.txt", ProvidedInput6, true)
		showNotification("Your inventory has been manually updated.", SavedFile1)
	item "Edit Companions Manually":
		getFile("dabloonbank/companionlist.txt")
		const ProvidedInput7 = prompt("Manualy Edit companions. Each companion must be on a new line.")
		const SavedFile2 = saveFile("dabloonbank/companionlist.txt", ProvidedInput7, true)
		showNotification("Your companion list has been manually updated.", SavedFile2)
	item "Check for update":
		confirm("You're currently running {@Ver}. Press OK to visit the download page for new updates. If your version number is lower than the version on the website, please download and use the \"Replace\" option when asked. Thanks!")
		const URL = url("https://linktr.ee/DabloonBank")
		openURL(URL)
	item "Reset All":
		confirm("Are you sure you want to Reset All? This will delete all records of Dabloons and all inventory. This operation CANNOT be undone. ")
		confirm("Are you really sure you want to lose all of your progress? This is your last warning!!")
		const File11 = getFile("dabloonbank", false)
		deleteFiles(File11)
	item "< Back":
		runSelf()
	}
}
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Du vil måske også kunne lide

Se alle
Annonce