Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "roubar",
- "permissions": "NONE",
- "restriction": "1",
- "_id": "txABf",
- "actions": [
- {
- "storage": "0",
- "varName": "",
- "name": "Delete Message"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "thief",
- "comparison": "1",
- "value": "1",
- "iftrue": "2",
- "iftrueVal": "75",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Check Member Data"
- },
- {
- "condition": "1",
- "comparison": "0",
- "value": "1",
- "iftrue": "0",
- "iftrueVal": "",
- "iffalse": "2",
- "iffalseVal": "61",
- "name": "Check Parameters"
- },
- {
- "member": "0",
- "varName": "",
- "info": "1",
- "storage": "1",
- "varName2": "mentioned-id",
- "name": "Store Member Info"
- },
- {
- "storage": "1",
- "varName": "mentioned-id",
- "comparison": "1",
- "value": "${msg.author.id}",
- "iftrue": "2",
- "iftrueVal": "59",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Check Variable"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "cash",
- "defaultVal": "0",
- "storage": "1",
- "varName2": "member-cash",
- "name": "Store Member Data"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "cash",
- "comparison": "4",
- "value": "10000",
- "iftrue": "0",
- "iftrueVal": "",
- "iffalse": "2",
- "iffalseVal": "63",
- "name": "Check Member Data"
- },
- {
- "member": "0",
- "varName": "",
- "dataName": "cash",
- "defaultVal": "0",
- "storage": "1",
- "varName2": "mentioned-cash",
- "name": "Store Member Data"
- },
- {
- "member": "0",
- "varName": "",
- "dataName": "cash",
- "comparison": "4",
- "value": "500",
- "iftrue": "0",
- "iftrueVal": "",
- "iffalse": "2",
- "iffalseVal": "65",
- "name": "Check Member Data"
- },
- {
- "title": "Thief Alert",
- "author": "${member.displayName}",
- "color": "#85bb65",
- "url": "",
- "authorIcon": "${msg.author.displayAvatarURL}",
- "authorUrl": "",
- "imageUrl": "",
- "thumbUrl": "",
- "timestamp": "false",
- "debug": "false",
- "text": "",
- "year": "",
- "month": "",
- "day": "",
- "hour": "",
- "minute": "",
- "second": "",
- "storage": "1",
- "varName": "thief-alert",
- "name": "Create Embed Message"
- },
- {
- "storage": "1",
- "varName": "thief-alert",
- "message": "Você vai pagar 10000 em dinheiro para o ladrão.\nVocê tem certeza?",
- "name": "Set Embed Description"
- },
- {
- "storage": "1",
- "varName": "thief-alert",
- "message": "✅=sim, ❌=não",
- "footerIcon": "",
- "name": "Set Embed Footer"
- },
- {
- "storage": "1",
- "varName": "thief-alert",
- "channel": "0",
- "varName2": "",
- "storage3": "1",
- "varName3": "message",
- "name": "Send Embed Message"
- },
- {
- "time": "1",
- "measurement": "1",
- "name": "Wait"
- },
- {
- "storage": "1",
- "varName": "message",
- "emoji": "4",
- "varName2": "✅",
- "varName3": "",
- "name": "Add Reaction"
- },
- {
- "storage": "1",
- "varName": "message",
- "emoji": "4",
- "varName2": "❌",
- "varName3": "",
- "name": "Add Reaction"
- },
- {
- "storage": "1",
- "varName": "message",
- "filter": "user.id === '${msg.author.id}'",
- "max": "1",
- "time": "10000",
- "maxEmojis": "",
- "maxUsers": "",
- "iftrue": "0",
- "iftrueVal": "",
- "iffalse": "2",
- "iffalseVal": "63",
- "storage2": "1",
- "varName2": "reaction-list",
- "name": "Await Reaction Call Action"
- },
- {
- "message": "1",
- "varName": "message",
- "info": "1",
- "find": "❌",
- "storage": "1",
- "varName2": "reaction-x",
- "name": "Find Reaction"
- },
- {
- "message": "1",
- "varName": "message",
- "info": "1",
- "find": "✅",
- "storage": "1",
- "varName2": "reaction-v",
- "name": "Find Reaction"
- },
- {
- "reaction": "1",
- "varName": "reaction-v",
- "info": "4",
- "storage": "1",
- "varName2": "count-v",
- "name": "Store Reaction Info"
- },
- {
- "reaction": "1",
- "varName": "reaction-x",
- "info": "4",
- "storage": "1",
- "varName2": "count-x",
- "name": "Store Reaction Info"
- },
- {
- "storage": "1",
- "varName": "count-x",
- "comparison": "4",
- "value": "1",
- "iftrue": "2",
- "iftrueVal": "56",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Check Variable"
- },
- {
- "storage": "1",
- "varName": "count-v",
- "comparison": "4",
- "value": "1",
- "iftrue": "0",
- "iftrueVal": "50",
- "iffalse": "1",
- "iffalseVal": "",
- "name": "Check Variable"
- },
- {
- "storage": "1",
- "varName": "chance",
- "min": "1",
- "max": "100",
- "name": "Generate Random Number"
- },
- {
- "storage": "1",
- "varName": "cash-stealed",
- "min": "1",
- "max": "${tempVars(\"mentioned-cash\")}",
- "name": "Generate Random Number"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "thief",
- "changeType": "0",
- "value": "1",
- "name": "Control Member Data"
- },
- {
- "info": "1",
- "find": "Premium",
- "storage": "1",
- "varName": "premium-role",
- "name": "Find Role"
- },
- {
- "member": "1",
- "varName": "",
- "role": "3",
- "varName2": "premium-role",
- "iftrue": "3",
- "iftrueVal": "5",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Check If Member has Role"
- },
- {
- "comment": "Not Premium",
- "color": "#ff0000",
- "name": "Comment"
- },
- {
- "FirstNumber": "${tempVars(\"cash-stealed\")}",
- "info": "2",
- "SecondNumber": "0.7",
- "storage": "1",
- "varName": "total-cash",
- "name": "Basic Math Operation"
- },
- {
- "storage": "1",
- "varName": "thief-cut",
- "changeType": "0",
- "value": "\"30%\"",
- "name": "Control Variable"
- },
- {
- "storage": "1",
- "varName": "chance",
- "comparison": "3",
- "value": "20",
- "iftrue": "3",
- "iftrueVal": "4",
- "iffalse": "2",
- "iffalseVal": "48",
- "name": "Check Variable"
- },
- {
- "comment": "Premium",
- "color": "#ff0000",
- "name": "Comment"
- },
- {
- "storage": "1",
- "varName": "chance",
- "comparison": "3",
- "value": "30",
- "iftrue": "0",
- "iftrueVal": "",
- "iffalse": "2",
- "iffalseVal": "48",
- "name": "Check Variable"
- },
- {
- "FirstNumber": "${tempVars(\"cash-stealed\")}",
- "info": "2",
- "SecondNumber": "0.9",
- "storage": "1",
- "varName": "total-cash",
- "name": "Basic Math Operation"
- },
- {
- "storage": "1",
- "varName": "thief-cut",
- "changeType": "0",
- "value": "\"10% (Premium)\"",
- "name": "Control Variable"
- },
- {
- "title": "Steal Cash Action",
- "author": "Thief",
- "color": "#85bb65",
- "url": "",
- "authorIcon": "https://cdn3.iconfinder.com/data/icons/glypho-computers-andother-tech/64/user-spy-thief-glasses-hat-512.png",
- "authorUrl": "",
- "imageUrl": "",
- "thumbUrl": "",
- "timestamp": "true",
- "debug": "false",
- "text": "",
- "year": "",
- "month": "",
- "day": "",
- "hour": "",
- "minute": "",
- "second": "",
- "storage": "1",
- "varName": "success-embed",
- "name": "Create Embed Message"
- },
- {
- "storage": "1",
- "varName": "success-embed",
- "message": "Sucesso!\n${member} roubou **${tempVars(\"cash-stealed\")} Pirulitos 🍭!** from ${mentionedUser}.",
- "name": "Set Embed Description"
- },
- {
- "storage": "1",
- "varName": "success-embed",
- "fieldName": "Dinheiro roubado!",
- "message": "${tempVars(\"cash-stealed\")}",
- "inline": "0",
- "name": "Add Embed Field"
- },
- {
- "storage": "1",
- "varName": "success-embed",
- "fieldName": "Corte de Ladrão",
- "message": "${tempVars(\"thief-cut\")}",
- "inline": "0",
- "name": "Add Embed Field"
- },
- {
- "storage": "1",
- "varName": "success-embed",
- "fieldName": "Total em dinheiro",
- "message": "${Math.floor(tempVars(\"total-cash\"))}",
- "inline": "0",
- "name": "Add Embed Field"
- },
- {
- "storage": "1",
- "varName": "success-embed",
- "channel": "0",
- "varName2": "",
- "storage3": "0",
- "varName3": "",
- "name": "Send Embed Message"
- },
- {
- "member": "0",
- "varName": "",
- "dataName": "cash",
- "changeType": "1",
- "value": "-tempVars(\"cash-stealed\")",
- "name": "Control Member Data"
- },
- {
- "FirstNumber": "${tempVars(\"member-cash\")}",
- "info": "0",
- "SecondNumber": "${Math.floor(tempVars(\"total-cash\"))}",
- "storage": "1",
- "varName": "cash-received",
- "name": "Basic Math Operation"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "cash",
- "changeType": "0",
- "value": "tempVars(\"cash-received\")",
- "name": "Control Member Data"
- },
- {
- "call": "70",
- "name": "Jump to Action"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "comment": "Skip here if thief fail",
- "color": "#ff0000",
- "name": "Comment"
- },
- {
- "title": "Roubar ação em dinheiro!",
- "author": "Ladrão",
- "color": "#85bb65",
- "url": "",
- "authorIcon": "https://cdn3.iconfinder.com/data/icons/glypho-computers-andother-tech/64/user-spy-thief-glasses-hat-512.png",
- "authorUrl": "",
- "imageUrl": "",
- "thumbUrl": "",
- "timestamp": "true",
- "debug": "false",
- "text": "",
- "year": "",
- "month": "",
- "day": "",
- "hour": "",
- "minute": "",
- "second": "",
- "storage": "1",
- "varName": "fail-embed",
- "name": "Create Embed Message"
- },
- {
- "storage": "1",
- "varName": "fail-embed",
- "message": "${member} tentou roubar dinheiro de ${mentionedUser} mas o ladrão foi pego pela polícia.\n${member} perdeu 10.000 Pirulitos 🍭!",
- "name": "Set Embed Description"
- },
- {
- "storage": "1",
- "varName": "fail-embed",
- "channel": "0",
- "varName2": "",
- "storage3": "0",
- "varName3": "",
- "name": "Send Embed Message"
- },
- {
- "FirstNumber": "${tempVars(\"member-cash\")}",
- "info": "1",
- "SecondNumber": "10000",
- "storage": "1",
- "varName": "lose-money",
- "name": "Basic Math Operation"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "cash",
- "changeType": "0",
- "value": "tempVars(\"lose-money\")",
- "name": "Control Member Data"
- },
- {
- "call": "70",
- "name": "Jump to Action"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "comment": "Skip here if he marks ❌",
- "color": "#0000ff",
- "name": "Comment"
- },
- {
- "storage": "1",
- "varName": "message",
- "name": "Delete Message"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, Você não pode roubar seu próprio dinheiro.",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, Você deve mencionar um membro para roubar dele dinheiro.",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, Você precisa de pelo menos 10.000 em dinheiro para pagar o ladrão.",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, ${mentionedUser} não tem dinheiro suficiente para essa ação.\nmínimo 500 Pirulitos 🍭!",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "storage": "1",
- "varName": "message",
- "name": "Delete Message"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, A mensagem foi excluída porque você não reagiu.\n",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "time": "1",
- "measurement": "3",
- "name": "Wait"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, Terminada uma hora de recarga, você pode pagar novamente a um ladrão.\n",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- },
- {
- "channel": "1",
- "varName": "",
- "message": "${member}, Quando a hora de recarga terminar, você poderá pagar novamente a um ladrão.\n",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- },
- {
- "member": "1",
- "varName": "",
- "dataName": "thief",
- "changeType": "0",
- "value": "0",
- "name": "Control Member Data"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "${member}, Você está com um tempo de recarga de 1 hora. Aguarde até que ele termine.\n",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement