tax

Privateunrated

Content

31 lines
{=(comment):Below, set the prefix you use for Carl-bot in your server!}
{=(botprefix):/}

{=(comment):You can set the embed color to be a hex color code (#7289DA, #123456) or you can put "random" if you want it to be a random color. If the hex color code is invalid, the embed color will just be gray.}
{=(embedcolor):random}

{=(comment):The rest is just code, you don't need to touch anything.}

{=():}
{=(largs):{lower:{args}}}
{=(number):{if({in(k):{largs}}==true):{replace(%,):{replace(.0%,):{m:{replace(k,):{largs}}*1000}%}}|{if({in(mil):{largs}}==true):{replace(%,):{replace(.0%,):{m:{replace(mil,):{largs}}*1000000}%}}|{if({in(m):{largs}}==true):{replace(%,):{replace(.0%,):{m:{replace(m,):{largs}}*1000000}%}}|{all({in(e):{largs}}==true|{largs(1)}!=help):{replace(%,):{replace(.0%,):{m:{largs(1):e}*(10^{largs(2):e})}%}}|{if({largs}==):oop|{largs}}}}}}}

{=(error1):{all({m:{number}+{number}}!={m:{number}*2}|{number}!=oop):yes|no}}
{=(number):{if({error1}==yes):-680178137090359319|{number}}}

{=(tax%):{if({number}<=0):696969|{if({number}<=20000):00|{if({number}<=49500):01|{if({number}<=97000):03|{if({number}<=475000):03|{if({number}<=900000):05|{if({number}>900000):08|696969}}}}}}}}

{=(error):{if({tax%}==696969):yes|{if({number}==oop):yes|no}}}

{=(tax1):{m:1-0.{tax%}}}
{=(tax):{m:trunc({number}/{tax1})}}
{=(lost):{m:round({tax}-{number})}}
{=(danktax):{m:trunc(round({tax%}))}}

{=(output):{if({largs(1)}==help):**Usage:** `{botprefix}tax <number>`
This tag supports K, M, and E values. (50k, 2e4, 1.3m)|{if({number}==oop):Provide something to find the tax of.|{if({number}==-680178137090359319):You have to input an actual number, dont try to break me.|{if({tax%}==696969):Needs to be a whole number greater than 0 yeah?|{if({tax%}<1):0% tax - **No tax!**|**{danktax}% tax** - about **{lost} coins** lost.
Giving **{tax}** would give almost exactly {number}!}}}}}}

{=(c):1~2~3~4~5~6~7~8~9~0~A~B~C~D~E~F}
{=(embed_color):{if({lower:{embedcolor}}==random):#{#:{c}}{#:{c}}{#:{c}}{#:{c}}{#:{c}}{#:{c}}|{upper:{embedcolor}}}}
{embed(color):{embed_color}}

Embed

1 line
{"color": 5198940, "title": "{any({error1}==yes|{error}==yes):|Dank Memer Tax Calculator}", "description": "{output}"}
Raw JSON
{
  "id": 240621,
  "created_at": "2022-04-26T10:36:47.476Z",
  "tag_name": "tax",
  "nsfw": false,
  "owner_id": "680178137090359319",
  "uses": 101,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "687431118483750949",
  "sharer": "680178137090359319",
  "content": "{=(comment):Below, set the prefix you use for Carl-bot in your server!}\n{=(botprefix):/}\n\n{=(comment):You can set the embed color to be a hex color code (#7289DA, #123456) or you can put \"random\" if you want it to be a random color. If the hex color code is invalid, the embed color will just be gray.}\n{=(embedcolor):random}\n\n{=(comment):The rest is just code, you don't need to touch anything.}\n\n{=():}\n{=(largs):{lower:{args}}}\n{=(number):{if({in(k):{largs}}==true):{replace(%,):{replace(.0%,):{m:{replace(k,):{largs}}*1000}%}}|{if({in(mil):{largs}}==true):{replace(%,):{replace(.0%,):{m:{replace(mil,):{largs}}*1000000}%}}|{if({in(m):{largs}}==true):{replace(%,):{replace(.0%,):{m:{replace(m,):{largs}}*1000000}%}}|{all({in(e):{largs}}==true|{largs(1)}!=help):{replace(%,):{replace(.0%,):{m:{largs(1):e}*(10^{largs(2):e})}%}}|{if({largs}==):oop|{largs}}}}}}}\n\n{=(error1):{all({m:{number}+{number}}!={m:{number}*2}|{number}!=oop):yes|no}}\n{=(number):{if({error1}==yes):-680178137090359319|{number}}}\n\n{=(tax%):{if({number}<=0):696969|{if({number}<=20000):00|{if({number}<=49500):01|{if({number}<=97000):03|{if({number}<=475000):03|{if({number}<=900000):05|{if({number}>900000):08|696969}}}}}}}}\n\n{=(error):{if({tax%}==696969):yes|{if({number}==oop):yes|no}}}\n\n{=(tax1):{m:1-0.{tax%}}}\n{=(tax):{m:trunc({number}/{tax1})}}\n{=(lost):{m:round({tax}-{number})}}\n{=(danktax):{m:trunc(round({tax%}))}}\n\n{=(output):{if({largs(1)}==help):**Usage:** `{botprefix}tax <number>`\nThis tag supports K, M, and E values. (50k, 2e4, 1.3m)|{if({number}==oop):Provide something to find the tax of.|{if({number}==-680178137090359319):You have to input an actual number, dont try to break me.|{if({tax%}==696969):Needs to be a whole number greater than 0 yeah?|{if({tax%}<1):0% tax - **No tax!**|**{danktax}% tax** - about **{lost} coins** lost.\nGiving **{tax}** would give almost exactly {number}!}}}}}}\n\n{=(c):1~2~3~4~5~6~7~8~9~0~A~B~C~D~E~F}\n{=(embed_color):{if({lower:{embedcolor}}==random):#{#:{c}}{#:{c}}{#:{c}}{#:{c}}{#:{c}}{#:{c}}|{upper:{embedcolor}}}}\n{embed(color):{embed_color}}",
  "embed": "{\"color\": 5198940, \"title\": \"{any({error1}==yes|{error}==yes):|Dank Memer Tax Calculator}\", \"description\": \"{output}\"}",
  "last_fetched": "2026-10-20T21:52:42.199Z"
}