math
Privateunrated
Content
95 lines{=(comment):You can set below options as per your need}
{=(prefix):!}
{=(comment):Your Tag name}
{=(tagname):math}
{=(comment):If you have Carl premium change below to true}
{=(premium):false}
{=(comment):<---------DO NOT TOUCH ANYTHING BELOW THIS POINT--------->}
{=(le):{index($%&):{args} $%&}}
{break({or({le}==1|{nosofnum}>2):true|false}==true):Incorrect arguments see help {prefix}{tagname} help}
{=(nosofnum):{if({args(1)}!=):{args(1)}|{range:2-5}}}
{break({all({nosofnum}>=2|{nosofnum}<=5):true|false}==false):Incorrect 1st argument. Please provide argument between 2 and 5 only inclusively.
For help `{prefix}{tagname} help`.}
{=(digitle):{if({args(2)}!=):{args(2)}|{range:1-5}}}
{break({all({digitle}>=1|{digitle}<=5):true|false}==false):Incorrect 2nd argument. Please provide digit length for your problem between 1 to 5.
For help `{prefix}{tagname} help`.}
{break({args(1)}==help):**Math Problem generator!!**
Create simple math equation for solving!!
**Syntax** : `{prefix}{tagname} [No. of Numbers between 2 to 5 inclusively] [No. Digits in Number between 1 to 5 inclusively]`
__Example__ : `{prefix}{tagname} 5 1`
Example Output will have 5 number with each number containing only 1 digit. If no argument is given then it will generate randomly.
__Output equation__ : `9 + 7 / 7 + 3 - 8`
Multiplication and Division happen with single digit number ONLY, this is done so as to decrease the complexity of the equation.
Operation order : `/ * + -`
**ALWAYS** start solving equation from left.
Made by Tush.
}
{=(di1):1-9}
{=(di2):10-99}
{=(di3):100-999}
{=(di4):1000-9999}
{=(di5):10000-99999}
{=(fdigr):{di{digitle}}}
{=(op):+,-,*,/}
{=(op1):{#:{op}}}
{=(op2):{#:{op}}}
{=(op3):{#:{op}}}
{=(op4):{#:{op}}}
{=(ope1):{range:{fdigr}} }
{=(ope2):{op1} {range:{or({op1}==*|{op1}==/):{di1}|{fdigr}}} }
{=(ope3):{if({nosofnum}<3):|{op2} {range:{or({op2}==*|{op2}==/):{di1}|{fdigr}}}} }
{=(ope4):{if({nosofnum}<4):|{op3} {range:{or({op3}==*|{op3}==/):{di1}|{fdigr}}}} }
{=(ope5):{if({nosofnum}<5):|{op4} {range:{or({op4}==*|{op4}==/):{di1}|{fdigr}}}} }
{=(fineq):{ope1}{ope2}{ope3}{ope4}{ope5}}
{=(ans):{m:{fineq}}}
{=(opt1):{ans}}
{=(opt2):{m:{ans} {#:+,-} {range:1-5}}}
{=(opt3):{m:{ans} {#:+,-} {range:1-5}}}
{=(opt4):{m:{ans} {#:+,-} {range:1-5}}}
{=(num):1 2 3 4}
{=(optn1):{#:{join(,):{num}}}}
{=(num):{replace({optn1},):{num}}}
{=(optn2):{#:{join(,):{num}}}}
{=(num):{replace({optn2},):{num}}}
{=(optn3):{#:{join(,):{num}}}}
{=(num):{replace({optn3},):{num}}}
{=(optn4):{replace( ,):{num}}}
**Math Problem : {uses}**
**Question** : {fineq}
Option 1 : `{opt{optn1}}`
Option 2 : `{opt{optn2}}`
Option 3 : `{opt{optn3}}`
Option 4 : `{opt{optn4}}`
Answer : || {ans} ||
For help `{prefix}{tagname} help`.
{react:{if({args(1)}==help):📜|1️⃣ {if({premium}==true):2️⃣ 3️⃣ 4️⃣}}}Raw JSON
{
"id": 640152,
"created_at": "2021-02-28T02:34:30.000Z",
"tag_name": "math",
"nsfw": false,
"owner_id": "778231270748323850",
"uses": 3,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "804541198113964073",
"sharer": "778231270748323850",
"content": "{=(comment):You can set below options as per your need}\n{=(prefix):!}\n{=(comment):Your Tag name}\n{=(tagname):math}\n{=(comment):If you have Carl premium change below to true}\n{=(premium):false}\n\n\n{=(comment):<---------DO NOT TOUCH ANYTHING BELOW THIS POINT--------->}\n{=(le):{index($%&):{args} $%&}}\n\n{break({or({le}==1|{nosofnum}>2):true|false}==true):Incorrect arguments see help {prefix}{tagname} help}\n\n{=(nosofnum):{if({args(1)}!=):{args(1)}|{range:2-5}}}\n\n{break({all({nosofnum}>=2|{nosofnum}<=5):true|false}==false):Incorrect 1st argument. Please provide argument between 2 and 5 only inclusively.\nFor help `{prefix}{tagname} help`.}\n\n\n{=(digitle):{if({args(2)}!=):{args(2)}|{range:1-5}}}\n\n{break({all({digitle}>=1|{digitle}<=5):true|false}==false):Incorrect 2nd argument. Please provide digit length for your problem between 1 to 5.\nFor help `{prefix}{tagname} help`.}\n\n{break({args(1)}==help):**Math Problem generator!!**\nCreate simple math equation for solving!!\n\n**Syntax** : `{prefix}{tagname} [No. of Numbers between 2 to 5 inclusively] [No. Digits in Number between 1 to 5 inclusively]`\n__Example__ : `{prefix}{tagname} 5 1`\nExample Output will have 5 number with each number containing only 1 digit. If no argument is given then it will generate randomly.\n\n__Output equation__ : `9 + 7 / 7 + 3 - 8`\n\nMultiplication and Division happen with single digit number ONLY, this is done so as to decrease the complexity of the equation.\nOperation order : `/ * + -`\n**ALWAYS** start solving equation from left.\nMade by Tush.\n}\n\n{=(di1):1-9}\n{=(di2):10-99}\n{=(di3):100-999}\n{=(di4):1000-9999}\n{=(di5):10000-99999}\n\n{=(fdigr):{di{digitle}}}\n\n{=(op):+,-,*,/}\n\n{=(op1):{#:{op}}}\n{=(op2):{#:{op}}}\n{=(op3):{#:{op}}}\n{=(op4):{#:{op}}}\n\n{=(ope1):{range:{fdigr}} }\n\n{=(ope2):{op1} {range:{or({op1}==*|{op1}==/):{di1}|{fdigr}}} }\n\n{=(ope3):{if({nosofnum}<3):|{op2} {range:{or({op2}==*|{op2}==/):{di1}|{fdigr}}}} }\n\n{=(ope4):{if({nosofnum}<4):|{op3} {range:{or({op3}==*|{op3}==/):{di1}|{fdigr}}}} }\n\n{=(ope5):{if({nosofnum}<5):|{op4} {range:{or({op4}==*|{op4}==/):{di1}|{fdigr}}}} }\n\n{=(fineq):{ope1}{ope2}{ope3}{ope4}{ope5}}\n\n{=(ans):{m:{fineq}}}\n\n{=(opt1):{ans}}\n{=(opt2):{m:{ans} {#:+,-} {range:1-5}}}\n{=(opt3):{m:{ans} {#:+,-} {range:1-5}}}\n{=(opt4):{m:{ans} {#:+,-} {range:1-5}}}\n\n{=(num):1 2 3 4}\n{=(optn1):{#:{join(,):{num}}}}\n{=(num):{replace({optn1},):{num}}}\n{=(optn2):{#:{join(,):{num}}}}\n{=(num):{replace({optn2},):{num}}}\n{=(optn3):{#:{join(,):{num}}}}\n{=(num):{replace({optn3},):{num}}}\n{=(optn4):{replace( ,):{num}}}\n\n**Math Problem : {uses}**\n**Question** : {fineq}\n\nOption 1 : `{opt{optn1}}`\nOption 2 : `{opt{optn2}}`\nOption 3 : `{opt{optn3}}`\nOption 4 : `{opt{optn4}}`\n\nAnswer : || {ans} ||\n\nFor help `{prefix}{tagname} help`.\n\n{react:{if({args(1)}==help):📜|1️⃣ {if({premium}==true):2️⃣ 3️⃣ 4️⃣}}}",
"embed": "{}",
"last_fetched": "2026-10-21T00:29:33.978Z"
}