goal
Privateunrated
Content
53 lines{=(READ ME PLEASE):replace the bot count, prefix and the tagname with your server's own count of bot users, prefix, and tag name}
{=(prefix):-}
{=(tagname):goal}
{=(bot.count):13}
{=(COMMENT):Outputs by keywords. Do not touch things below this point unless you understand TagScript}
{=({1}):}
{=(create):Successfully created the goal!}
{=(remove):Removed the goal.}
{=(help):List of commands with its subcommands:
`{prefix}{tagname} create <number>` - Create a goal
`{prefix}{tagname} track` - Tracks your goal
`{prefix}{tagname} remove` - Removes the current goal
`{prefix}{tagname} help` - Gives you this list of commands}
{{1}}
{=(COMMENT):Creates a variable that returns both opening and close brackets}
{=( ):{ }}
{=(LB):{ (1)}}
{=(RB):{ (2)}}
{=(COMMENT):ERROR MESSAGES}
{=(invalid.args):Invalid arguments. run `{prefix}{tagname} help` for the list of commands and its subcommands}
{=(invalid.value):An invalid value was found at specified number of goals
}
{=(COMMENT):Checks if first argument contains valid arguments. Returns error if it doesn't}
{=(torf):{contains({1}):create help track remove}}
{=(true):=():}
{=(false):blacklist({invalid.args}):{server(id)}}
{{{torf}}}
{=(COMMENT):Checks if second argument is a number. Returns error if it doesn't}
{=(isNum):{and({m:sgn({2})}!=1|create=={1}):no|yes}}
{=(yes):=():}
{=(no):blacklist({invalid.value}):{server(id)}}
{{{isNum}}}
{=(COMMENT):The trigger message}
{=(trigger.message):{LB}=(accurate_human_count):{LB}m:trunc({LB}server(humans){RB}-{bot.count}){RB}{RB}
**{server}**'s Member Goal
```diff
+Target Member Count: {2} members
-Current Member Count: {LB}accurate_human_count{RB} members
```
{LB}if({LB}accurate_human_count{RB}>={2}):We have reached the target goal. Congratulations!|We need {LB}m:trunc({2}-{LB}accurate_human_count{RB}){RB} more members!{RB}}
{=(COMMENT):What behavior block should be the output}
{=(goal.{1}):=():}
{=(goal.remove):c:ar - "{prefix}{tagname} track"}
{=(goal.create):c:ar startswith "{prefix}{tagname} track" {trigger.message}}
{{goal.{1}}}{silence}
{delete}Embed
1 line{"color": 16777215, "title": "**{server}**'s member goal!", "footer": {"icon_url": "{server (icon)}"}, "description": "+Target Member Count: {2} members\n-Current Member Count: {LB}accurate_human_count{RB} members\n{LB}if({LB}accurate_human_count{RB}>={2}):We have reached the target goal. Congratulations!|We need {LB}m:trunc({2}-{LB}accurate_human_count{RB}){RB} more members!{RB}}"}Raw JSON
{
"id": 833000,
"created_at": "2021-05-18T09:03:46.000Z",
"tag_name": "goal",
"nsfw": false,
"owner_id": "785851158472032296",
"uses": 45,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "815969840526655538",
"sharer": "885197475617587220",
"content": "{=(READ ME PLEASE):replace the bot count, prefix and the tagname with your server's own count of bot users, prefix, and tag name}\n{=(prefix):-}\n{=(tagname):goal}\n{=(bot.count):13}\n\n{=(COMMENT):Outputs by keywords. Do not touch things below this point unless you understand TagScript}\n{=({1}):}\n{=(create):Successfully created the goal!}\n{=(remove):Removed the goal.}\n{=(help):List of commands with its subcommands:\n`{prefix}{tagname} create <number>` - Create a goal\n`{prefix}{tagname} track` - Tracks your goal\n`{prefix}{tagname} remove` - Removes the current goal\n`{prefix}{tagname} help` - Gives you this list of commands}\n{{1}}\n\n{=(COMMENT):Creates a variable that returns both opening and close brackets}\n{=( ):{ }}\n{=(LB):{ (1)}}\n{=(RB):{ (2)}}\n\n{=(COMMENT):ERROR MESSAGES}\n{=(invalid.args):Invalid arguments. run `{prefix}{tagname} help` for the list of commands and its subcommands}\n{=(invalid.value):An invalid value was found at specified number of goals\n}\n\n{=(COMMENT):Checks if first argument contains valid arguments. Returns error if it doesn't}\n{=(torf):{contains({1}):create help track remove}}\n{=(true):=():}\n{=(false):blacklist({invalid.args}):{server(id)}}\n{{{torf}}}\n\n{=(COMMENT):Checks if second argument is a number. Returns error if it doesn't}\n{=(isNum):{and({m:sgn({2})}!=1|create=={1}):no|yes}}\n{=(yes):=():}\n{=(no):blacklist({invalid.value}):{server(id)}}\n{{{isNum}}}\n\n{=(COMMENT):The trigger message}\n{=(trigger.message):{LB}=(accurate_human_count):{LB}m:trunc({LB}server(humans){RB}-{bot.count}){RB}{RB}\n**{server}**'s Member Goal\n```diff\n+Target Member Count: {2} members\n-Current Member Count: {LB}accurate_human_count{RB} members\n```\n{LB}if({LB}accurate_human_count{RB}>={2}):We have reached the target goal. Congratulations!|We need {LB}m:trunc({2}-{LB}accurate_human_count{RB}){RB} more members!{RB}}\n\n{=(COMMENT):What behavior block should be the output}\n{=(goal.{1}):=():}\n{=(goal.remove):c:ar - \"{prefix}{tagname} track\"}\n{=(goal.create):c:ar startswith \"{prefix}{tagname} track\" {trigger.message}}\n{{goal.{1}}}{silence}\n{delete}",
"embed": "{\"color\": 16777215, \"title\": \"**{server}**'s member goal!\", \"footer\": {\"icon_url\": \"{server (icon)}\"}, \"description\": \"+Target Member Count: {2} members\\n-Current Member Count: {LB}accurate_human_count{RB} members\\n{LB}if({LB}accurate_human_count{RB}>={2}):We have reached the target goal. Congratulations!|We need {LB}m:trunc({2}-{LB}accurate_human_count{RB}){RB} more members!{RB}}\"}",
"last_fetched": "2026-10-20T16:28:28.726Z"
}