hc2

Privateunrated

Content

41 lines
{=(zeropercent):{if({ord:{args}}==<ord error>):you need to put a number|{if({args}<25000):{math:round({args})}}}}
{=(onepercent):{if({ord:{args}}==<ord error>):|{if({args}<50000):{if({args}>=25001):{math:round({math:{args}*1.0101})}}}}}
{=(threepercent):{if({ord:{args}}==<ord error>):|{if({args}<100000):{if({args}>=50001):{math:round({math:{args}*1.0101195952161914})}}}}}
{=(fivepercent):{if({ord:{args}}==<ord error>):|{if({args}<749999):{if({args}>=100001):{math:round({math:{args}*1.052629473705263})}}}}}
{=(eightpercent):{if({ord:{args}}==<ord error>):|{if({args}<2499999):{if({args}>=750000):{math:round({math:{args}*1.086956})}}}}}
{=(fifteenpercent):{if({ord:{args}}==<ord error>):|{if({args}>=2500000):{math:round({math:{args}*1.1764704})}}}}
{=(tehmath):{zeropercent}{onepercent}{threepercent}{fivepercent}{eightpercent}{fifteenpercent}}


{=(zeropercentloss):{if({ord:{args}}==<ord error>):you need to put a number |{if({args}<25000):{math:round(0)}}}}
{=(onepercentloss):{if({ord:{args}}==<ord error>):|{if({args}<50000):{if({args}>=25001):{math:round({math:abs({math:{args}-{math:{args}*1.0101195952161914}})})}}}}}
{=(threepercentloss):{if({ord:{args}}==<ord error>):|{if({args}<100000):{if({args}>=50001):{math:round({math:abs({math:{args}-{math:{args}*1.0309193816123678}})})}}}}}
{=(fivepercentloss):{if({ord:{args}}==<ord error>):|{if({args}<749999):{if({args}>=100001):{math:round({math:abs({math:{args}-{math:{args}*1.052629473705263}})})}}}}}
{=(eightpercentloss):{if({ord:{args}}==<ord error>):|{if({args}<2499999):{if({args}>=750000):{math:round({math:abs({math:{args}-{math:{args}*1.086956}})})}}}}}
{=(fifteenpercentloss):{if({ord:{args}}==<ord error>):|{if({args}>=2500000):{math:round({math:abs({math:{args}-{math:{args}*1.1764704}})})}}}}
{=(amountloss):{zeropercentloss}{onepercentloss}{threepercentloss}{fivepercentloss}{eightpercentloss}{fifteenpercentloss}}

{=(zeropercenttaxrate):{if({ord:{args}}==<ord error>):you need to put a number|{if({args}<25000):0%}}}
{=(onepercenttaxrate):{if({ord:{args}}==<ord error>):|{if({args}<50000):{if({args}>=25001):1%}}}}
{=(threepercenttaxrate):{if({ord:{args}}==<ord error>):|{if({args}<100000):{if({args}>=50001):3%}}}}
{=(fivepercenttaxrate):{if({ord:{args}}==<ord error>):|{if({args}<749999):{if({args}>=100001):5%}}}}
{=(eightpercenttaxrate):{if({ord:{args}}==<ord error>):|{if({args}<2499999):{if({args}>=750000):8%}}}}
{=(fifteenpercenttaxrate):{if({ord:{args}}==<ord error>):|{if({args}>=2500000):15%}}}
{=(taxrate):{zeropercenttaxrate}{onepercenttaxrate}{threepercenttaxrate}{fivepercenttaxrate}{eightpercenttaxrate}{fifteenpercenttaxrate}}


