troop

A quick calculation for Troop Ratio of Max March Cap Usage: .troop [input your ratio here] [Your max march cap] Example: .troop 60/20/20 100200

Privateunrated

Content

12 lines
{override}
{=():}

{=(comment):Defining Initial Variables}
{=(troop):{args(1)}}
{=(inf):{troop(1):/}}
{=(rid):{troop(2):/}}
{=(hun):{troop(3):/}}
{=(max_troop):{args(2)}}

{=(comment):Calculations}
{=(troop_val):{m:({inf}/100)*{max_troop}},{m:({rid}/100)*{max_troop}},{m:({hun}/100)*{max_troop}}}

Embed

1 line
{"color": 1251132, "author": {"url": "", "name": "Troop Ratio Calculator", "icon_url": "{server(icon)}"}, "fields": [{"name": "Your Max March Troop", "value": "__ {max_troop} __\n", "inline": false}, {"name": "Infantry", "value": "Ratio: {inf}%\nInfantries: __ {m:round({troop_val(1):,})} __", "inline": true}, {"name": "Rider", "value": "Ratio: {rid}%\nRiders: __ {m:round({troop_val(2):,})} __", "inline": true}, {"name": "Hunter", "value": "Ratio: {hun}%\nHunters: __ {m:round({troop_val(3):,})} __", "inline": true}, {"name": "================================", "value": "**Command format:**\n` .troop [ratio] [max march cap] `\nexample: `.troop 60/10/30 120100`\n*Where:*\n[60/10/30] = [infantry/rider/hunter]\n[120100] = your max march cap.", "inline": false}], "footer": {"text": "{server(name)}"}, "timestamp": "2021-10-03T16:05:00.000"}
Raw JSON
{
  "id": 1089970,
  "created_at": "2021-10-03T12:37:38.000Z",
  "tag_name": "troop",
  "nsfw": false,
  "owner_id": "824169766255460393",
  "uses": 171,
  "description": "A quick calculation for Troop Ratio of Max March Cap\nUsage:\n.troop [input your ratio here] [Your max march cap]\n\nExample: .troop 60/20/20 100200",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "856093442412249098",
  "sharer": "824169766255460393",
  "content": "{override}\n{=():}\n\n{=(comment):Defining Initial Variables}\n{=(troop):{args(1)}}\n{=(inf):{troop(1):/}}\n{=(rid):{troop(2):/}}\n{=(hun):{troop(3):/}}\n{=(max_troop):{args(2)}}\n\n{=(comment):Calculations}\n{=(troop_val):{m:({inf}/100)*{max_troop}},{m:({rid}/100)*{max_troop}},{m:({hun}/100)*{max_troop}}}",
  "embed": "{\"color\": 1251132, \"author\": {\"url\": \"\", \"name\": \"Troop Ratio Calculator\", \"icon_url\": \"{server(icon)}\"}, \"fields\": [{\"name\": \"Your Max March Troop\", \"value\": \"__ {max_troop} __\\n\", \"inline\": false}, {\"name\": \"Infantry\", \"value\": \"Ratio: {inf}%\\nInfantries: __ {m:round({troop_val(1):,})} __\", \"inline\": true}, {\"name\": \"Rider\", \"value\": \"Ratio: {rid}%\\nRiders: __ {m:round({troop_val(2):,})} __\", \"inline\": true}, {\"name\": \"Hunter\", \"value\": \"Ratio: {hun}%\\nHunters: __ {m:round({troop_val(3):,})} __\", \"inline\": true}, {\"name\": \"================================\", \"value\": \"**Command format:**\\n` .troop [ratio] [max march cap] `\\nexample: `.troop 60/10/30 120100`\\n*Where:*\\n[60/10/30] = [infantry/rider/hunter]\\n[120100] = your max march cap.\", \"inline\": false}], \"footer\": {\"text\": \"{server(name)}\"}, \"timestamp\": \"2021-10-03T16:05:00.000\"}",
  "last_fetched": "2026-10-20T17:44:38.889Z"
}