blueflag
Privateunrated
Content
15 lines{=(chanID):836841860923916288~836841957422399519~836842022492307456~836842117049483275}
{=(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": 787791,
"created_at": "2021-04-28T22:50:22.000Z",
"tag_name": "blueflag",
"nsfw": false,
"owner_id": "548314323630424065",
"uses": 0,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "829491236766613574",
"sharer": "548314323630424065",
"content": "{=(chanID):836841860923916288~836841957422399519~836842022492307456~836842117049483275}\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-20T16:15:31.124Z"
}