fight

Private

Content

47 lines
{=():}
{=(p):*}
{=(limit):22}
{=(multi):1.5}
{=(rmute):814490718320066572}
{override}{silence}

{=(note):Don't edit anything below here}

{=(time):{range:1-60}}

{=(note):The below is a set of limiters used to ensure that this tag doesn't break into a million pieces}

{=(rmute):{replace(>,):{replace(<@&,):{rmute}}}}
{=(limit):{if({math:trunc({limit}/1)}!={limit}):24|{limit}}}
{=(limit):{if({limit}>=25):24|{limit}}}
{=(limit):{if({limit}<1):1|{limit}}}

{=(note):The below part is calculation part incase risk is involved}

{=(risk):{and({math:trunc({2}/1)}=={2}|{2}>=1|{2}<={limit}):{2}|0}}
{=(extra):{if({args(1)}!={args(2)}):{if({risk}!=0):{m:trunc({risk}*{multi})}m}}}
{=(total):{extra} {time}s}

{=(cwin):{m:trunc(25-{risk})}}
{=(close):{m:trunc(25+{risk})}}

{=(out):{if({target(id)}=={user(id)}):fault|{if({risk}!=0):{rand:{cwin}|w2,{close}|l2}|{#:w1,l1}}}}

{=(note):The below part is the execution of the tag}

{{if({out}==w1):c:temprole {target(id)} {rmute} {time}s}}
{if({out}==w1):{user(mention)} has won and {target(mention)} has been muted for **{time}s** <:kekpoint:830869935700836352>}

{{if({out}==l1):c:temprole {user(id)} {rmute} {time}s}}
{if({out}==l1):{target(mention)} has won and {user(mention)} has been muted for **{time}s** <:kekpoint:830869935700836352>}

{{if({out}==w2):c:temprole {target(id)} {rmute} {total}}}
{if({out}==w2):You take a big risks and it pays off <a:slowswing:820262591292899338>
{user(mention)} totally rekts {target(mention)} and they have been muted for **{total}**}

{{if({out}==l2):c:temprole {user(id)} {rmute} {total}}}
{if({out}==l2):You take a big risks but miserably fail <:z_Really:755536819474661426>
{target(mention)} totally rekts {user(mention)} and they have been muted for **{total}**}

{if({out}==fault):{user(mention)} include a user to fight
Usage: `{p}fight <user> [0-{limit}].`}
Raw JSON
{
  "id": 1021078,
  "created_at": "2021-08-21T21:47:07.000Z",
  "tag_name": "fight",
  "nsfw": false,
  "owner_id": "447426989280722946",
  "uses": 59,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "795330079021989911",
  "sharer": "447426989280722946",
  "content": "{=():}\n{=(p):*}\n{=(limit):22}\n{=(multi):1.5}\n{=(rmute):814490718320066572}\n{override}{silence}\n\n{=(note):Don't edit anything below here}\n\n{=(time):{range:1-60}}\n\n{=(note):The below is a set of limiters used to ensure that this tag doesn't break into a million pieces}\n\n{=(rmute):{replace(>,):{replace(<@&,):{rmute}}}}\n{=(limit):{if({math:trunc({limit}/1)}!={limit}):24|{limit}}}\n{=(limit):{if({limit}>=25):24|{limit}}}\n{=(limit):{if({limit}<1):1|{limit}}}\n\n{=(note):The below part is calculation part incase risk is involved}\n\n{=(risk):{and({math:trunc({2}/1)}=={2}|{2}>=1|{2}<={limit}):{2}|0}}\n{=(extra):{if({args(1)}!={args(2)}):{if({risk}!=0):{m:trunc({risk}*{multi})}m}}}\n{=(total):{extra} {time}s}\n\n{=(cwin):{m:trunc(25-{risk})}}\n{=(close):{m:trunc(25+{risk})}}\n\n{=(out):{if({target(id)}=={user(id)}):fault|{if({risk}!=0):{rand:{cwin}|w2,{close}|l2}|{#:w1,l1}}}}\n\n{=(note):The below part is the execution of the tag}\n\n{{if({out}==w1):c:temprole {target(id)} {rmute} {time}s}}\n{if({out}==w1):{user(mention)} has won and {target(mention)} has been muted for **{time}s** <:kekpoint:830869935700836352>}\n\n{{if({out}==l1):c:temprole {user(id)} {rmute} {time}s}}\n{if({out}==l1):{target(mention)} has won and {user(mention)} has been muted for **{time}s** <:kekpoint:830869935700836352>}\n\n{{if({out}==w2):c:temprole {target(id)} {rmute} {total}}}\n{if({out}==w2):You take a big risks and it pays off <a:slowswing:820262591292899338>\n{user(mention)} totally rekts {target(mention)} and they have been muted for **{total}**}\n\n{{if({out}==l2):c:temprole {user(id)} {rmute} {total}}}\n{if({out}==l2):You take a big risks but miserably fail <:z_Really:755536819474661426>\n{target(mention)} totally rekts {user(mention)} and they have been muted for **{total}**}\n\n{if({out}==fault):{user(mention)} include a user to fight\nUsage: `{p}fight <user> [0-{limit}].`}",
  "embed": "{}",
  "last_fetched": "2026-10-20T17:25:45.131Z"
}