salecalc2
Privateunrated
Content
62 lines{=(f1):{math:round(({args(1)}/(1-{args(2)}/100))*{args(3)}-{args(1)}*{args(3)})}}
{=(f2):{m:{args(1)}*{args(3)}}}
{=(f3):{math:round(({args(1)}/(1-{args(2)}/100))*{args(3)})}}
{=(f4):{math:round((({args(1)}/(1-{args(2)}/100))/3)*{args(3)})}}
{=(f5):{math:round(({args(1)}/3)*{args(3)})}}
{=(f6):{math:round(((({args(1)}/(1-{args(2)}/100))/3)*{args(3)}-({args(1)}/3)*{args(3)})/(({args(1)}/3)*{args(3)})*100)}}
{=(f7):{math:round(((({args(1)}/(1-{args(2)}/100))/3)/{args(1)})*100)}}
{=(f8):{math:round({args(1)}*{args(3)}-(({args(1)}/(1-{args(2)}/100))*{args(3)})/10)}}
{=(f9):{math:round(((({args(1)}*{args(3)}-(({args(1)}/(1-{args(2)}/100))*{args(3)})/10))/({args(1)}*{args(3)}))*100)}}
{=(f10):{m:{args(1)}*{args(3)}-({args(1)}*{args(3)})/10}}
{=(f11):{math:round((({args(1)}/(1-{args(2)}/100))*{args(3)})*({args(4)}/100)-{args(1)}*{args(3)})}}
{=(f12):{math:round(((({args(1)}/(1-{args(2)}/100))*{args(3)})*({args(4)}/100)-{args(1)}*{args(3)})/({args(1)}*{args(3)})*100)}}
{=(s1):{math:round(({args(1)}*{args(3)})/(({args(1)}/(100-{args(2)}))*{args(3)}))}}
{=(exe1):**Discounted price:** `{math:round({args(1)})}.0`
**Percentage of discount:** `{math:round({args(2)})}% off`
**Quantity:** `{math:round({args(3)})}/69420`}
{=(exe2):Here will show you how much you can save if you buy that item during the sale compare with buying for original price.
> **Amount Saved**
> = `{f1}.0`
Amount expected to pay: `{f2}`
Original price: `{f3}.0`}
{=(exe3):Here will show you the expected inventory worth amount influence.
> **Net Amount Expected To Increase**
> = `{f4}.0`
Amount able to increase (original price): `{f5}.0`
Percentage of amount expected to increase: `{f6}%`
Inventory worth amount - Cost ratio in percentage:
`{f7}%`}
{=(exe4):Here will show you how much you will lose if you resell that item to shop directly and how much you can earn/lose if you trade it.
~ resell to shop directly ~
> Amount expected to lose (after the sale): `{f8}.0`
> Loss percentage: `{f9}%`
Amount expected to lose (during the sale): `{f10}`
~ Trading ~
Amount expected to earn/lose (resell for {args(4)}%): `{f11}.0`
Profit/Loss percentage (resell for {args(4)}%): `{f12}%`}
{=(exe5):For more information, do `-salecalcref`.}
{=(errormsg1):Correct format:
For page 1: `-salecalc <discounted price> <percentage of discount> <quantity> 1`
For page 2: `-salecalc <discounted price> <percentage of discount> <quantity> <percentage of original price for resale> 2`}
{=(errormsg2):`[ERROR] Math Error`}
{=(errormsg3):`[ERROR] Syntax Error`}
{=(title1):Cost Effectiveness}
{=(title2):Inventory}
{=(title3):Resale & Trading}
{=(title4):References}
{=(title5):`————————————————————`}
{=(footer1):This tag was made by Bloonat!cS.}
{=(footer2):This tag was made by Bloonat!cS. — Page 1 of 2}
{=(footer3):This tag was made by Bloonat!cS. — Page 2 of 2}
{=(empty):}
{=(statement0):{if({f12}<=-101):3|{if({f12}>=901):3|4}}}
{=(statement1):{if({args(5)}==2):{statement0}|2}}
{=(statement2):{if({s1}<=9):1|{if({s1}>=96):1|{if({f1}<=-1):1|{statement1}}}}}
{=(display1):{if({statement2}==1):{errormsg2}|{if({statement2}==2):{exe1}|{if({statement2}==3):{errormsg2}|{if({statement2}==4):{exe1}|{errormsg3}}}}}}
{=(display2):{if({statement2}==1):{errormsg2}|{if({statement2}==2):{exe2}|{if({statement2}==3):{errormsg2}|{if({statement2}==4):{exe4}|{errormsg3}}}}}}
{=(display3):{if({statement2}==1):{errormsg2}|{if({statement2}==2):{exe3}|{if({statement2}==3):{exe5}|{if({statement2}==4):{exe5}|{errormsg3}}}}}}
{=(display4):{if({statement2}==1):{title1}|{if({statement2}==2):{title1}|{if({statement2}==3):{title3}|{if({statement2}==4):{title3}|{title5}}}}}}
{=(display5):{if({statement2}==1):{title2}|{if({statement2}==2):{title2}|{if({statement2}==3):{title4}|{if({statement2}==4):{title4}|{title5}}}}}}
{=(display6):{if({statement2}==1):{empty}|{if({statement2}==2):{empty}|{if({statement2}==3):{empty}|{if({statement2}==4):{empty}|{errormsg1}}}}}}
{=(display7):{if({statement2}==1):{footer2}|{if({statement2}==2):{footer2}|{if({statement2}==3):{footer3}|{if({statement2}==4):{footer3}|{footer1}}}}}}
{display6}Embed
1 line{"color": 12845022, "title": "Dank Memer Shop Sale Analyser", "fields": [{"name": "{display4}", "value": "{display2}", "inline": false}, {"name": "{display5}", "value": "{display3}", "inline": false}], "footer": {"text": "{display7}"}, "description": "{display1}"}Raw JSON
{
"id": 391337,
"created_at": "2020-10-25T03:46:50.000Z",
"tag_name": "salecalc2",
"nsfw": false,
"owner_id": "676103178323886085",
"uses": 247,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "740192346024443964",
"sharer": "676103178323886085",
"content": "{=(f1):{math:round(({args(1)}/(1-{args(2)}/100))*{args(3)}-{args(1)}*{args(3)})}}\n{=(f2):{m:{args(1)}*{args(3)}}}\n{=(f3):{math:round(({args(1)}/(1-{args(2)}/100))*{args(3)})}}\n{=(f4):{math:round((({args(1)}/(1-{args(2)}/100))/3)*{args(3)})}}\n{=(f5):{math:round(({args(1)}/3)*{args(3)})}}\n{=(f6):{math:round(((({args(1)}/(1-{args(2)}/100))/3)*{args(3)}-({args(1)}/3)*{args(3)})/(({args(1)}/3)*{args(3)})*100)}}\n{=(f7):{math:round(((({args(1)}/(1-{args(2)}/100))/3)/{args(1)})*100)}}\n{=(f8):{math:round({args(1)}*{args(3)}-(({args(1)}/(1-{args(2)}/100))*{args(3)})/10)}}\n{=(f9):{math:round(((({args(1)}*{args(3)}-(({args(1)}/(1-{args(2)}/100))*{args(3)})/10))/({args(1)}*{args(3)}))*100)}}\n{=(f10):{m:{args(1)}*{args(3)}-({args(1)}*{args(3)})/10}}\n{=(f11):{math:round((({args(1)}/(1-{args(2)}/100))*{args(3)})*({args(4)}/100)-{args(1)}*{args(3)})}}\n{=(f12):{math:round(((({args(1)}/(1-{args(2)}/100))*{args(3)})*({args(4)}/100)-{args(1)}*{args(3)})/({args(1)}*{args(3)})*100)}}\n{=(s1):{math:round(({args(1)}*{args(3)})/(({args(1)}/(100-{args(2)}))*{args(3)}))}}\n{=(exe1):**Discounted price:** `{math:round({args(1)})}.0`\n**Percentage of discount:** `{math:round({args(2)})}% off`\n**Quantity:** `{math:round({args(3)})}/69420`}\n{=(exe2):Here will show you how much you can save if you buy that item during the sale compare with buying for original price.\n> **Amount Saved**\n> = `{f1}.0`\nAmount expected to pay: `{f2}`\nOriginal price: `{f3}.0`}\n{=(exe3):Here will show you the expected inventory worth amount influence.\n> **Net Amount Expected To Increase**\n> = `{f4}.0`\nAmount able to increase (original price): `{f5}.0`\nPercentage of amount expected to increase: `{f6}%`\nInventory worth amount - Cost ratio in percentage:\n`{f7}%`}\n{=(exe4):Here will show you how much you will lose if you resell that item to shop directly and how much you can earn/lose if you trade it.\n~ resell to shop directly ~\n> Amount expected to lose (after the sale): `{f8}.0`\n> Loss percentage: `{f9}%`\nAmount expected to lose (during the sale): `{f10}`\n~ Trading ~\nAmount expected to earn/lose (resell for {args(4)}%): `{f11}.0`\nProfit/Loss percentage (resell for {args(4)}%): `{f12}%`}\n{=(exe5):For more information, do `-salecalcref`.}\n{=(errormsg1):Correct format: \nFor page 1: `-salecalc <discounted price> <percentage of discount> <quantity> 1`\nFor page 2: `-salecalc <discounted price> <percentage of discount> <quantity> <percentage of original price for resale> 2`}\n{=(errormsg2):`[ERROR] Math Error`}\n{=(errormsg3):`[ERROR] Syntax Error`}\n{=(title1):Cost Effectiveness}\n{=(title2):Inventory}\n{=(title3):Resale & Trading}\n{=(title4):References}\n{=(title5):`————————————————————`}\n{=(footer1):This tag was made by Bloonat!cS.}\n{=(footer2):This tag was made by Bloonat!cS. — Page 1 of 2}\n{=(footer3):This tag was made by Bloonat!cS. — Page 2 of 2}\n{=(empty):}\n{=(statement0):{if({f12}<=-101):3|{if({f12}>=901):3|4}}}\n{=(statement1):{if({args(5)}==2):{statement0}|2}}\n{=(statement2):{if({s1}<=9):1|{if({s1}>=96):1|{if({f1}<=-1):1|{statement1}}}}}\n{=(display1):{if({statement2}==1):{errormsg2}|{if({statement2}==2):{exe1}|{if({statement2}==3):{errormsg2}|{if({statement2}==4):{exe1}|{errormsg3}}}}}}\n{=(display2):{if({statement2}==1):{errormsg2}|{if({statement2}==2):{exe2}|{if({statement2}==3):{errormsg2}|{if({statement2}==4):{exe4}|{errormsg3}}}}}}\n{=(display3):{if({statement2}==1):{errormsg2}|{if({statement2}==2):{exe3}|{if({statement2}==3):{exe5}|{if({statement2}==4):{exe5}|{errormsg3}}}}}}\n{=(display4):{if({statement2}==1):{title1}|{if({statement2}==2):{title1}|{if({statement2}==3):{title3}|{if({statement2}==4):{title3}|{title5}}}}}}\n{=(display5):{if({statement2}==1):{title2}|{if({statement2}==2):{title2}|{if({statement2}==3):{title4}|{if({statement2}==4):{title4}|{title5}}}}}}\n{=(display6):{if({statement2}==1):{empty}|{if({statement2}==2):{empty}|{if({statement2}==3):{empty}|{if({statement2}==4):{empty}|{errormsg1}}}}}}\n{=(display7):{if({statement2}==1):{footer2}|{if({statement2}==2):{footer2}|{if({statement2}==3):{footer3}|{if({statement2}==4):{footer3}|{footer1}}}}}}\n{display6}",
"embed": "{\"color\": 12845022, \"title\": \"Dank Memer Shop Sale Analyser\", \"fields\": [{\"name\": \"{display4}\", \"value\": \"{display2}\", \"inline\": false}, {\"name\": \"{display5}\", \"value\": \"{display3}\", \"inline\": false}], \"footer\": {\"text\": \"{display7}\"}, \"description\": \"{display1}\"}",
"last_fetched": "2026-10-20T22:52:44.622Z"
}