change

Sharedunrated

Content

22 lines
{=(COMMENT):Take note of the tag character limit when inserting role IDs. You can remove every comment variables (but read it first) to increase the amount of remaining characters}

{=(COMMENT):Put every custom role IDs you have in here (the remove the current ones). Separate with a space}
{=(customRoles):822786256429383720 822822302848253972}

{=(COMMENT):Random hex generator if user chooses to have a random color}
{=(h):#:A,B,C,D,E,F,1,2,3,4,5,6,7,8,9,0}
{=(randHex):{{h}}{{h}}{{h}}{{h}}{{h}}{{h}}}

{=(COMMENT):Conditions. All must evaluate to true for the tag to change the color of said custom role}
{=(presentArgs):{if(=={args}):false|true}}
{=(isCustomRole):{contains({1}):{customRoles}}}
{=(isOwned):{contains({1}):{user(roleids)}}}

{=(COMMENT):Gets the nearest false value (if there is) in order to choose what to execute. Also override block so members with custom roles can use the tag. Do not change the order of the called variables on variable conditions!}
{=(conditions):{isCustomRole} {isOwned} {presentArgs}}
{=(exe):e{index(false):plaintext {conditions}}}
{=(e-1):c:role color {1} {if({lower:{2}}==random):{randHex}|{2}}}
{=(e1):blacklist(That is not a custom role!):{server(id)}}
{=(e2):blacklist(You do not own that custom role!):{server(id)}}
{=(e3):blacklist(There are no arguments.):{server(id)}}
{{{exe}}}{override}
Raw JSON
{
  "id": 690364,
  "created_at": "2021-03-20T12:21:29.000Z",
  "tag_name": "change",
  "nsfw": false,
  "owner_id": "646276399895937025",
  "uses": 16,
  "description": null,
  "restricted": false,
  "shared": true,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "765906329356861460",
  "sharer": "646276399895937025",
  "content": "{=(COMMENT):Take note of the tag character limit when inserting role IDs. You can remove every comment variables (but read it first) to increase the amount of remaining characters}\n\n{=(COMMENT):Put every custom role IDs you have in here (the remove the current ones). Separate with a space}\n{=(customRoles):822786256429383720 822822302848253972}\n\n{=(COMMENT):Random hex generator if user chooses to have a random color}\n{=(h):#:A,B,C,D,E,F,1,2,3,4,5,6,7,8,9,0}\n{=(randHex):{{h}}{{h}}{{h}}{{h}}{{h}}{{h}}}\n\n{=(COMMENT):Conditions. All must evaluate to true for the tag to change the color of said custom role}\n{=(presentArgs):{if(=={args}):false|true}}\n{=(isCustomRole):{contains({1}):{customRoles}}}\n{=(isOwned):{contains({1}):{user(roleids)}}}\n\n{=(COMMENT):Gets the nearest false value (if there is) in order to choose what to execute. Also override block so members with custom roles can use the tag. Do not change the order of the called variables on variable conditions!}\n{=(conditions):{isCustomRole} {isOwned} {presentArgs}}\n{=(exe):e{index(false):plaintext {conditions}}}\n{=(e-1):c:role color {1} {if({lower:{2}}==random):{randHex}|{2}}}\n{=(e1):blacklist(That is not a custom role!):{server(id)}}\n{=(e2):blacklist(You do not own that custom role!):{server(id)}}\n{=(e3):blacklist(There are no arguments.):{server(id)}}\n{{{exe}}}{override}",
  "embed": "{}",
  "last_fetched": "2026-10-21T00:45:35.195Z"
}