rps
Sharedunrated
Content
78 lines{=(option):{lower:{args}}}
{=(optionornot):{contains({option}):help get}}
{=(list0):x F H K D Q o 1 v J E t O 8 2 d r b 6 a A s I y e Z B c M R S z P 9 G X U k i w T q u W N h j n l f 0 5 m C Y p V L 7 4 g 3}
{=(list1):f h d I 9 j 3 F w A P X 0 O t l W z x g s y o n k 6 r q c B u U H 2 D 8 R e v V J 1 Q 7 G K 4 L p Y E m T S a i M N Z C b 5}
{=(list2):m E C j Z e I X H 8 i A 5 z 9 g T 1 3 V F Q d t M l c w q 6 J k a U u b s O x G Y 0 L N r W h 4 n v B 2 P D o S R p 7 y K f}
{=(list3):T d v K u j L r s O l 3 Y W o z t G V 6 P X 9 R a p 7 k D J 4 Q g h A C U w 0 8 q B x 2 F 5 E c Z I 1 e S m y N H b n f i M}
{=(list4):r e g 8 c 6 G 4 H 0 P K k S o J 3 y l j L I R A i 9 x 2 Y E z s b 7 X Z O Q U h 5 C F T D t n q d a B M u w 1 N V p m f W v}
{=(list5):0 Y K J O P w X 1 t F a 9 x S f r Z d q D G 7 m k o z j E A 3 U g C T y R H c h s 5 v i 2 8 Q b M n 4 I p V L W B l u e 6 N}
{=(list6):v f K 3 Q u M h x T R a 7 o s 5 Z 1 m t w U 0 V 4 F G Y i q N J d B W j P 9 b 6 A 8 C S r D X c z L O I y n l e k p E H g 2}
{=(list7):0 2 3 X u B t x 6 O Y 4 v m J g L G S T Z H q 9 N z p U E R n W s o r c I 7 d C y A k D 8 e V Q a f i 1 j l w 5 F b h M P K}
{=(list8):T G Y Q d 4 M L X b S a I x m 9 A C 6 D 1 8 H q 0 7 J k F f r w i B V s N P t n v y O h g e 3 W z 5 l p 2 E K Z c U o u R j}
{=(list9):a p A j Z u w X 7 9 d e c x B 6 I O H R P 4 W n v Y b t h L G f Q 2 3 S E k 8 o m K M C s l D r J y 1 N F g T z q U i 0 V 5}
{=():}
{=(zerop):{range:7-62}}
{=(diff):{m:trunc({zerop}/3 - 1)}}
{=(getscissors):{m:trunc({zerop} - {diff}*3)}}
{=(getpaper):{m:trunc({zerop} - {diff}*2)}}
{=(getrock):{m:trunc({zerop} - {diff})}}
{=(ranList):{range:0-9}}
{=(list):{list{ranList}}}
{{all({option}==get|{optionornot}==true):dm}}
{all({option}==get|{optionornot}==true):__Your code__: Rock : {list({getrock})}{list({diff})}{ranList}{list({zerop})}
Paper : {list({getpaper})}{list({diff})}{ranList}{list({zerop})}
Scissors : {list({getscissors})}{list({diff})}{ranList}{list({zerop})}
`!rps <player 1 Code> <player 2 code>`
}
{=(le):{index($&):{args} $&}}
{=(p1c):{replace(, ):{args(1)}}}
{=(p1z):{m:trunc({index({p1c(-1)}):{list{p1c(-2)}}}+1)}}
{=(p1d):{m:trunc({index({p1c(-3)}):{list{p1c(-2)}}}+1)}}
{=(p1o):{m:trunc({index({p1c(-4)}):{list{p1c(-2)}}}+1)}}
{=(checkCode.player1):{if({m:trunc(({p1z}-{p1o})%{p1d})}==0):true|false}}
{=(p2c):{replace(, ):{args(2)}}}
{=(p2z):{m:trunc({index({p2c(-1)}):{list{p2c(-2)}}}+1)}}
{=(p2d):{m:trunc({index({p2c(-3)}):{list{p2c(-2)}}}+1)}}
{=(p2o):{m:trunc({index({p2c(-4)}):{list{p2c(-2)}}}+1)}}
{=(checkCode.player2):{if({m:trunc(({p2z}-{p2o})%{p2d})}==0):true|false}}
{=(p1opt):{m:trunc(({p1z}-{p1o})/{p1d})}}
{=(p2opt):{m:trunc(({p2z}-{p2o})/{p2d})}}
{=(choice1):{if({p1opt}==1):Rock|{if({p1opt}==2):Paper|Scissors}}}
{=(choice2):{if({p2opt}==1):Rock|{if({p2opt}==2):Paper|Scissors}}}
{=(sub):{m:{p1opt}-{p2opt}}}
{=(result):{m:trunc({sub}%3)}}
{=(choices):Choices:
Player 1 : {choice1}
Player 2 : {choice2}}
{=(checkCode.Both):{all({le}==2|{optionornot}==false|{checkCode.player1}==true|{checkCode.player2}==true):true|false}}
{break({all({le}==2|{checkCode.player1}==false):true|false}==true):**Player 1** code is incorrect}
{break({all({le}==2|{checkCode.player2}==false):true|false}==true):**Player 2** code is incorrect}
{break({all({result}==0|{checkCode.Both}==true):true|false}==true):**Player 1** and **Player 2** tied!
{choices}}
{break({all({result}==1|{checkCode.Both}==true):true|false}==true):**Player 1** wins, **Player 1** beats **Player 2**!
{choices}}
{break({all({result}==2|{checkCode.Both}==true):true|false}==true):**Player 2** wins, **Player 2** beats **Player 1**!
{choices}}
{=(json):{"title":"Rock Paper Scissors - Help","description":"__**How to Play?**__\n1️⃣ Run below command to get code for Rock, Paper and Scissors as direct message. New code is generated every time you run this command.\n`!rps get`\n2️⃣ Choose your option and share the respective code with other player ask the other player to run same command to get his codes.\n3️⃣ Now any one of the player can run below command.\n`!rps <Player1 Code> <Player2 code>`","color":843811,"footer":{"text":"Tag by Tush"}}}
{{all({optionornot}==true|{le}==1|{option}==help):c|=(cmt)}:cembed {channel(id)} {json}}
{{all({optionornot}==false|{le}==0|{option}==):c|=(cmt)}:cembed {channel(id)} {json}}Raw JSON
{
"id": 184876,
"created_at": "2022-04-26T10:36:09.608Z",
"tag_name": "rps",
"nsfw": false,
"owner_id": "522065540575920128",
"uses": 20,
"description": null,
"restricted": false,
"shared": true,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "661922586912882688",
"sharer": "522065540575920128",
"content": "{=(option):{lower:{args}}}\n{=(optionornot):{contains({option}):help get}}\n\n{=(list0):x F H K D Q o 1 v J E t O 8 2 d r b 6 a A s I y e Z B c M R S z P 9 G X U k i w T q u W N h j n l f 0 5 m C Y p V L 7 4 g 3}\n{=(list1):f h d I 9 j 3 F w A P X 0 O t l W z x g s y o n k 6 r q c B u U H 2 D 8 R e v V J 1 Q 7 G K 4 L p Y E m T S a i M N Z C b 5}\n{=(list2):m E C j Z e I X H 8 i A 5 z 9 g T 1 3 V F Q d t M l c w q 6 J k a U u b s O x G Y 0 L N r W h 4 n v B 2 P D o S R p 7 y K f}\n{=(list3):T d v K u j L r s O l 3 Y W o z t G V 6 P X 9 R a p 7 k D J 4 Q g h A C U w 0 8 q B x 2 F 5 E c Z I 1 e S m y N H b n f i M}\n{=(list4):r e g 8 c 6 G 4 H 0 P K k S o J 3 y l j L I R A i 9 x 2 Y E z s b 7 X Z O Q U h 5 C F T D t n q d a B M u w 1 N V p m f W v}\n{=(list5):0 Y K J O P w X 1 t F a 9 x S f r Z d q D G 7 m k o z j E A 3 U g C T y R H c h s 5 v i 2 8 Q b M n 4 I p V L W B l u e 6 N}\n{=(list6):v f K 3 Q u M h x T R a 7 o s 5 Z 1 m t w U 0 V 4 F G Y i q N J d B W j P 9 b 6 A 8 C S r D X c z L O I y n l e k p E H g 2}\n{=(list7):0 2 3 X u B t x 6 O Y 4 v m J g L G S T Z H q 9 N z p U E R n W s o r c I 7 d C y A k D 8 e V Q a f i 1 j l w 5 F b h M P K}\n{=(list8):T G Y Q d 4 M L X b S a I x m 9 A C 6 D 1 8 H q 0 7 J k F f r w i B V s N P t n v y O h g e 3 W z 5 l p 2 E K Z c U o u R j}\n{=(list9):a p A j Z u w X 7 9 d e c x B 6 I O H R P 4 W n v Y b t h L G f Q 2 3 S E k 8 o m K M C s l D r J y 1 N F g T z q U i 0 V 5}\n\n{=():}\n\n{=(zerop):{range:7-62}}\n{=(diff):{m:trunc({zerop}/3 - 1)}}\n{=(getscissors):{m:trunc({zerop} - {diff}*3)}}\n{=(getpaper):{m:trunc({zerop} - {diff}*2)}}\n{=(getrock):{m:trunc({zerop} - {diff})}}\n{=(ranList):{range:0-9}}\n\n{=(list):{list{ranList}}}\n\n{{all({option}==get|{optionornot}==true):dm}}\n{all({option}==get|{optionornot}==true):__Your code__: Rock : {list({getrock})}{list({diff})}{ranList}{list({zerop})}\nPaper : {list({getpaper})}{list({diff})}{ranList}{list({zerop})}\nScissors : {list({getscissors})}{list({diff})}{ranList}{list({zerop})}\n`!rps <player 1 Code> <player 2 code>`\n}\n\n{=(le):{index($&):{args} $&}}\n\n{=(p1c):{replace(, ):{args(1)}}}\n{=(p1z):{m:trunc({index({p1c(-1)}):{list{p1c(-2)}}}+1)}}\n{=(p1d):{m:trunc({index({p1c(-3)}):{list{p1c(-2)}}}+1)}}\n{=(p1o):{m:trunc({index({p1c(-4)}):{list{p1c(-2)}}}+1)}}\n\n{=(checkCode.player1):{if({m:trunc(({p1z}-{p1o})%{p1d})}==0):true|false}}\n\n{=(p2c):{replace(, ):{args(2)}}}\n{=(p2z):{m:trunc({index({p2c(-1)}):{list{p2c(-2)}}}+1)}}\n{=(p2d):{m:trunc({index({p2c(-3)}):{list{p2c(-2)}}}+1)}}\n{=(p2o):{m:trunc({index({p2c(-4)}):{list{p2c(-2)}}}+1)}}\n\n{=(checkCode.player2):{if({m:trunc(({p2z}-{p2o})%{p2d})}==0):true|false}}\n\n{=(p1opt):{m:trunc(({p1z}-{p1o})/{p1d})}}\n{=(p2opt):{m:trunc(({p2z}-{p2o})/{p2d})}}\n\n{=(choice1):{if({p1opt}==1):Rock|{if({p1opt}==2):Paper|Scissors}}}\n{=(choice2):{if({p2opt}==1):Rock|{if({p2opt}==2):Paper|Scissors}}}\n\n{=(sub):{m:{p1opt}-{p2opt}}}\n{=(result):{m:trunc({sub}%3)}}\n\n{=(choices):Choices:\nPlayer 1 : {choice1}\nPlayer 2 : {choice2}}\n\n{=(checkCode.Both):{all({le}==2|{optionornot}==false|{checkCode.player1}==true|{checkCode.player2}==true):true|false}}\n\n{break({all({le}==2|{checkCode.player1}==false):true|false}==true):**Player 1** code is incorrect}\n{break({all({le}==2|{checkCode.player2}==false):true|false}==true):**Player 2** code is incorrect}\n\n{break({all({result}==0|{checkCode.Both}==true):true|false}==true):**Player 1** and **Player 2** tied!\n{choices}}\n{break({all({result}==1|{checkCode.Both}==true):true|false}==true):**Player 1** wins, **Player 1** beats **Player 2**!\n{choices}}\n{break({all({result}==2|{checkCode.Both}==true):true|false}==true):**Player 2** wins, **Player 2** beats **Player 1**!\n{choices}}\n\n{=(json):{\"title\":\"Rock Paper Scissors - Help\",\"description\":\"__**How to Play?**__\\n1️⃣ Run below command to get code for Rock, Paper and Scissors as direct message. New code is generated every time you run this command.\\n`!rps get`\\n2️⃣ Choose your option and share the respective code with other player ask the other player to run same command to get his codes.\\n3️⃣ Now any one of the player can run below command.\\n`!rps <Player1 Code> <Player2 code>`\",\"color\":843811,\"footer\":{\"text\":\"Tag by Tush\"}}}\n\n{{all({optionornot}==true|{le}==1|{option}==help):c|=(cmt)}:cembed {channel(id)} {json}}\n\n{{all({optionornot}==false|{le}==0|{option}==):c|=(cmt)}:cembed {channel(id)} {json}}",
"embed": "{}",
"last_fetched": "2026-10-20T21:28:36.352Z"
}