math
Privateunrated
Content
48 lines{=(smb):{args(2)}}
{=(no1):{args(1)}}
{=(no2):{args(3)}}
{=(no3):{m:trunc({no1})}}
{=(no4):{m:trunc({no2})}}
{=(both):{if({smb}==×):*|}{if({smb}==÷):/|}}
{=(check):{or({smb}==×|{smb}==÷):{both}}}
{=(check1):{if({both}==):{smb}|}}
{=(check2):{in(.):{no1}}}
{=(check3):{in(.):{no2}}}
{=(eq):{m:round({no3}){check}{check1}trunc({no4})}}
{=(eq1):{m:{no1}{check}{check1}{no2}}}
{=(cut):{m:trunc({eq1})}}
{=(eq2):{if({eq1}>{cut}):{eq1}|{cut}}}
{=(check4):{in(m):{eq2}}}
{=(dec1):{no3} {smb} {no4} = __{eq}__}
{=(dec2):{no1} {smb} {no2} = __{eq2}__}
{=(why):{all({no1}>0|{no2}>0):true}}
{=(or):{or({smb}==+|{smb}==-):true}{or({smb}==×|{smb}==*):true}{or({smb}==÷|{smb}==/):true}}
{=(mate):{any({check2}==true|{check3}==true):true}}
{=(res1):{all({why}==true|{or}==true):true}}
{=(fail):__Acceptable Operations__
Addition: +
Subtraction: -
Multiplication: × or *
Division: ÷ or /}
{=(output):{all({res1}==true|{mate}==):{dec1}}{all({res1}==true|{mate}==true):{dec2}}}
{=(output1):{if({output}==):{fail}|}}
{=(final):{if({check4}==true):{fail}|{output}{output1}}}
{=(title):{if({final}=={fail}):Invalid Input.|Success!}}
{=(foot):{if({final}=={fail}):Be sure to space out the operations and numbers.|{rand:If you want to add a decimal point, you can just put it in one of the numbers and it will work.~You have used this command {uses} times.}}}
{=(i):1,2,3,4,5,6,7,8,9,a,b,c,d,e,f}
{=(ran):#{rand:{i}}{rand:{i}}{rand:{i}}{rand:{i}}{rand:{i}}{rand:{i}}}
{=(bonus):{if({final}=={fail}):#d0021b|{ran}}}
{embed(color):{bonus}}Embed
1 line{"color": 13632027, "title": "{title}", "footer": {"text": "{foot}"}, "description": "{final}"}Raw JSON
{
"id": 300206,
"created_at": "2022-04-26T10:37:26.745Z",
"tag_name": "math",
"nsfw": false,
"owner_id": "661488381246832681",
"uses": 139,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "708898206997676072",
"sharer": "661488381246832681",
"content": "{=(smb):{args(2)}}\n{=(no1):{args(1)}}\n{=(no2):{args(3)}}\n{=(no3):{m:trunc({no1})}}\n{=(no4):{m:trunc({no2})}}\n\n{=(both):{if({smb}==×):*|}{if({smb}==÷):/|}}\n{=(check):{or({smb}==×|{smb}==÷):{both}}}\n{=(check1):{if({both}==):{smb}|}}\n{=(check2):{in(.):{no1}}}\n{=(check3):{in(.):{no2}}}\n\n{=(eq):{m:round({no3}){check}{check1}trunc({no4})}}\n{=(eq1):{m:{no1}{check}{check1}{no2}}}\n\n{=(cut):{m:trunc({eq1})}}\n{=(eq2):{if({eq1}>{cut}):{eq1}|{cut}}}\n\n{=(check4):{in(m):{eq2}}}\n\n{=(dec1):{no3} {smb} {no4} = __{eq}__}\n{=(dec2):{no1} {smb} {no2} = __{eq2}__}\n\n{=(why):{all({no1}>0|{no2}>0):true}}\n{=(or):{or({smb}==+|{smb}==-):true}{or({smb}==×|{smb}==*):true}{or({smb}==÷|{smb}==/):true}}\n{=(mate):{any({check2}==true|{check3}==true):true}}\n\n{=(res1):{all({why}==true|{or}==true):true}}\n{=(fail):__Acceptable Operations__\nAddition: +\nSubtraction: -\nMultiplication: × or *\nDivision: ÷ or /}\n\n{=(output):{all({res1}==true|{mate}==):{dec1}}{all({res1}==true|{mate}==true):{dec2}}}\n{=(output1):{if({output}==):{fail}|}}\n{=(final):{if({check4}==true):{fail}|{output}{output1}}}\n\n{=(title):{if({final}=={fail}):Invalid Input.|Success!}}\n\n{=(foot):{if({final}=={fail}):Be sure to space out the operations and numbers.|{rand:If you want to add a decimal point, you can just put it in one of the numbers and it will work.~You have used this command {uses} times.}}}\n\n{=(i):1,2,3,4,5,6,7,8,9,a,b,c,d,e,f}\n{=(ran):#{rand:{i}}{rand:{i}}{rand:{i}}{rand:{i}}{rand:{i}}{rand:{i}}}\n\n{=(bonus):{if({final}=={fail}):#d0021b|{ran}}}\n\n{embed(color):{bonus}}",
"embed": "{\"color\": 13632027, \"title\": \"{title}\", \"footer\": {\"text\": \"{foot}\"}, \"description\": \"{final}\"}",
"last_fetched": "2026-10-20T22:17:44.589Z"
}