tc

Privateunrated

Content

22 lines
{=():}{=(largs):{lower:{args}}}

{=(COMMENT):ERROR HANDLING}
{=(allNum):{replace(m,1):{replace(k,1):{replace(e,1):{largs}}}}}
{=(isNum):{in({m:sgn({allNum})}):0 1}}
{{if({isNum}==false):blacklist({if(=={args}):You have to enter an amount. Proper format:```[p]tc [amount]```|Please enter a valid amount for me to calculate!}):{server(id)}}}

{=(COMMENT):CALCULATIONS AND OUTPUT FORMATTING}
{=(paid):{m:trunc(round({replace(÷,/):{replace(x,*):{replace(m,e6):{replace(k,e3):{largs}}}}}))}}
{=(out.paid):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{paid}}}}}}}
{=(deductionRate):0.03}
{=(out.rate):3%}
{=(additionRate):{m:1-{deductionRate}}}
{=(lost):{m:trunc(round({paid}*{deductionRate}))}}
{=(out.lost):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{lost}}}}}}}
{=(get):{m:trunc(round({paid}-{lost}))}}
{=(out.get):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{get}}}}}}}
{=(give):{m:trunc(round({paid}/{additionRate}))}}
{=(out.give):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{give}}}}}}}
{=(em.footer):TAX RATE: {out.rate} • Custom Command by Anik#0584}
{embed(color):#3AADDC}
`pls give @user {paid}`

Embed

1 line
{"color": 5198940, "title": "Tax Calculator for Dank Memer", "footer": {"text": "{em.footer}"}, "description": "**Amount Paid: `⏣ {out.paid}`**\n**User Gets: `⏣ {out.get}`**\n**Lost as tax: `⏣ {out.lost}`**\n\n*To send someone `⏣ {out.paid}` after tax, you have to pay `⏣ {out.give}`*"}
Raw JSON
{
  "id": 1051827,
  "created_at": "2021-09-09T06:00:43.000Z",
  "tag_name": "tc",
  "nsfw": false,
  "owner_id": "561139755274862594",
  "uses": 0,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "594784080449503240",
  "sharer": "561139755274862594",
  "content": "{=():}{=(largs):{lower:{args}}}\n\n{=(COMMENT):ERROR HANDLING}\n{=(allNum):{replace(m,1):{replace(k,1):{replace(e,1):{largs}}}}}\n{=(isNum):{in({m:sgn({allNum})}):0 1}}\n{{if({isNum}==false):blacklist({if(=={args}):You have to enter an amount. Proper format:```[p]tc [amount]```|Please enter a valid amount for me to calculate!}):{server(id)}}}\n\n{=(COMMENT):CALCULATIONS AND OUTPUT FORMATTING}\n{=(paid):{m:trunc(round({replace(÷,/):{replace(x,*):{replace(m,e6):{replace(k,e3):{largs}}}}}))}}\n{=(out.paid):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{paid}}}}}}}\n{=(deductionRate):0.03}\n{=(out.rate):3%}\n{=(additionRate):{m:1-{deductionRate}}}\n{=(lost):{m:trunc(round({paid}*{deductionRate}))}}\n{=(out.lost):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{lost}}}}}}}\n{=(get):{m:trunc(round({paid}-{lost}))}}\n{=(out.get):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{get}}}}}}}\n{=(give):{m:trunc(round({paid}/{additionRate}))}}\n{=(out.give):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{give}}}}}}}\n{=(em.footer):TAX RATE: {out.rate} • Custom Command by Anik#0584}\n{embed(color):#3AADDC}\n`pls give @user {paid}`",
  "embed": "{\"color\": 5198940, \"title\": \"Tax Calculator for Dank Memer\", \"footer\": {\"text\": \"{em.footer}\"}, \"description\": \"**Amount Paid: `⏣ {out.paid}`**\\n**User Gets: `⏣ {out.get}`**\\n**Lost as tax: `⏣ {out.lost}`**\\n\\n*To send someone `⏣ {out.paid}` after tax, you have to pay `⏣ {out.give}`*\"}",
  "last_fetched": "2026-10-20T17:34:40.238Z"
}