Advertisement
Tuzzillo

Untitled

Nov 10th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. {
  2. "name": "reverse",
  3. "permissions": "NONE",
  4. "restriction": "1",
  5. "_id": "PcgNv",
  6. "actions": [
  7. {
  8. "condition": "0",
  9. "comparison": "0",
  10. "value": "0",
  11. "iftrue": "0",
  12. "iftrueVal": "",
  13. "iffalse": "2",
  14. "iffalseVal": "4",
  15. "name": "Check Parameters"
  16. },
  17. {
  18. "channel": "0",
  19. "varName": "",
  20. "message": "**O que eu devo inverter?**",
  21. "storage": "0",
  22. "varName2": "",
  23. "iffalse": "0",
  24. "iffalseVal": "",
  25. "name": "Send Message"
  26. },
  27. {
  28. "name": "End Action Sequence"
  29. },
  30. {
  31. "info": "1",
  32. "infoIndex": "1",
  33. "storage": "1",
  34. "varName": "text",
  35. "name": "Store Command Params"
  36. },
  37. {
  38. "behavior": "1",
  39. "interpretation": "0",
  40. "code": "let str = tempVars(\"text\");\n\nstr = str.split(\"\");\nstr = str.reverse();\nstr = str.join(\"\");\nthis.storeValue(str, 1, \"string\", cache);\nActions.callNextAction(cache);",
  41. "storage": "0",
  42. "varName": "",
  43. "name": "Run Script"
  44. },
  45. {
  46. "channel": "0",
  47. "varName": "",
  48. "message": "${tempVars(\"string\")}",
  49. "storage": "0",
  50. "varName2": "",
  51. "name": "Send Message"
  52. }
  53. ]
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement