tax

Privateunrated

Content

42 lines
{=(encoded):{urlencode:{args}}}
{=(jargs):{join(~):{args}}}
{=(arg1):{list(0):{jargs}}}
{=(spaced):{replace(, ):{arg1}}}
{=(firstChar):{spaced(2)}}
{=(lspace):{replace(, ):{args(0)}}}
{=(vari):{lspace(-2)}{lspace(-1)}}
{=(equation):{lower:{replace(%28,/g):{replace(%29,/g):{replace(%7B,):{replace(%7D,):{replace(%CF%80,pi):{replace(%C3%B7,/):{replace(%2B,+):{replace(%5E,^):{replace(x,*):{replace(%2A,*):{replace(%2C,):{replace(%20, ):{replace(m,e6):{replace(k,e3):{replace(%25i,):{replace(%25I,):{encoded}}}}}}}}}}}}}}}}}}}
{=(equation):{equation(+205)}}
{=(in.equation):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:round({equation})}}}}}}}
{=(taxrate):1}
{=(dec):0.01}
{=(dec.2):0.990099}
{=(cc):{m:abs(round(({equation})*{dec}))}}
{=(in.cc):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:trunc({cc})}}}}}}}
{=(dd):{m:trunc(({equation})+{cc})}}
{=(in.dd):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{dd}}}}}}}
{=(ee):{m:trunc(({equation})*{dec.2})}}
{=(in.ee):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{ee}}}}}}}
{=(ff):{m:abs(round(({equation})-{ee}))}}
{=(in.ff):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:trunc({ff})}}}}}}}
{=(i):#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}
{embed(color):#{{i}}{{i}}{{i}}{{i}}{{i}}{{i}}}
{=(output):Original amount input: `{in.equation}`
Amount expected to pay: `{in.dd}`
Amount lost by tax: `{in.cc}`
Tax rate: `{taxrate}%`}
{=(i.output):Original amount input: `{in.equation}`
Amount user would receive: `{in.ee}`
Amount lost by tax: `{in.ff}`
Tax rate: `{taxrate}%`}
{and(!={firstChar}|{in({m:sgn({equation})}):1}==true|{vari}!=%i|{vari}!=%I):`pls give {equation}`}
{=():} {override}
{=(image):{or({equation}>1e16|{in({m:sgn({equation})}):1}==false):placeholder}}
{=(msg.blank):__**Dank Memer Tax Calculator**__
Seems like the argument is blank. Provide an amount to calculate tax with.
**Usage:** `[p]taxcalc <amount>`
Add variable `%i` to do the inverse calculation.
**Example:** `[p]taxcalc 69420 %i`}
{=(msg.limited):⛔ Your argument should be a positive number and no more than 1e16. Please make sure the amount is not out of this range.}
{=(msg.invalid):⛔ This does not appear to be a valid argument to calculate tax with.}
{{if(=={firstChar}):c:echo {msg.blank}|{if({in({m:sgn({equation})}):1}==false):c:choose {msg.invalid},{msg.invalid}}}}

Embed

1 line
{"color": 5198940, "image": {"url": "{image}"}, "title": "Dank Memer Tax Calculator", "footer": {"text": "Made by Smile#9254", "icon_url": "{server(icon)}"}, "description": "{or({vari}==%i|{vari}==%I):{i.output}|{output}}"}
Raw JSON
{
  "id": 1178114,
  "created_at": "2021-12-04T06:58:14.000Z",
  "tag_name": "tax",
  "nsfw": false,
  "owner_id": "705310868929249290",
  "uses": 53,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "779010238753275905",
  "sharer": "697681586312839208",
  "content": "{=(encoded):{urlencode:{args}}}\n{=(jargs):{join(~):{args}}}\n{=(arg1):{list(0):{jargs}}}\n{=(spaced):{replace(, ):{arg1}}}\n{=(firstChar):{spaced(2)}}\n{=(lspace):{replace(, ):{args(0)}}}\n{=(vari):{lspace(-2)}{lspace(-1)}}\n{=(equation):{lower:{replace(%28,/g):{replace(%29,/g):{replace(%7B,):{replace(%7D,):{replace(%CF%80,pi):{replace(%C3%B7,/):{replace(%2B,+):{replace(%5E,^):{replace(x,*):{replace(%2A,*):{replace(%2C,):{replace(%20, ):{replace(m,e6):{replace(k,e3):{replace(%25i,):{replace(%25I,):{encoded}}}}}}}}}}}}}}}}}}}\n{=(equation):{equation(+205)}}\n{=(in.equation):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:round({equation})}}}}}}}\n{=(taxrate):1}\n{=(dec):0.01}\n{=(dec.2):0.990099}\n{=(cc):{m:abs(round(({equation})*{dec}))}}\n{=(in.cc):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:trunc({cc})}}}}}}}\n{=(dd):{m:trunc(({equation})+{cc})}}\n{=(in.dd):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{dd}}}}}}}\n{=(ee):{m:trunc(({equation})*{dec.2})}}\n{=(in.ee):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{ee}}}}}}}\n{=(ff):{m:abs(round(({equation})-{ee}))}}\n{=(in.ff):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{m:trunc({ff})}}}}}}}\n{=(i):#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}\n{embed(color):#{{i}}{{i}}{{i}}{{i}}{{i}}{{i}}}\n{=(output):Original amount input: `{in.equation}`\nAmount expected to pay: `{in.dd}`\nAmount lost by tax: `{in.cc}`\nTax rate: `{taxrate}%`}\n{=(i.output):Original amount input: `{in.equation}`\nAmount user would receive: `{in.ee}`\nAmount lost by tax: `{in.ff}`\nTax rate: `{taxrate}%`}\n{and(!={firstChar}|{in({m:sgn({equation})}):1}==true|{vari}!=%i|{vari}!=%I):`pls give {equation}`}\n{=():} {override}\n{=(image):{or({equation}>1e16|{in({m:sgn({equation})}):1}==false):placeholder}}\n{=(msg.blank):__**Dank Memer Tax Calculator**__\nSeems like the argument is blank. Provide an amount to calculate tax with.\n**Usage:** `[p]taxcalc <amount>`\nAdd variable `%i` to do the inverse calculation.\n**Example:** `[p]taxcalc 69420 %i`}\n{=(msg.limited):⛔ Your argument should be a positive number and no more than 1e16. Please make sure the amount is not out of this range.}\n{=(msg.invalid):⛔ This does not appear to be a valid argument to calculate tax with.}\n{{if(=={firstChar}):c:echo {msg.blank}|{if({in({m:sgn({equation})}):1}==false):c:choose {msg.invalid},{msg.invalid}}}}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{image}\"}, \"title\": \"Dank Memer Tax Calculator\", \"footer\": {\"text\": \"Made by Smile#9254\", \"icon_url\": \"{server(icon)}\"}, \"description\": \"{or({vari}==%i|{vari}==%I):{i.output}|{output}}\"}",
  "last_fetched": "2026-10-20T18:05:49.131Z"
}