calc
this is a calculator. I made this funny simple text calculator. it even gets mad at you when you try to divide it by zero. it's great for school work or quick maths. this command makes use of Carl bots built in math module. if you need help using it use !calc help to get the full amount of functions. variable support isn't exist yet - AnarchoTak
Privateunrated
Content
52 lines{=():}
{=(cov):{replace(x,*):{lower:{args}}}}
{=(event):{math:{cov}}} ➗➕🧮
{break({in(√):{cov}}==true): the square root(can only do one number at a time sorry) of {cov} is:{math:{replace(√,):{cov}/2}}}
{if({cov}==9+10):**the real answer: 21**}{if({cov}==9 + 10):**the real answer: 21**}{if({cov}==6 + 9):**the real Real answer: 69**}{if({cov}==6+9):**the real answer: 69**}{break({cov}==80085): ha ha boobs}
{event}{if({event}==69.0): nice.}{if({event}==420.0): ayyy.}{if({event}==666.0): evil laughter.}
{break({in(nazi):{cov}}==true): it equals that fash should always die }
{break({in(/0):{event}}==true):you can't divide by zero 😡 😡!!!}
{break({cov}==help):
UPDATE: YOU CAN NOW TYPE "x" for multiplication.
3x6
**please don't literally type
"•" or a+b**. this is a demonstration of how it would like like!
what you would actually be doing for addition is `2+5`.
eg.
`!calc 6+20-3`
and you press send or enter please don't use
"=" to calculate the final answer. just send the message after you done typing your equation. it will automatically give you the solution
```
• a+b Addition
• a-b Subtraction
• a*b Multiplication
• a/b Division
• a%b Modulo
• a^b Exponent
• abs(x) Absolute value of
• round(x) Rounds x to the nearest whole number
• trunc(x) Truncates x to integer value (chops off decimals)
advanced:
sin(x) Returns the sine of x radians
cos(x) Returns the cosine of x radians
tan(x) Returns the tangent of x radians
exp(x) Returns Euler's number raised to the power of x
sgn(x) Returns the Sign of x. For x>0 returns 1, for x=0 returns 0, for x<0 returns -1.
log(x) Returns the logarithm of x (base 10)
ln(x) Returns the natural logarithm of x (base e)
log2(x) Returns the logarithm of x (base 2)
pi or PI can be used to indicate 𝜋 (3.141592653589793)
e or E can be used to indicate Euler's Number (2.718281828459045)
```}
{break({args}==): you didn't type anything}
Raw JSON
{
"id": 1187497,
"created_at": "2021-12-10T16:30:03.000Z",
"tag_name": "calc",
"nsfw": false,
"owner_id": "498984473539379232",
"uses": 149,
"description": "this is a calculator. I made this funny simple text calculator. it even gets mad at you when you try to divide it by zero. it's great for school work or quick maths. this command makes use of Carl bots built in math module. if you need help using it use !calc help to get the full amount of functions. variable support isn't exist yet\n- AnarchoTak",
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "910265807483830323",
"sharer": "498984473539379232",
"content": "{=():}\n{=(cov):{replace(x,*):{lower:{args}}}}\n{=(event):{math:{cov}}} ➗➕🧮\n\n{break({in(√):{cov}}==true): the square root(can only do one number at a time sorry) of {cov} is:{math:{replace(√,):{cov}/2}}}\n\n{if({cov}==9+10):**the real answer: 21**}{if({cov}==9 + 10):**the real answer: 21**}{if({cov}==6 + 9):**the real Real answer: 69**}{if({cov}==6+9):**the real answer: 69**}{break({cov}==80085): ha ha boobs}\n{event}{if({event}==69.0): nice.}{if({event}==420.0): ayyy.}{if({event}==666.0): evil laughter.}\n\n{break({in(nazi):{cov}}==true): it equals that fash should always die }\n\n{break({in(/0):{event}}==true):you can't divide by zero 😡 😡!!!}\n{break({cov}==help):\nUPDATE: YOU CAN NOW TYPE \"x\" for multiplication. \n3x6\n**please don't literally type\n\"•\" or a+b**. this is a demonstration of how it would like like!\nwhat you would actually be doing for addition is `2+5`.\neg. \n\n`!calc 6+20-3`\nand you press send or enter please don't use\n\"=\" to calculate the final answer. just send the message after you done typing your equation. it will automatically give you the solution\n\n```\n• a+b Addition\n\n• a-b Subtraction\n\n• a*b Multiplication\n• a/b Division\n• a%b Modulo\n• a^b Exponent\n• abs(x) Absolute value of\n• round(x) Rounds x to the nearest whole number\n• trunc(x) Truncates x to integer value (chops off decimals)\n\nadvanced:\nsin(x) Returns the sine of x radians\ncos(x) Returns the cosine of x radians\ntan(x) Returns the tangent of x radians\nexp(x) Returns Euler's number raised to the power of x\nsgn(x) Returns the Sign of x. For x>0 returns 1, for x=0 returns 0, for x<0 returns -1.\nlog(x) Returns the logarithm of x (base 10)\nln(x) Returns the natural logarithm of x (base e)\nlog2(x) Returns the logarithm of x (base 2)\npi or PI can be used to indicate 𝜋 (3.141592653589793)\ne or E can be used to indicate Euler's Number (2.718281828459045)\n```}\n{break({args}==): you didn't type anything}\n\n",
"embed": "{}",
"last_fetched": "2026-10-20T18:07:44.158Z"
}