Tuzzillo

Untitled

Nov 6th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.52 KB | None | 0 0
  1. {
  2. "name": "transferir",
  3. "permissions": "NONE",
  4. "restriction": "1",
  5. "_id": "lXBhT",
  6. "actions": [
  7. {
  8. "info": "2",
  9. "infoIndex": "1",
  10. "storage": "1",
  11. "varName": "receiver",
  12. "name": "Store Command Params"
  13. },
  14. {
  15. "info": "0",
  16. "infoIndex": "2",
  17. "storage": "1",
  18. "varName": "amount",
  19. "name": "Store Command Params"
  20. },
  21. {
  22. "member": "0",
  23. "varName": "",
  24. "info": "1",
  25. "storage": "1",
  26. "varName2": "mentionid",
  27. "name": "Store Member Info"
  28. },
  29. {
  30. "member": "1",
  31. "varName": "",
  32. "info": "1",
  33. "storage": "1",
  34. "varName2": "userid",
  35. "name": "Store Member Info"
  36. },
  37. {
  38. "storage": "0",
  39. "varName": "",
  40. "name": "Delete Message"
  41. },
  42. {
  43. "condition": "1",
  44. "comparison": "0",
  45. "value": "1",
  46. "iftrue": "0",
  47. "iftrueVal": "",
  48. "iffalse": "2",
  49. "iffalseVal": "32",
  50. "name": "Check Parameters"
  51. },
  52. {
  53. "storage": "1",
  54. "varName": "mentionid",
  55. "comparison": "1",
  56. "value": "tempVars(\"userid\")",
  57. "iftrue": "2",
  58. "iftrueVal": "38",
  59. "iffalse": "0",
  60. "iffalseVal": "",
  61. "name": "Check Variable"
  62. },
  63. {
  64. "storage": "1",
  65. "varName": "amount",
  66. "comparison": "5",
  67. "value": "\".\"",
  68. "iftrue": "2",
  69. "iftrueVal": "36",
  70. "iffalse": "0",
  71. "iffalseVal": "",
  72. "name": "Check Variable"
  73. },
  74. {
  75. "member": "1",
  76. "varName": "",
  77. "dataName": "cash",
  78. "comparison": "1",
  79. "value": "tempVars(\"amount\")",
  80. "iftrue": "3",
  81. "iftrueVal": "1",
  82. "iffalse": "0",
  83. "iffalseVal": "",
  84. "name": "Check Member Data"
  85. },
  86. {
  87. "member": "1",
  88. "varName": "",
  89. "dataName": "cash",
  90. "comparison": "4",
  91. "value": "tempVars(\"amount\")",
  92. "iftrue": "0",
  93. "iftrueVal": "",
  94. "iffalse": "2",
  95. "iffalseVal": "34",
  96. "name": "Check Member Data"
  97. },
  98. {
  99. "member": "1",
  100. "varName": "",
  101. "dataName": "cash",
  102. "defaultVal": "0",
  103. "storage": "1",
  104. "varName2": "authorcash",
  105. "name": "Store Member Data"
  106. },
  107. {
  108. "member": "0",
  109. "varName": "",
  110. "dataName": "cash",
  111. "defaultVal": "0",
  112. "storage": "1",
  113. "varName2": "mentioncash",
  114. "name": "Store Member Data"
  115. },
  116. {
  117. "info": "1",
  118. "find": "Premium",
  119. "storage": "1",
  120. "varName": "gambler",
  121. "name": "Find Role"
  122. },
  123. {
  124. "member": "1",
  125. "varName": "",
  126. "role": "3",
  127. "varName2": "gambler",
  128. "iftrue": "3",
  129. "iftrueVal": "4",
  130. "iffalse": "0",
  131. "iffalseVal": "",
  132. "name": "Check If Member has Role"
  133. },
  134. {
  135. "FirstNumber": "${tempVars(\"amount\")}",
  136. "info": "2",
  137. "SecondNumber": "0.9",
  138. "storage": "1",
  139. "varName": "Tax-result",
  140. "name": "Basic Math Operation"
  141. },
  142. {
  143. "FirstNumber": "${Math.floor(tempVars(\"Tax-result\"))}",
  144. "info": "0",
  145. "SecondNumber": "${tempVars(\"mentioncash\")}",
  146. "storage": "1",
  147. "varName": "mentionreceiver",
  148. "name": "Basic Math Operation"
  149. },
  150. {
  151. "storage": "1",
  152. "varName": "Tax",
  153. "changeType": "0",
  154. "value": "\"10%\"",
  155. "name": "Control Variable"
  156. },
  157. {
  158. "count": "3",
  159. "name": "Skip Actions"
  160. },
  161. {
  162. "storage": "1",
  163. "varName": "Tax",
  164. "changeType": "0",
  165. "value": "\"0% (Premium)\"",
  166. "name": "Control Variable"
  167. },
  168. {
  169. "FirstNumber": "${tempVars(\"amount\")}",
  170. "info": "2",
  171. "SecondNumber": "1.0",
  172. "storage": "1",
  173. "varName": "Tax-result",
  174. "name": "Basic Math Operation"
  175. },
  176. {
  177. "FirstNumber": "${tempVars(\"amount\")}",
  178. "info": "0",
  179. "SecondNumber": "${tempVars(\"mentioncash\")}",
  180. "storage": "1",
  181. "varName": "mentionreceiver",
  182. "name": "Basic Math Operation"
  183. },
  184. {
  185. "FirstNumber": "${tempVars(\"authorcash\")}",
  186. "info": "1",
  187. "SecondNumber": "${tempVars(\"amount\")}",
  188. "storage": "1",
  189. "varName": "sender",
  190. "name": "Basic Math Operation"
  191. },
  192. {
  193. "member": "0",
  194. "varName": "",
  195. "dataName": "cash",
  196. "changeType": "0",
  197. "value": "tempVars(\"mentionreceiver\")",
  198. "name": "Control Member Data"
  199. },
  200. {
  201. "member": "1",
  202. "varName": "",
  203. "dataName": "cash",
  204. "changeType": "0",
  205. "value": "tempVars(\"sender\")",
  206. "name": "Control Member Data"
  207. },
  208. {
  209. "title": "Ação de Transferência!",
  210. "author": "${member.displayName}",
  211. "color": "#85bb65",
  212. "url": "",
  213. "authorIcon": "${msg.author.displayAvatarURL}",
  214. "authorUrl": "",
  215. "imageUrl": "",
  216. "thumbUrl": "",
  217. "timestamp": "true",
  218. "debug": "false",
  219. "text": "",
  220. "year": "",
  221. "month": "",
  222. "day": "",
  223. "hour": "",
  224. "minute": "",
  225. "second": "",
  226. "storage": "1",
  227. "varName": "transfer-embed",
  228. "name": "Create Embed Message"
  229. },
  230. {
  231. "storage": "1",
  232. "varName": "transfer-embed",
  233. "message": "${member} mandou **${tempVars(\"amount\")} Pirulitos 🍭!** para ${mentionedUser}.",
  234. "name": "Set Embed Description"
  235. },
  236. {
  237. "storage": "1",
  238. "varName": "transfer-embed",
  239. "fieldName": "Dinheiro transferido!",
  240. "message": "${tempVars(\"amount\")}",
  241. "inline": "0",
  242. "name": "Add Embed Field"
  243. },
  244. {
  245. "storage": "1",
  246. "varName": "transfer-embed",
  247. "fieldName": "Imposto do Banco!",
  248. "message": "${tempVars(\"Tax\")}",
  249. "inline": "0",
  250. "name": "Add Embed Field"
  251. },
  252. {
  253. "storage": "1",
  254. "varName": "transfer-embed",
  255. "fieldName": "Total Transferido!",
  256. "message": "${Math.floor(tempVars(\"Tax-result\"))}",
  257. "inline": "0",
  258. "name": "Add Embed Field"
  259. },
  260. {
  261. "storage": "1",
  262. "varName": "transfer-embed",
  263. "channel": "0",
  264. "varName2": "",
  265. "storage3": "0",
  266. "varName3": "",
  267. "name": "Send Embed Message"
  268. },
  269. {
  270. "name": "End Action Sequence"
  271. },
  272. {
  273. "channel": "0",
  274. "varName": "",
  275. "message": "${member}, Você deve mencionar membro.\n",
  276. "storage": "0",
  277. "varName2": "",
  278. "iffalse": "0",
  279. "iffalseVal": "",
  280. "name": "Send Message"
  281. },
  282. {
  283. "name": "End Action Sequence"
  284. },
  285. {
  286. "channel": "0",
  287. "varName": "",
  288. "message": "${member}, Você não tem essa quantidade de dinheiro.\n",
  289. "storage": "0",
  290. "varName2": "",
  291. "iffalse": "0",
  292. "iffalseVal": "",
  293. "name": "Send Message"
  294. },
  295. {
  296. "name": "End Action Sequence"
  297. },
  298. {
  299. "channel": "0",
  300. "varName": "",
  301. "message": "${member}, Você deve digitar um número válido.\n",
  302. "storage": "0",
  303. "varName2": "",
  304. "iffalse": "0",
  305. "iffalseVal": "",
  306. "name": "Send Message"
  307. },
  308. {
  309. "name": "End Action Sequence"
  310. },
  311. {
  312. "channel": "0",
  313. "varName": "",
  314. "message": "${member}, Você não pode enviar dinheiro para si mesmo.\n",
  315. "storage": "0",
  316. "varName2": "",
  317. "iffalse": "0",
  318. "iffalseVal": "",
  319. "name": "Send Message"
  320. }
  321. ]
  322. }
Add Comment
Please, Sign In to add comment