testfight

Privateunrated

Content

51 lines
{=():}
{=(p):!}
{=(limit):24}
{=(multi):1}
{=(rmute):Muted}
{override}{silence}

{require(<StreetFighterRoleId>):Only Streetfighter's can fight}
{=(iffight):{contains(<StreetFighterRoleId>):{target(roleids)}}}
{{if({user(id)}!={target(id)}):break({iffight}==false):You can only fight users with the Street Fighter role}}

{=(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):{or({target(id)}=={user(id)}|{iffight}==false):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": 978858,
  "created_at": "2021-07-30T15:25:42.000Z",
  "tag_name": "testfight",
  "nsfw": false,
  "owner_id": "760823877034573864",
  "uses": 6,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "806350909436461086",
  "sharer": "760823877034573864",
  "content": "{=():}\n{=(p):!}\n{=(limit):24}\n{=(multi):1}\n{=(rmute):Muted}\n{override}{silence}\n\n{require(<StreetFighterRoleId>):Only Streetfighter's can fight}\n{=(iffight):{contains(<StreetFighterRoleId>):{target(roleids)}}}\n{{if({user(id)}!={target(id)}):break({iffight}==false):You can only fight users with the Street Fighter role}}\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):{or({target(id)}=={user(id)}|{iffight}==false):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:13:27.358Z"
}