{=(zeropercent1):{if({ord:{args}}==<ord error>):you need to put a number|{if({args}<25000):{math:round({args})}}}}
{=(onepercent1):{if({ord:{args}}==<ord error>):|{if({args}<50000):{if({args}>=25001):{math:round({math:{args}-{math:{args}*0.01}})}}}}}
{=(threepercent1):{if({ord:{args}}==<ord error>):|{if({args}<100000):{if({args}>=50001):{math:round({math:{args}-{math:{args}*0.03}})}}}}}
{=(fivepercent1):{if({ord:{args}}==<ord error>):|{if({args}<749999):{if({args}>=100001):{math:round({math:{args}-{math:{args}*0.05}})}}}}}
{=(eightpercent1):{if({ord:{args}}==<ord error>):|{if({args}<2499999):{if({args}>=750000):{math:round({math:{args}-{math:{args}*0.08}})}}}}}
{=(fifteenpercent1):{if({ord:{args}}==<ord error>):|{if({args}>=2500000):{math:round({math:{args}-{math:{args}*0.15}})}}}}
{=(taxifonlyargs):{zeropercent1}{onepercent1}{threepercent1}{fivepercent1}{eightpercent1}{fifteenpercent1}}

{=(expectedpay):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{tehmath}}}}}}}
{=(amountlost):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{amountloss}}}}}}}
{=(taxif):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{taxifonlyargs}}}}}}}

{=(i):#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}
{=(randomhex):{{i}}{{i}}{{i}}{{i}}{{i}}{{i}}}
{embed(color):#{randomhex}}

Embed

1 line
{"color": 65535, "title": "**Tax Calculator**", "fields": [{"name": "Amount expected to pay:", "value": "`{expectedpay}`", "inline": true}, {"name": "Amount lost by tax:", "value": "`{amountlost}`", "inline": true}, {"name": "Tax rate:", "value": "`{taxrate}`", "inline": true}, {"name": "Tax if only pay {args}", "value": "`{taxif}`", "inline": true}]}
Raw JSON
{
  "id": 509747,
  "created_at": "2020-12-31T22:17:21.000Z",
  "tag_name": "hc2",
  "nsfw": false,
  "owner_id": "309165073258119170",
  "uses": 2,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "767851502995767328",
  "sharer": "309165073258119170",
  "content": "{=(zeropercent):{if({ord:{args}}==<ord error>):you need to put a number|{if({args}<25000):{math:round({args})}}}}\n{=(onepercent):{if({ord:{args}}==<ord error>):|{if({args}<50000):{if({args}>=25001):{math:round({math:{args}*1.0101})}}}}}\n{=(threepercent):{if({ord:{args}}==<ord error>):|{if({args}<100000):{if({args}>=50001):{math:round({math:{args}*1.0101195952161914})}}}}}\n{=(fivepercent):{if({ord:{args}}==<ord error>):|{if({args}<749999):{if({args}>=100001):{math:round({math:{args}*1.052629473705263})}}}}}\n{=(eightpercent):{if({ord:{args}}==<ord error>):|{if({args}<2499999):{if({args}>=750000):{math:round({math:{args}*1.086956})}}}}}\n{=(fifteenpercent):{if({ord:{args}}==<ord error>):|{if({args}>=2500000):{math:round({math:{args}*1.1764704})}}}}\n{=(tehmath):{zeropercent}{onepercent}{threepercent}{fivepercent}{eightpercent}{fifteenpercent}}\n\n\n{=(zeropercentloss):{if({ord:{args}}==<ord error>):you need to put a number |{if({args}<25000):{math:round(0)}}}}\n{=(onepercentloss):{if({ord:{args}}==<ord error>):|{if({args}<50000):{if({args}>=25001):{math:round({math:abs({math:{args}-{math:{args}*1.0101195952161914}})})}}}}}\n{=(threepercentloss):{if({ord:{args}}==<ord error>):|{if({args}<100000):{if({args}>=50001):{math:round({math:abs({math:{args}-{math:{args}*1.0309193816123678}})})}}}}}\n{=(fivepercentloss):{if({ord:{args}}==<ord error>):|{if({args}<749999):{if({args}>=100001):{math:round({math:abs({math:{args}-{math:{args}*1.052629473705263}})})}}}}}\n{=(eightpercentloss):{if({ord:{args}}==<ord error>):|{if({args}<2499999):{if({args}>=750000):{math:round({math:abs({math:{args}-{math:{args}*1.086956}})})}}}}}\n{=(fifteenpercentloss):{if({ord:{args}}==<ord error>):|{if({args}>=2500000):{math:round({math:abs({math:{args}-{math:{args}*1.1764704}})})}}}}\n{=(amountloss):{zeropercentloss}{onepercentloss}{threepercentloss}{fivepercentloss}{eightpercentloss}{fifteenpercentloss}}\n\n{=(zeropercenttaxrate):{if({ord:{args}}==<ord error>):you need to put a number|{if({args}<25000):0%}}}\n{=(onepercenttaxrate):{if({ord:{args}}==<ord error>):|{if({args}<50000):{if({args}>=25001):1%}}}}\n{=(threepercenttaxrate):{if({ord:{args}}==<ord error>):|{if({args}<100000):{if({args}>=50001):3%}}}}\n{=(fivepercenttaxrate):{if({ord:{args}}==<ord error>):|{if({args}<749999):{if({args}>=100001):5%}}}}\n{=(eightpercenttaxrate):{if({ord:{args}}==<ord error>):|{if({args}<2499999):{if({args}>=750000):8%}}}}\n{=(fifteenpercenttaxrate):{if({ord:{args}}==<ord error>):|{if({args}>=2500000):15%}}}\n{=(taxrate):{zeropercenttaxrate}{onepercenttaxrate}{threepercenttaxrate}{fivepercenttaxrate}{eightpercenttaxrate}{fifteenpercenttaxrate}}\n\n\n{=(zeropercent1):{if({ord:{args}}==<ord error>):you need to put a number|{if({args}<25000):{math:round({args})}}}}\n{=(onepercent1):{if({ord:{args}}==<ord error>):|{if({args}<50000):{if({args}>=25001):{math:round({math:{args}-{math:{args}*0.01}})}}}}}\n{=(threepercent1):{if({ord:{args}}==<ord error>):|{if({args}<100000):{if({args}>=50001):{math:round({math:{args}-{math:{args}*0.03}})}}}}}\n{=(fivepercent1):{if({ord:{args}}==<ord error>):|{if({args}<749999):{if({args}>=100001):{math:round({math:{args}-{math:{args}*0.05}})}}}}}\n{=(eightpercent1):{if({ord:{args}}==<ord error>):|{if({args}<2499999):{if({args}>=750000):{math:round({math:{args}-{math:{args}*0.08}})}}}}}\n{=(fifteenpercent1):{if({ord:{args}}==<ord error>):|{if({args}>=2500000):{math:round({math:{args}-{math:{args}*0.15}})}}}}\n{=(taxifonlyargs):{zeropercent1}{onepercent1}{threepercent1}{fivepercent1}{eightpercent1}{fifteenpercent1}}\n\n{=(expectedpay):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{tehmath}}}}}}}\n{=(amountlost):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{amountloss}}}}}}}\n{=(taxif):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{taxifonlyargs}}}}}}}\n\n{=(i):#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}\n{=(randomhex):{{i}}{{i}}{{i}}{{i}}{{i}}{{i}}}\n{embed(color):#{randomhex}}",
  "embed": "{\"color\": 65535, \"title\": \"**Tax Calculator**\", \"fields\": [{\"name\": \"Amount expected to pay:\", \"value\": \"`{expectedpay}`\", \"inline\": true}, {\"name\": \"Amount lost by tax:\", \"value\": \"`{amountlost}`\", \"inline\": true}, {\"name\": \"Tax rate:\", \"value\": \"`{taxrate}`\", \"inline\": true}, {\"name\": \"Tax if only pay {args}\", \"value\": \"`{taxif}`\", \"inline\": true}]}",
  "last_fetched": "2026-10-20T23:38:44.523Z"
}