setbase

Privateunrated

Content

14 lines
{=(chanID):831663673789251675~831663693430784031~831663713986805791~831663728729784331}
{=(roleID):831659831068852225~831660070180749342~831660149390835723~831660229955027005}
{=(roleRBL):831659373285343262~831659490654421024~831660311253221396}
{=(roleRef):831659157215772733}
{require(This command can only be used by CTF Referees.):{roleRef}}
{override}
{=(teamColor):{if({contains({list(0):{roleRBL}}):{target(roleids)}}==true):red|blue}}

{=(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.}

{{if({teamBreakFlag}==0):redirect|=(junk)}:{list({if({teamColor}==red):0|3}):{chanID}}}
{{if({teamBreakFlag}==0):c|=(junk)}:role c {target(id)} +{list({if({teamColor}==red):0|3}):{roleID}} -{list(1):{roleID}} -{list(2):{roleID}} -{list({if({teamColor}==red):3|0}):{roleID}} +{list(2):{roleRBL}}}
**[{upper:{teamColor}}]** {target(mention)} has spawned in!
Raw JSON
{
  "id": 748392,
  "created_at": "2021-04-13T23:20:32.000Z",
  "tag_name": "setbase",
  "nsfw": false,
  "owner_id": "548314323630424065",
  "uses": 21,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "831657727226544148",
  "sharer": "548314323630424065",
  "content": "{=(chanID):831663673789251675~831663693430784031~831663713986805791~831663728729784331}\n{=(roleID):831659831068852225~831660070180749342~831660149390835723~831660229955027005}\n{=(roleRBL):831659373285343262~831659490654421024~831660311253221396}\n{=(roleRef):831659157215772733}\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\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{{if({teamBreakFlag}==0):redirect|=(junk)}:{list({if({teamColor}==red):0|3}):{chanID}}}\n{{if({teamBreakFlag}==0):c|=(junk)}:role c {target(id)} +{list({if({teamColor}==red):0|3}):{roleID}} -{list(1):{roleID}} -{list(2):{roleID}} -{list({if({teamColor}==red):3|0}):{roleID}} +{list(2):{roleRBL}}}\n**[{upper:{teamColor}}]** {target(mention)} has spawned in!",
  "embed": "{}",
  "last_fetched": "2026-10-20T16:03:44.178Z"
}