Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "emolets",
- "permissions": "NONE",
- "restriction": "0",
- "_id": "YIZPO",
- "actions": [
- {
- "source": "Tzyqf",
- "type": "true",
- "name": "Call Command/Event"
- },
- {
- "condition": "0",
- "comparison": "0",
- "value": "0",
- "iftrue": "2",
- "iftrueVal": "6",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Check Parameters"
- },
- {
- "info": "1",
- "infoIndex": "1",
- "storage": "1",
- "varName": "words",
- "name": "Store Command Params"
- },
- {
- "behavior": "0",
- "interpretation": "0",
- "code": "var words = tempVars(\"words\");\n\nif(!words) {words = \"emolets\"}\n\nlet word = \"\";\n\nfunction GetCharacter(input){ \n if((\"abcdefghijklmnopqrstuvwxyz\").includes(input)){\n return ':regional_indicator_' + input + \":\";\n }else{ \n switch (input) {\n case \"0\":\n return ':zero:'\n break;\n case \"1\":\n return ':one:'\n break;\n case \"2\":\n return ':two:'\n break;\n case \"3\":\n return ':three:'\n break;\n case \"4\":\n return ':four:'\n break;\n case \"5\":\n return ':five:'\n break;\n case \"6\":\n return ':six:'\n break;\n case \"7\":\n return ':seven:'\n break;\n case \"8\":\n return ':eight:'\n break;\n case \"9\":\n return ':nine:'\n break;\n case \"!\":\n return ':grey_exclamation:'\n break;\n case \"<\":\n return ':arrow_backward:'\n break;\n case \">\":\n return ':arrow_forward:'\n break;\n case \",\":\n return ','\n break;\n case \".\":\n return '.'\n break;\n case \"@\":\n return '@'\n break;\n case \"?\":\n return ':question:'\n break;\n default:\n return ' ' \n break;\n }\n }\t\n}\n\nwords.toLowerCase().split('').forEach(function(char){ word += char ? GetCharacter(char) : \" \"})\n\nif(word && word.length < 1999){\n msg.channel.send(word)\n}else{\n msg.channel.send('A palavra não pode passar de 1999 caracteres. =/')\n}",
- "storage": "0",
- "varName": "",
- "name": "Run Script"
- },
- {
- "name": "End Action Sequence"
- },
- {
- "channel": "0",
- "varName": "",
- "message": "** :x: Forneça uma frase válida.**",
- "storage": "0",
- "varName2": "",
- "iffalse": "0",
- "iffalseVal": "",
- "name": "Send Message"
- }
- ],
- "comType": "0",
- "_timeRestriction": 3
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement