Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "retirar",
- "permissions": "NONE",
- "restriction": "1",
- "_id": "vZBtg",
- "actions": [
- {
- "info": "0",
- "infoIndex": "1",
- "storage": "1",
- "varName": "amount",
- "name": "Store Command Params"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "cash",
- "defaultVal": "0",
- "storage": "1",
- "varName2": "member-cash",
- "name": "Store Member Data"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "bank",
- "defaultVal": "0",
- "storage": "1",
- "varName2": "member-bank",
- "name": "Store Member Data"
- },
- {
- "storage": "1",
- "varName": "amount",
- "comparison": "5",
- "value": "'.'",
- "iftrue": "2",
- "iftrueVal": "24",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Check Variable"
- },
- {
- "comment": ">⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[Check if he typed valid number]⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯<",
- "color": "#ff0000",
- "name": "Comment"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "bank",
- "comparison": "1",
- "value": "tempVars(\"amount\")",
- "iftrue": "3",
- "iftrueVal": "3",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Check Member Data"
- },
- {
- "comment": ">⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[Check if he has the money]⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯<",
- "color": "#ff0000",
- "name": "Comment"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "bank",
- "comparison": "4",
- "value": "tempVars(\"amount\")",
- "iftrue": "0",
- "iftrueVal": "",
- "iffalse": "2",
- "iffalseVal": "22",
- "name": "Check Member Data"
- },
- {
- "comment": ">⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[Check if he has the money]⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯<",
- "color": "#ff0000",
- "name": "Comment"
- },
- {
- "FirstNumber": "${tempVars(\"member-bank\")}",
- "info": "1",
- "SecondNumber": "${tempVars(\"amount\")}",
- "storage": "1",
- "varName": "bank-left",
- "name": "Basic Math Operation"
- },
- {
- "FirstNumber": "${tempVars(\"member-cash\")}",
- "info": "0",
- "SecondNumber": "${tempVars(\"amount\")}",
- "storage": "1",
- "varName": "cash-amount",
- "name": "Basic Math Operation"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "cash",
- "changeType": "0",
- "value": "tempVars(\"cash-amount\")",
- "name": "Control Member Data"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "bank",
- "changeType": "0",
- "value": "tempVars(\"bank-left\")",
- "name": "Control Member Data"
- },
- {
- "title": "Ação Bancária!",
- "author": "${member.displayName}",
- "color": "#85bb65",
- "url": "",
- "authorIcon": "${msg.author.displayAvatarURL}",
- "authorUrl": "",
- "imageUrl": "",
- "thumbUrl": "",
- "timestamp": "true",
- "debug": "false",
- "text": "",
- "year": "",
- "month": "",
- "day": "",
- "hour": "",
- "minute": "",
- "second": "",
- "storage": "1",
- "varName": "BankAction",
- "name": "Create Embed Message"
- },
- {
- "storage": "1",
- "varName": "BankAction",
- "message": "${member} Retirado **${tempVars(\"amount\")} Pirulitos 🍭!** do Banco.",
- "name": "Set Embed Description"
- },
- {
- "storage": "1",
- "varName": "BankAction",
- "fieldName": "Pirulitos 🍭!",
- "message": "₪${tempVars(\"cash-amount\")}",
- "inline": "0",
- "name": "Add Embed Field"
- },
- {
- "storage": "1",
- "varName": "BankAction",
- "fieldName": "Banco!",
- "message": "₪${tempVars(\"bank-left\")}",
- "inline": "0",
- "name": "Add Embed Field"
- },
- {
- "FirstNumber": "${tempVars(\"bank-left\")}",
- "info": "0",
- "SecondNumber": "${tempVars(\"cash-amount\")}",
- "storage": "1",
- "varName": "membertotal",
- "name": "Basic Math Operation"
- },
- {
- "storage": "1",
- "varName": "BankAction",
- "fieldName": "Total!",
- "message": "₪${tempVars(\"membertotal\")}",
- "inline": "0",
- "name": "Add Embed Field"
- },
- {
- "storage": "1",
- "varName": "BankAction",
- "channel": "0",
- "varName2": "",
- "storage3": "0",
- "varName3": "",
- "name": "Send Embed Message"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, Você não tem essa quantia em dinheiro.",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, Você deve digitar um número válido.",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- }
- ],
- "comType": "0"
- }
Add Comment
Please, Sign In to add comment