idxoutput

Privateunrated

Content

18 lines
{=(COMMENT):All of my checks.}
{=(isArgs):{if(!={1}):true|false}}
{=(isMention):{if({user(id)}!={target(id)}):true|false}}
{=(isLetterZ):{in(Z):{args}}}

{=(COMMENT):Error messages and output management.}
{=(msg.noArgs):Please specify an argument along with the command!}
{=(msg.noMention):Please mention someone else along with the command!}
{=(msg.noZ):This command requires you to include the letter `Z` along with your input!}
{=(msg.success):This is the normal tag's response, when all conditions above are met!}

{=(COMMENT):Stores the name of the output variables into the `msg` variable below.}
{=(msg):msg.noArgs msg.noMention msg.noZ msg.success}
{=(COMMENT):Calls the msg variable corresponding to the first condition returning false.
Allows you to dynamically add more conditions with no nested `if` blocks like you would normally do.}
{=(output):{{msg({index(false):0 {isArgs} {isMention} {isLetterZ} false})}}}

{output}
Raw JSON
{
  "id": 845717,
  "created_at": "2021-05-24T15:03:13.000Z",
  "tag_name": "idxoutput",
  "nsfw": false,
  "owner_id": "149926720114262016",
  "uses": 1,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "314660900302749696",
  "sharer": "149926720114262016",
  "content": "{=(COMMENT):All of my checks.}\n{=(isArgs):{if(!={1}):true|false}}\n{=(isMention):{if({user(id)}!={target(id)}):true|false}}\n{=(isLetterZ):{in(Z):{args}}}\n\n{=(COMMENT):Error messages and output management.}\n{=(msg.noArgs):Please specify an argument along with the command!}\n{=(msg.noMention):Please mention someone else along with the command!}\n{=(msg.noZ):This command requires you to include the letter `Z` along with your input!}\n{=(msg.success):This is the normal tag's response, when all conditions above are met!}\n\n{=(COMMENT):Stores the name of the output variables into the `msg` variable below.}\n{=(msg):msg.noArgs msg.noMention msg.noZ msg.success}\n{=(COMMENT):Calls the msg variable corresponding to the first condition returning false.\nAllows you to dynamically add more conditions with no nested `if` blocks like you would normally do.}\n{=(output):{{msg({index(false):0 {isArgs} {isMention} {isLetterZ} false})}}}\n\n{output}",
  "embed": "{}",
  "last_fetched": "2026-10-21T01:36:15.547Z"
}