1test

Privateunrated

Content

50 lines
{=():}
{=(rmute):muted}
{=(rcd):cooldown}
{=(nuser):{range:1-100}}
{=(ntarget):{range:1-100}}
{=(diff):{replace(-,):{math:trunc({nuser}-{ntarget})}}}
{=(win):{if({nuser}!={ntarget}):{if({nuser}>{ntarget}):user|target}|{#:user,target}}}
{=(lose):{if({win}==target):user|target}}
 
{=(out):{if({user(id)}!={target(id)}):{and({nuser}<=20|{ntarget}<=20):s1}{and({n{lose}}<=10|{n{win}}>20):s2}{and({n{lose}}>10|{n{win}}>20|{n{win}}<=85|{diff}<=50):s3}{and({n{lose}}>10|{n{win}}>20|{n{win}}<=85|{diff}>50):s4}{and({n{lose}}>85):s5}{and({ntarget}<=85|{nuser}>85):s6}{and({nuser}<=85|{ntarget}>85):s7}|fault}}
 
{=(s1):Both suck}
{=(s2):{{lose}} too scared runs away}
{=(s3):{{win}} wins}
{=(s4):{{win}} completely destroys {{lose}}}
{=(s5):They both die}
{=(s6):{user} backstabs {target} and gets away}
{=(s7):{user} tries to beat {target} but falls of a cliff and dies}
{=(fault):{user(mention)} mention someone the next time to fight
__**Syntax:**__ `-1v1v2 @​​​​​user`}
 
{=(^s1):}{=(^s1+):}{=(^s2+):}{=(^s3+):}{=(^s4+):}{=(^fault):}{=(^fault+):}
 
{=(m1):{m:trunc({diff}/60)}}
{=(s1):{m:trunc({diff}%60)}}
 
{=(m2):{m:trunc({diff}/30)}}
{=(s2):{m:trunc((2*{diff})%60)}}
 
{=(mz):{replace(1 minutes,1 minute):{replace(0 minutes and ,):{or({out}==s2|{out}==s5):{m:1+{m1}}}{or({out}==fault|{out}==s1|{out}==s6):0}{or({out}==s3|{out}==s7):{m1}}{or({out}==s4):{m:trunc({diff}/10)}} minutes }}}
 
{=(sz):{replace(1 seconds,1 second):{replace(0 seconds,):{or({out}==s2|{out}==s3|{out}==s5|{out}==s7):{s1}}{or({out}==fault|{out}==s1|{out}==s6):0}{or({out}==s4):{m:trunc(({diff}%10)*6)}} seconds}}}
 
{=(mx):{replace(1 minutes,1 minute):{replace(0 minutes and ,):{or({out}==s5):{m:1+{m1}}}{or({out}==s1|{out}==s2|{out}==s3|{out}==s4|{out}==fault):0}{or({out}==s6):{m2}}{or({out}==s7):{m:1+{m2}}} minutes and }}}
 
{=(sx):{replace(1 seconds,1 second):{replace(0 seconds,):{or({out}==s5):{s1}}{or({out}==s1|{out}==s2|{out}==s3|{out}==s4|{out}==fault):0}{or({out}==s6):{s2}}{or({out}==s7):{s2}} seconds}}}

{=(^s2):c:temprole {{lose}(id)} {rmute} {math:60+{diff}}s or {mz}{sz}.}
{=(^s3):c:temprole {{lose}(id)} {rmute} {diff}s or {mz}{sz}.}
{=(^s4):c:temprole {{lose}(id)} {rcd} {math:({diff}/10)-5}m or {mz}{sz}.}
{=(^s5):c:temprole {user(id)} {rcd} {math:{diff}+1}m or {mz}{sz}.}
{=(^s5+):c:temprole {target(id)} {rcd} {math:{diff}+1}m or {mx}{sx}.}
{=(^s6):delete}
{=(^s6+):c:temprole {target(id)} {rmute} {math:2{diff}}s or {mx}{sx}.}
{=(^s7):c:temprole {user(id)} {rmute} {diff}s or {mz}{sz}.}
{=(^s7+):c:temprole {user(id)} {rcd} {math:60+(2{diff})}s or {mx}{sx}.}
 
{^{out}}
{^{out}+}
{{if({out}!=fault):c:cembed {channel(id)} {"description":"{{out}}","color":10471167}|fault}}
Raw JSON
{
  "id": 833690,
  "created_at": "2021-05-18T15:37:07.000Z",
  "tag_name": "1test",
  "nsfw": false,
  "owner_id": "760823877034573864",
  "uses": 155,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "806350909436461086",
  "sharer": "760823877034573864",
  "content": "{=():}\r\n{=(rmute):muted}\r\n{=(rcd):cooldown}\r\n{=(nuser):{range:1-100}}\r\n{=(ntarget):{range:1-100}}\r\n{=(diff):{replace(-,):{math:trunc({nuser}-{ntarget})}}}\r\n{=(win):{if({nuser}!={ntarget}):{if({nuser}>{ntarget}):user|target}|{#:user,target}}}\r\n{=(lose):{if({win}==target):user|target}}\r\n \r\n{=(out):{if({user(id)}!={target(id)}):{and({nuser}<=20|{ntarget}<=20):s1}{and({n{lose}}<=10|{n{win}}>20):s2}{and({n{lose}}>10|{n{win}}>20|{n{win}}<=85|{diff}<=50):s3}{and({n{lose}}>10|{n{win}}>20|{n{win}}<=85|{diff}>50):s4}{and({n{lose}}>85):s5}{and({ntarget}<=85|{nuser}>85):s6}{and({nuser}<=85|{ntarget}>85):s7}|fault}}\r\n \r\n{=(s1):Both suck}\r\n{=(s2):{{lose}} too scared runs away}\r\n{=(s3):{{win}} wins}\r\n{=(s4):{{win}} completely destroys {{lose}}}\r\n{=(s5):They both die}\r\n{=(s6):{user} backstabs {target} and gets away}\r\n{=(s7):{user} tries to beat {target} but falls of a cliff and dies}\r\n{=(fault):{user(mention)} mention someone the next time to fight\r\n__**Syntax:**__ `-1v1v2 @​​​​​user`}\r\n \r\n{=(^s1):}{=(^s1+):}{=(^s2+):}{=(^s3+):}{=(^s4+):}{=(^fault):}{=(^fault+):}\r\n \r\n{=(m1):{m:trunc({diff}/60)}}\r\n{=(s1):{m:trunc({diff}%60)}}\r\n \r\n{=(m2):{m:trunc({diff}/30)}}\r\n{=(s2):{m:trunc((2*{diff})%60)}}\r\n \r\n{=(mz):{replace(1 minutes,1 minute):{replace(0 minutes and ,):{or({out}==s2|{out}==s5):{m:1+{m1}}}{or({out}==fault|{out}==s1|{out}==s6):0}{or({out}==s3|{out}==s7):{m1}}{or({out}==s4):{m:trunc({diff}/10)}} minutes }}}\r\n \r\n{=(sz):{replace(1 seconds,1 second):{replace(0 seconds,):{or({out}==s2|{out}==s3|{out}==s5|{out}==s7):{s1}}{or({out}==fault|{out}==s1|{out}==s6):0}{or({out}==s4):{m:trunc(({diff}%10)*6)}} seconds}}}\r\n \r\n{=(mx):{replace(1 minutes,1 minute):{replace(0 minutes and ,):{or({out}==s5):{m:1+{m1}}}{or({out}==s1|{out}==s2|{out}==s3|{out}==s4|{out}==fault):0}{or({out}==s6):{m2}}{or({out}==s7):{m:1+{m2}}} minutes and }}}\r\n \r\n{=(sx):{replace(1 seconds,1 second):{replace(0 seconds,):{or({out}==s5):{s1}}{or({out}==s1|{out}==s2|{out}==s3|{out}==s4|{out}==fault):0}{or({out}==s6):{s2}}{or({out}==s7):{s2}} seconds}}}\r\n\r\n{=(^s2):c:temprole {{lose}(id)} {rmute} {math:60+{diff}}s or {mz}{sz}.}\r\n{=(^s3):c:temprole {{lose}(id)} {rmute} {diff}s or {mz}{sz}.}\r\n{=(^s4):c:temprole {{lose}(id)} {rcd} {math:({diff}/10)-5}m or {mz}{sz}.}\r\n{=(^s5):c:temprole {user(id)} {rcd} {math:{diff}+1}m or {mz}{sz}.}\r\n{=(^s5+):c:temprole {target(id)} {rcd} {math:{diff}+1}m or {mx}{sx}.}\r\n{=(^s6):delete}\r\n{=(^s6+):c:temprole {target(id)} {rmute} {math:2{diff}}s or {mx}{sx}.}\r\n{=(^s7):c:temprole {user(id)} {rmute} {diff}s or {mz}{sz}.}\r\n{=(^s7+):c:temprole {user(id)} {rcd} {math:60+(2{diff})}s or {mx}{sx}.}\r\n \r\n{^{out}}\r\n{^{out}+}\r\n{{if({out}!=fault):c:cembed {channel(id)} {\"description\":\"{{out}}\",\"color\":10471167}|fault}}",
  "embed": "{}",
  "last_fetched": "2026-10-21T01:32:03.824Z"
}