blueflag

Private

Content

15 lines
{=(chanID):837089404366618644~837089432745017435~837089461212938283~837089487296397372}
{=(roleRBL):837043051930976267~837043277487669329~836842176319193108}
{=(roleFlags):836840738263138354~836841035140300800}
{=(roleRef):837042796262981682}
{require(This command can only be used by CTF Referees.):{roleRef}}
{override}
{=(teamColor):{if({contains({list(0):{roleRBL}}):{target(roleids)}}==true):red|blue}}
{=(flagHolder):{if({contains({list(1):{roleFlags}}):{target(roleids)}}==true):1|0}}

{=(teamBreakFlag):{any({contains({list(0):{roleRBL}}):{target(roleids)}}==true|{contains({list(1):{roleRBL}}):{target(roleids)}}==true):0|1}}
{break({teamBreakFlag}==1):The player must be assigned to a team before their location may be set.}

{=(flagMath):{if({flagHolder}==1):-|+}}
{{if({teamBreakFlag}==0):c|=(junk)}:role c {target(id)} {flagMath}{list(1):{roleFlags}}}
**[{upper:{teamColor}}]** {target(mention)} has {if({flagMath}==-):lost|acquired} the **Blue Flag**!
Raw JSON
{
  "id": 787830,
  "created_at": "2021-04-28T23:05:16.000Z",
  "tag_name": "blueflag",
  "nsfw": false,
  "owner_id": "618690938574733343",
  "uses": 409,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "715646980818337883",
  "sharer": "618690938574733343",
  "content": "{=(chanID):837089404366618644~837089432745017435~837089461212938283~837089487296397372}\n{=(roleRBL):837043051930976267~837043277487669329~836842176319193108}\n{=(roleFlags):836840738263138354~836841035140300800}\n{=(roleRef):837042796262981682}\n{require(This command can only be used by CTF Referees.):{roleRef}}\n{override}\n{=(teamColor):{if({contains({list(0):{roleRBL}}):{target(roleids)}}==true):red|blue}}\n{=(flagHolder):{if({contains({list(1):{roleFlags}}):{target(roleids)}}==true):1|0}}\n\n{=(teamBreakFlag):{any({contains({list(0):{roleRBL}}):{target(roleids)}}==true|{contains({list(1):{roleRBL}}):{target(roleids)}}==true):0|1}}\n{break({teamBreakFlag}==1):The player must be assigned to a team before their location may be set.}\n\n{=(flagMath):{if({flagHolder}==1):-|+}}\n{{if({teamBreakFlag}==0):c|=(junk)}:role c {target(id)} {flagMath}{list(1):{roleFlags}}}\n**[{upper:{teamColor}}]** {target(mention)} has {if({flagMath}==-):lost|acquired} the **Blue Flag**!",
  "embed": "{}",
  "last_fetched": "2026-10-21T01:18:15.582Z"
}