Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "transferir",
- "permissions": "NONE",
- "restriction": "1",
- "_id": "lXBhT",
- "actions": [
- {
- "info": "2",
- "infoIndex": "1",
- "storage": "1",
- "varName": "receiver",
- "name": "Store Command Params"
- },
- {
- "info": "0",
- "infoIndex": "2",
- "storage": "1",
- "varName": "amount",
- "name": "Store Command Params"
- },
- {
- "member": "0",
- "varName": "",
- "info": "1",
- "storage": "1",
- "varName2": "mentionid",
- "name": "Store Member Info"
- },
- {
- "member": "1",
- "varName": "",
- "info": "1",
- "storage": "1",
- "varName2": "userid",
- "name": "Store Member Info"
- },
- {
- "storage": "0",
- "varName": "",
- "name": "Delete Message"
- },
- {
- "condition": "1",
- "comparison": "0",
- "value": "1",
- "iftrue": "0",
- "iftrueVal": "",
- "iffalse": "2",
- "iffalseVal": "32",
- "name": "Check Parameters"
- },
- {
- "storage": "1",
- "varName": "mentionid",
- "comparison": "1",
- "value": "tempVars(\"userid\")",
- "iftrue": "2",
- "iftrueVal": "38",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Check Variable"
- },
- {
- "storage": "1",
- "varName": "amount",
- "comparison": "5",
- "value": "\".\"",
- "iftrue": "2",
- "iftrueVal": "36",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Check Variable"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "cash",
- "comparison": "1",
- "value": "tempVars(\"amount\")",
- "iftrue": "3",
- "iftrueVal": "1",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Check Member Data"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "cash",
- "comparison": "4",
- "value": "tempVars(\"amount\")",
- "iftrue": "0",
- "iftrueVal": "",
- "iffalse": "2",
- "iffalseVal": "34",
- "name": "Check Member Data"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "cash",
- "defaultVal": "0",
- "storage": "1",
- "varName2": "authorcash",
- "name": "Store Member Data"
- },
- {
- "member": "0",
- "varName": "",
- "dataName": "cash",
- "defaultVal": "0",
- "storage": "1",
- "varName2": "mentioncash",
- "name": "Store Member Data"
- },
- {
- "info": "1",
- "find": "Premium",
- "storage": "1",
- "varName": "gambler",
- "name": "Find Role"
- },
- {
- "member": "1",
- "varName": "",
- "role": "3",
- "varName2": "gambler",
- "iftrue": "3",
- "iftrueVal": "4",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Check If Member has Role"
- },
- {
- "FirstNumber": "${tempVars(\"amount\")}",
- "info": "2",
- "SecondNumber": "0.9",
- "storage": "1",
- "varName": "Tax-result",
- "name": "Basic Math Operation"
- },
- {
- "FirstNumber": "${Math.floor(tempVars(\"Tax-result\"))}",
- "info": "0",
- "SecondNumber": "${tempVars(\"mentioncash\")}",
- "storage": "1",
- "varName": "mentionreceiver",
- "name": "Basic Math Operation"
- },
- {
- "storage": "1",
- "varName": "Tax",
- "changeType": "0",
- "value": "\"10%\"",
- "name": "Control Variable"
- },
- {
- "count": "3",
- "name": "Skip Actions"
- },
- {
- "storage": "1",
- "varName": "Tax",
- "changeType": "0",
- "value": "\"0% (Premium)\"",
- "name": "Control Variable"
- },
- {
- "FirstNumber": "${tempVars(\"amount\")}",
- "info": "2",
- "SecondNumber": "1.0",
- "storage": "1",
- "varName": "Tax-result",
- "name": "Basic Math Operation"
- },
- {
- "FirstNumber": "${tempVars(\"amount\")}",
- "info": "0",
- "SecondNumber": "${tempVars(\"mentioncash\")}",
- "storage": "1",
- "varName": "mentionreceiver",
- "name": "Basic Math Operation"
- },
- {
- "FirstNumber": "${tempVars(\"authorcash\")}",
- "info": "1",
- "SecondNumber": "${tempVars(\"amount\")}",
- "storage": "1",
- "varName": "sender",
- "name": "Basic Math Operation"
- },
- {
- "member": "0",
- "varName": "",
- "dataName": "cash",
- "changeType": "0",
- "value": "tempVars(\"mentionreceiver\")",
- "name": "Control Member Data"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "cash",
- "changeType": "0",
- "value": "tempVars(\"sender\")",
- "name": "Control Member Data"
- },
- {
- "title": "Ação de Transferência!",
- "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": "transfer-embed",
- "name": "Create Embed Message"
- },
- {
- "storage": "1",
- "varName": "transfer-embed",
- "message": "${member} mandou **${tempVars(\"amount\")} Pirulitos 🍭!** para ${mentionedUser}.",
- "name": "Set Embed Description"
- },
- {
- "storage": "1",
- "varName": "transfer-embed",
- "fieldName": "Dinheiro transferido!",
- "message": "${tempVars(\"amount\")}",
- "inline": "0",
- "name": "Add Embed Field"
- },
- {
- "storage": "1",
- "varName": "transfer-embed",
- "fieldName": "Imposto do Banco!",
- "message": "${tempVars(\"Tax\")}",
- "inline": "0",
- "name": "Add Embed Field"
- },
- {
- "storage": "1",
- "varName": "transfer-embed",
- "fieldName": "Total Transferido!",
- "message": "${Math.floor(tempVars(\"Tax-result\"))}",
- "inline": "0",
- "name": "Add Embed Field"
- },
- {
- "storage": "1",
- "varName": "transfer-embed",
- "channel": "0",
- "varName2": "",
- "storage3": "0",
- "varName3": "",
- "name": "Send Embed Message"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, Você deve mencionar membro.\n",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, Você não tem essa quantidade de dinheiro.\n",
- "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.\n",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, Você não pode enviar dinheiro para si mesmo.\n",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- }
- ]
- }
Add Comment
Please, Sign In to add comment