calc

Privateunrated

Content

27 lines
{=(prefix):/}

{=(numone):{args(1)}}

{=(numtwo):{args(3)}}

{=(numcheckone):{and({numone}!={m:trunc({numone}/1)}|{numone}!={m:{numone}/1}|{args(1)}!=):The first character after `/calc` should be a number. **Make sure you've separated the numbers from the operation!**}}

{=(numchecktwo):{and({numtwo}!={m:trunc({numtwo}/1)}|{numtwo}!={m:{numtwo}/1}|{args(1)}!=):The last character in your command should be a number. **Make sure you've separated the numbers from the operation!**}}

{if({args}==):To calculate something, say `<number> <operation> <number>`. There are 5 operations:
```• Addition (+)
• Subtraction (-)
• Multiplication (*)
• Division (/)
• Exponent (^)```
Separate the numbers from the operation with a space.}

{=():}

{{all({contains({args(2)}):- + / * ^}==true|{contains(The):{numcheckone(1)} {numchecktwo(1)}}==false):math:{args(1)}{args(2)}{args(3)}}}

{numcheckone}

{numchecktwo}

{and({contains({args(2)}):- + / * ^}==false|{args}!=):That's not an operation choice! Use `/calc` to see all operation choices. **Make sure you've separated the numbers from the operation!**}
Raw JSON
{
  "id": 220223,
  "created_at": "2022-04-26T10:36:34.961Z",
  "tag_name": "calc",
  "nsfw": false,
  "owner_id": "290493168435331072",
  "uses": 69,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "669032182911729678",
  "sharer": "290493168435331072",
  "content": "{=(prefix):/}\n\n{=(numone):{args(1)}}\n\n{=(numtwo):{args(3)}}\n\n{=(numcheckone):{and({numone}!={m:trunc({numone}/1)}|{numone}!={m:{numone}/1}|{args(1)}!=):The first character after `/calc` should be a number. **Make sure you've separated the numbers from the operation!**}}\n\n{=(numchecktwo):{and({numtwo}!={m:trunc({numtwo}/1)}|{numtwo}!={m:{numtwo}/1}|{args(1)}!=):The last character in your command should be a number. **Make sure you've separated the numbers from the operation!**}}\n\n{if({args}==):To calculate something, say `<number> <operation> <number>`. There are 5 operations:\n```• Addition (+)\n• Subtraction (-)\n• Multiplication (*)\n• Division (/)\n• Exponent (^)```\nSeparate the numbers from the operation with a space.}\n\n{=():}\n\n{{all({contains({args(2)}):- + / * ^}==true|{contains(The):{numcheckone(1)} {numchecktwo(1)}}==false):math:{args(1)}{args(2)}{args(3)}}}\n\n{numcheckone}\n\n{numchecktwo}\n\n{and({contains({args(2)}):- + / * ^}==false|{args}!=):That's not an operation choice! Use `/calc` to see all operation choices. **Make sure you've separated the numbers from the operation!**}",
  "embed": "{}",
  "last_fetched": "2026-10-20T21:43:51.342Z"
}