Tuzzillo

Untitled

Nov 6th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.37 KB | None | 0 0
  1. {
  2. "name": "retirar",
  3. "permissions": "NONE",
  4. "restriction": "1",
  5. "_id": "vZBtg",
  6. "actions": [
  7. {
  8. "info": "0",
  9. "infoIndex": "1",
  10. "storage": "1",
  11. "varName": "amount",
  12. "name": "Store Command Params"
  13. },
  14. {
  15. "member": "1",
  16. "varName": "",
  17. "dataName": "cash",
  18. "defaultVal": "0",
  19. "storage": "1",
  20. "varName2": "member-cash",
  21. "name": "Store Member Data"
  22. },
  23. {
  24. "member": "1",
  25. "varName": "",
  26. "dataName": "bank",
  27. "defaultVal": "0",
  28. "storage": "1",
  29. "varName2": "member-bank",
  30. "name": "Store Member Data"
  31. },
  32. {
  33. "storage": "1",
  34. "varName": "amount",
  35. "comparison": "5",
  36. "value": "'.'",
  37. "iftrue": "2",
  38. "iftrueVal": "24",
  39. "iffalse": "0",
  40. "iffalseVal": "",
  41. "name": "Check Variable"
  42. },
  43. {
  44. "comment": ">⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[Check if he typed valid number]⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯<",
  45. "color": "#ff0000",
  46. "name": "Comment"
  47. },
  48. {
  49. "member": "1",
  50. "varName": "",
  51. "dataName": "bank",
  52. "comparison": "1",
  53. "value": "tempVars(\"amount\")",
  54. "iftrue": "3",
  55. "iftrueVal": "3",
  56. "iffalse": "0",
  57. "iffalseVal": "",
  58. "name": "Check Member Data"
  59. },
  60. {
  61. "comment": ">⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[Check if he has the money]⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯<",
  62. "color": "#ff0000",
  63. "name": "Comment"
  64. },
  65. {
  66. "member": "1",
  67. "varName": "",
  68. "dataName": "bank",
  69. "comparison": "4",
  70. "value": "tempVars(\"amount\")",
  71. "iftrue": "0",
  72. "iftrueVal": "",
  73. "iffalse": "2",
  74. "iffalseVal": "22",
  75. "name": "Check Member Data"
  76. },
  77. {
  78. "comment": ">⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[Check if he has the money]⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯<",
  79. "color": "#ff0000",
  80. "name": "Comment"
  81. },
  82. {
  83. "FirstNumber": "${tempVars(\"member-bank\")}",
  84. "info": "1",
  85. "SecondNumber": "${tempVars(\"amount\")}",
  86. "storage": "1",
  87. "varName": "bank-left",
  88. "name": "Basic Math Operation"
  89. },
  90. {
  91. "FirstNumber": "${tempVars(\"member-cash\")}",
  92. "info": "0",
  93. "SecondNumber": "${tempVars(\"amount\")}",
  94. "storage": "1",
  95. "varName": "cash-amount",
  96. "name": "Basic Math Operation"
  97. },
  98. {
  99. "member": "1",
  100. "varName": "",
  101. "dataName": "cash",
  102. "changeType": "0",
  103. "value": "tempVars(\"cash-amount\")",
  104. "name": "Control Member Data"
  105. },
  106. {
  107. "member": "1",
  108. "varName": "",
  109. "dataName": "bank",
  110. "changeType": "0",
  111. "value": "tempVars(\"bank-left\")",
  112. "name": "Control Member Data"
  113. },
  114. {
  115. "title": "Ação Bancária!",
  116. "author": "${member.displayName}",
  117. "color": "#85bb65",
  118. "url": "",
  119. "authorIcon": "${msg.author.displayAvatarURL}",
  120. "authorUrl": "",
  121. "imageUrl": "",
  122. "thumbUrl": "",
  123. "timestamp": "true",
  124. "debug": "false",
  125. "text": "",
  126. "year": "",
  127. "month": "",
  128. "day": "",
  129. "hour": "",
  130. "minute": "",
  131. "second": "",
  132. "storage": "1",
  133. "varName": "BankAction",
  134. "name": "Create Embed Message"
  135. },
  136. {
  137. "storage": "1",
  138. "varName": "BankAction",
  139. "message": "${member} Retirado **${tempVars(\"amount\")} Pirulitos 🍭!** do Banco.",
  140. "name": "Set Embed Description"
  141. },
  142. {
  143. "storage": "1",
  144. "varName": "BankAction",
  145. "fieldName": "Pirulitos 🍭!",
  146. "message": "₪${tempVars(\"cash-amount\")}",
  147. "inline": "0",
  148. "name": "Add Embed Field"
  149. },
  150. {
  151. "storage": "1",
  152. "varName": "BankAction",
  153. "fieldName": "Banco!",
  154. "message": "₪${tempVars(\"bank-left\")}",
  155. "inline": "0",
  156. "name": "Add Embed Field"
  157. },
  158. {
  159. "FirstNumber": "${tempVars(\"bank-left\")}",
  160. "info": "0",
  161. "SecondNumber": "${tempVars(\"cash-amount\")}",
  162. "storage": "1",
  163. "varName": "membertotal",
  164. "name": "Basic Math Operation"
  165. },
  166. {
  167. "storage": "1",
  168. "varName": "BankAction",
  169. "fieldName": "Total!",
  170. "message": "₪${tempVars(\"membertotal\")}",
  171. "inline": "0",
  172. "name": "Add Embed Field"
  173. },
  174. {
  175. "storage": "1",
  176. "varName": "BankAction",
  177. "channel": "0",
  178. "varName2": "",
  179. "storage3": "0",
  180. "varName3": "",
  181. "name": "Send Embed Message"
  182. },
  183. {
  184. "name": "End Action Sequence"
  185. },
  186. {
  187. "channel": "0",
  188. "varName": "",
  189. "message": "${member}, Você não tem essa quantia em dinheiro.",
  190. "storage": "0",
  191. "varName2": "",
  192. "iffalse": "0",
  193. "iffalseVal": "",
  194. "name": "Send Message"
  195. },
  196. {
  197. "name": "End Action Sequence"
  198. },
  199. {
  200. "channel": "0",
  201. "varName": "",
  202. "message": "${member}, Você deve digitar um número válido.",
  203. "storage": "0",
  204. "varName2": "",
  205. "iffalse": "0",
  206. "iffalseVal": "",
  207. "name": "Send Message"
  208. }
  209. ],
  210. "comType": "0"
  211. }
Add Comment
Please, Sign In to add comment