Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.25 KB | None | 0 0
  1. {
  2.             "name": "cheerTest",
  3.             "conditions": [
  4.               {
  5.                 "variableName": "message",
  6.                 "type": "isNumber"
  7.               },
  8.               {
  9.                 "calc": "/",
  10.                 "value1": "message",
  11.                 "value2": "50",
  12.                 "variableName": "mobCount",
  13.                 "type": "math"
  14.               },
  15.               {
  16.                 "calc": "ceil",
  17.                 "value1": "mobCount",
  18.                 "value2": "0",
  19.                 "variableName": "mobCount",
  20.                 "type": "math"
  21.               },
  22.               {
  23.                 "calc": "/",
  24.                 "value1": "message",
  25.                 "value2": "mobCount",
  26.                 "variableName": "mobHealth",
  27.                 "type": "math"
  28.               },
  29.               {
  30.                 "calc": "ceil",
  31.                 "value1": "mobHealth",
  32.                 "value2": "0",
  33.                 "variableName": "mobHealth",
  34.                 "type": "math"
  35.               }
  36.             ],
  37.             "outcomes": [
  38.               {
  39.                 "title": "$user cheered",
  40.                 "subtitle": "$message bits, $mobCount",
  41.                 "type": "toast"
  42.               }
  43.             ]
  44.           }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement