taxcalc
Privateunrated
Content
59 lines{embed(timestamp):now}{silent}
{=(fail):{if({in(a):{args}}==true):nice|{if({in(b):{args}}==true):nice|{if({in(c):{args}}==true):nice|{if({in(d):{args}}==true):nice|{if({in(f):{args}}==true):nice|{if({in(g):{args}}==true):nice|{if({in(h):{args}}==true):nice|{if({in(j):{args}}==true):nice|{if({in(n):{args}}==true):nice|{if({in(o):{args}}==true):nice|{if({in(p):{args}}==true):nice|{if({in(q):{args}}==true):nice|{if({in(r):{args}}==true):nice|{if({in(s):{args}}==true):nice|{if({in(t):{args}}==true):nice|{if({in(u):{args}}==true):nice|{if({in(v):{args}}==true):nice|{if({in(w):{args}}==true):nice|{if({in(x):{args}}==true):nice|{if({in(y):{args}}==true):nice|{if({in(z):{args}}==true):nice|{if({in(A):{args}}==true):nice|{if({in(B):{args}}==true):nice|{if({in(C):{args}}==true):nice|{if({in(D):{args}}==true):nice|{if({in(E):{args}}==true):nice|{if({in(F):{args}}==true):nice|{if({in(G):{args}}==true):nice|{if({in(H):{args}}==true):nice|{if({in(J):{args}}==true):nice|{if({in(N):{args}}==true):nice|{if({in(O):{args}}==true):nice|{if({in(P):{args}}==true):nice|{if({in(Q):{args}}==true):nice|{if({in(R):{args}}==true):nice|{if({in(S):{args}}==true):nice|{if({in(T):{args}}==true):nice|{if({in(U):{args}}==true):nice|{if({in(V):{args}}==true):nice|{if({in(W):{args}}==true):nice|{if({in(X):{args}}==true):nice|{if({in(Y):{args}}==true):nice|{if({in(Z):{args}}==true):nice|oop}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
{=(Replacing any abreviations):}
{=(newargs):{args}}
{=(urlarg):{if({fail}==oop):{urlencode:{args}}}}
{=(urlargs):{replace(%2C,):{urlarg}}}
{=(args):{urlargs}}
{=(test):{if({in(mil):{args}}==true):{replace(mil,m):{args}}|{if({in(Mil):{args}}==true):{replace(Mil,m):{args}}|{if({in(MIl):{args}}==true):{replace(MIl,m):{args}}|{if({in(MIL):{args}}==true):{replace(MIL,m):{args}}|{args}}}}}}
{=(abrev):{if({in(k):{test}}==true):{math:trunc({replace(k, ):{test}}*1000)}|{if({in(K):{test}}==true):{math:trunc({replace(k, ):{test}}*1000)}|{if({in(m):{test}}==true):{math:trunc({replace(m, ):{test}}*1000000)}|{if({in(M):{test}}==true):{math:trunc({replace(M, ):{test}}*1000000)}|{args}}}}}}
{=(no):{math:trunc({abrev})}}
{=(Calculation):}
{=(integer):{if({no}<=25000):1|{if({no}<=49500):0.99|{if({no}<=97000):0.97|{if({no}<=712499):0.95|{if({no}<=2124999):0.92|0.85}}}}}}
{=(tax):{if({integer}==1):0|{if({integer}==1):0|{if({integer}==0.99):1|{if({integer}==0.97):3|{if({integer}==0.95):5|{if({integer}==0.92):8|15}}}}}}}
{=(calc):{math:round({no}/{integer})}}
{=(number):{if({no}<=20202):1|{if({no}<=51545):0.99|{if({no}<=105263):0.97|{if({no}<=712499):0.95|{if({no}<=2299999):0.92|0.85}}}}}}
{=(check):{math:round({no}*{number})}}
{=(after):{if({check}<=20000):no1|{if({check}<=49500):no2|{if({check}<=96999):no3|{if({check}<=690000):no4|{if({check}<=2124999):no5|no6}}}}}}
{=(expected):{if({after}==no1):{math:round({no}*{number})}|{if({after}==no2):{math:round({no}*{number})}|{if({after}==no3):{math:round({no}*{number})}|{if({after}==no4):{math:round({no}*{number})}|{if({after}==no5):{math:round({no}*{number})}|{if({after}==no6):{math:round({no}*{number})}}}}}}}}
{=(WithCommaCalc):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{calc}}}}}}}
{=(WithCommaExpected):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{expected}}}}}}}
{=(The final result):}
{=(imaginetryingtocalculateaword):{upper:{newargs}}}
{=(noargs):```
Please provide a value.```}
{=(ifword):```prolog
{imaginetryingtocalculateaword}
how am i suppose to calculate that?```}
{=(amounttobepaid):**Amount expected to pay**```excel
{WithCommaCalc}```}
{=(amountifargspaid):**Amount if __{newargs}__ is paid ({tax}%)**```excel
{WithCommaExpected}```}
{=(results): {if({newargs}!=):{amounttobepaid}
{amountifargspaid}}}
{=(something):{calc}}
{=(somethingelse):{if({newargs}!=):{calc}|{if({fail}==nice):nothing|}}}
{=(somethingelse):{if({fail}==nice):}}
{=(plsshare):{if({newargs}==):|{if({fail}==oop):pls share {calc}}}}
{plsshare}
{=( The Colour of the Embed):}
{=(n):1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}
{=(h1):{rand:{n}}}{=(h2):{rand:{n}}}{=(h3):{rand:{n}}}{=(h4):{rand:{n}}}{=(h5):{rand:{n}}}{=(h6):{rand:{n}}}
{=(hex):{h1}{h2}{h3}{h4}{h5}{h6}}
{=(clr.red):F80E0E}
{=(embed.colour):{if({args}==):{clr.red}|{if({fail}==nice):{clr.red}|{hex}}}}
{embed(color): #{embed.colour}}Embed
1 line{"url": "https://discordapp.com/channels/746737104146399353/759668628952973343/762185901459636284", "color": 5198940, "title": "Dank Memer Tax Calculator", "footer": {"text": "Credits to: Say...||.||", "icon_url": "https://cdn.discordapp.com/avatars/343610273527234562/a_be44418488049c566b961702916dbf13.gif?size=512"}, "description": "{if({newargs}==):{noargs}|{results}}\n"}Raw JSON
{
"id": 358768,
"created_at": "2020-10-04T06:10:30.000Z",
"tag_name": "taxcalc",
"nsfw": false,
"owner_id": "343610273527234562",
"uses": 2518,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "746737104146399353",
"sharer": "343610273527234562",
"content": "{embed(timestamp):now}{silent}\n\n\n{=(fail):{if({in(a):{args}}==true):nice|{if({in(b):{args}}==true):nice|{if({in(c):{args}}==true):nice|{if({in(d):{args}}==true):nice|{if({in(f):{args}}==true):nice|{if({in(g):{args}}==true):nice|{if({in(h):{args}}==true):nice|{if({in(j):{args}}==true):nice|{if({in(n):{args}}==true):nice|{if({in(o):{args}}==true):nice|{if({in(p):{args}}==true):nice|{if({in(q):{args}}==true):nice|{if({in(r):{args}}==true):nice|{if({in(s):{args}}==true):nice|{if({in(t):{args}}==true):nice|{if({in(u):{args}}==true):nice|{if({in(v):{args}}==true):nice|{if({in(w):{args}}==true):nice|{if({in(x):{args}}==true):nice|{if({in(y):{args}}==true):nice|{if({in(z):{args}}==true):nice|{if({in(A):{args}}==true):nice|{if({in(B):{args}}==true):nice|{if({in(C):{args}}==true):nice|{if({in(D):{args}}==true):nice|{if({in(E):{args}}==true):nice|{if({in(F):{args}}==true):nice|{if({in(G):{args}}==true):nice|{if({in(H):{args}}==true):nice|{if({in(J):{args}}==true):nice|{if({in(N):{args}}==true):nice|{if({in(O):{args}}==true):nice|{if({in(P):{args}}==true):nice|{if({in(Q):{args}}==true):nice|{if({in(R):{args}}==true):nice|{if({in(S):{args}}==true):nice|{if({in(T):{args}}==true):nice|{if({in(U):{args}}==true):nice|{if({in(V):{args}}==true):nice|{if({in(W):{args}}==true):nice|{if({in(X):{args}}==true):nice|{if({in(Y):{args}}==true):nice|{if({in(Z):{args}}==true):nice|oop}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}\n\n\n{=(Replacing any abreviations):}\n\n{=(newargs):{args}}\n{=(urlarg):{if({fail}==oop):{urlencode:{args}}}}\n{=(urlargs):{replace(%2C,):{urlarg}}}\n{=(args):{urlargs}}\n{=(test):{if({in(mil):{args}}==true):{replace(mil,m):{args}}|{if({in(Mil):{args}}==true):{replace(Mil,m):{args}}|{if({in(MIl):{args}}==true):{replace(MIl,m):{args}}|{if({in(MIL):{args}}==true):{replace(MIL,m):{args}}|{args}}}}}}\n{=(abrev):{if({in(k):{test}}==true):{math:trunc({replace(k, ):{test}}*1000)}|{if({in(K):{test}}==true):{math:trunc({replace(k, ):{test}}*1000)}|{if({in(m):{test}}==true):{math:trunc({replace(m, ):{test}}*1000000)}|{if({in(M):{test}}==true):{math:trunc({replace(M, ):{test}}*1000000)}|{args}}}}}} \n{=(no):{math:trunc({abrev})}}\n\n\n{=(Calculation):}\n\n{=(integer):{if({no}<=25000):1|{if({no}<=49500):0.99|{if({no}<=97000):0.97|{if({no}<=712499):0.95|{if({no}<=2124999):0.92|0.85}}}}}}\n{=(tax):{if({integer}==1):0|{if({integer}==1):0|{if({integer}==0.99):1|{if({integer}==0.97):3|{if({integer}==0.95):5|{if({integer}==0.92):8|15}}}}}}}\n{=(calc):{math:round({no}/{integer})}}\n{=(number):{if({no}<=20202):1|{if({no}<=51545):0.99|{if({no}<=105263):0.97|{if({no}<=712499):0.95|{if({no}<=2299999):0.92|0.85}}}}}}\n{=(check):{math:round({no}*{number})}}\n{=(after):{if({check}<=20000):no1|{if({check}<=49500):no2|{if({check}<=96999):no3|{if({check}<=690000):no4|{if({check}<=2124999):no5|no6}}}}}}\n{=(expected):{if({after}==no1):{math:round({no}*{number})}|{if({after}==no2):{math:round({no}*{number})}|{if({after}==no3):{math:round({no}*{number})}|{if({after}==no4):{math:round({no}*{number})}|{if({after}==no5):{math:round({no}*{number})}|{if({after}==no6):{math:round({no}*{number})}}}}}}}}\n{=(WithCommaCalc):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{calc}}}}}}}\n{=(WithCommaExpected):{replace(st,):{replace(nd,):{replace(rd,):{replace(th,):{ord:{expected}}}}}}}\n\n\n{=(The final result):}\n\n{=(imaginetryingtocalculateaword):{upper:{newargs}}}\n{=(noargs):```\nPlease provide a value.```}\n{=(ifword):```prolog\n{imaginetryingtocalculateaword}\n\nhow am i suppose to calculate that?```}\n{=(amounttobepaid):**Amount expected to pay**```excel\n{WithCommaCalc}```}\n{=(amountifargspaid):**Amount if __{newargs}__ is paid ({tax}%)**```excel\n{WithCommaExpected}```}\n{=(results): {if({newargs}!=):{amounttobepaid}\n{amountifargspaid}}}\n{=(something):{calc}}\n{=(somethingelse):{if({newargs}!=):{calc}|{if({fail}==nice):nothing|}}}\n{=(somethingelse):{if({fail}==nice):}}\n{=(plsshare):{if({newargs}==):|{if({fail}==oop):pls share {calc}}}}\n{plsshare}\n\n{=( The Colour of the Embed):}\n\n{=(n):1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}\n{=(h1):{rand:{n}}}{=(h2):{rand:{n}}}{=(h3):{rand:{n}}}{=(h4):{rand:{n}}}{=(h5):{rand:{n}}}{=(h6):{rand:{n}}}\n{=(hex):{h1}{h2}{h3}{h4}{h5}{h6}}\n{=(clr.red):F80E0E}\n{=(embed.colour):{if({args}==):{clr.red}|{if({fail}==nice):{clr.red}|{hex}}}}\n{embed(color): #{embed.colour}}",
"embed": "{\"url\": \"https://discordapp.com/channels/746737104146399353/759668628952973343/762185901459636284\", \"color\": 5198940, \"title\": \"Dank Memer Tax Calculator\", \"footer\": {\"text\": \"Credits to: Say...||.||\", \"icon_url\": \"https://cdn.discordapp.com/avatars/343610273527234562/a_be44418488049c566b961702916dbf13.gif?size=512\"}, \"description\": \"{if({newargs}==):{noargs}|{results}}\\n\"}",
"last_fetched": "2026-10-20T22:39:43.191Z"
}