rps

Privateunrated

Content

35 lines
{=(comment):change prefix to ur server Prefix}
{=(prefix):!}
{=(error): Please Mention Someone 
For Example 
{prefix}rps @​Carl-bot}
{=(comment):1 = random hex and 2 = if user wins it's green and user loses its red and Tie = black}
{=(coldec):2}
{=(comment):Don't touch anything here}
{=(rock):Rock}
{=(paper):Paper}
{=(scissors):Scissors}
{=(rps1):{random:rock,paper,scissor}}
{=(rps2):{random:rock,paper,scissor}}
{=(lower):{lower:{2}}}
{=(output):{rps1},{rps2}}
{=(user1):{user(proper)} : {rps1}}
{=(user2):{target(proper)} : {rps2}}


{=():}
{let(hex):A,B,C,D,E,F,1,2,3,4,5,6,7,8,9,0} {let(randhex):{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}}

{=(comment):this decides the winner}

{=(win):{if({output}==rock,rock):
Tie|
{if({output}==rock,paper):{user(proper)} Lost|{if({output}==rock,scissor):{user(proper)} Won|{if({output}==paper,paper):Tie|{if({output}==paper,rock):{user(proper)} Won|{if({output}==paper,scissor):{user(proper)} Lost|{if({output}==scissor,scissor):Tie|{if({output}==scissor,rock):{user(proper)} Lost|{if({output}==scissor,paper):{user(proper)} Won}}}}}}}}}}

{=(comment):this decides the embed color}

{=(dec):{if({win}=={user(proper)} Won):00FF00|{if({win}=={user(proper)} Lost):FF0000|{if({win}==Tie):000000|{if({user(id)}=={target(id)}):81A8D2}}}}}
{embed(color):#{if({coldec}==1):{randhex}|{if({coldec}==2):{dec}}}}
{=(con):{user(proper)}!={target(proper)}}
{=(winner):{user(proper)} Won}
{=(loser):{user(proper)} Lost}

Embed

1 line
{"color": 5198940, "title": "{if({con}):{user(proper)} vs {target(proper)}| }", "author": {"name": "{{if({con}):target(proper)|}}", "icon_url": "{{if({con}):target(icon)|}}"}, "footer": {"text": "Result:{if({user(id)}!={target(id)}):{win}|} ", "icon_url": ""}, "description": "**{if({user(id)}!={target(id)}):\n> {user1}\n> {user2}|{error}}**\n\n"}
Raw JSON
{
  "id": 384601,
  "created_at": "2020-10-21T10:51:54.000Z",
  "tag_name": "rps",
  "nsfw": false,
  "owner_id": "387606921018081281",
  "uses": 237,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "766013336378277918",
  "sharer": "387606921018081281",
  "content": "{=(comment):change prefix to ur server Prefix}\n{=(prefix):!}\n{=(error): Please Mention Someone \nFor Example \n{prefix}rps @​Carl-bot}\n{=(comment):1 = random hex and 2 = if user wins it's green and user loses its red and Tie = black}\n{=(coldec):2}\n{=(comment):Don't touch anything here}\n{=(rock):Rock}\n{=(paper):Paper}\n{=(scissors):Scissors}\n{=(rps1):{random:rock,paper,scissor}}\n{=(rps2):{random:rock,paper,scissor}}\n{=(lower):{lower:{2}}}\n{=(output):{rps1},{rps2}}\n{=(user1):{user(proper)} : {rps1}}\n{=(user2):{target(proper)} : {rps2}}\n\n\n{=():}\n{let(hex):A,B,C,D,E,F,1,2,3,4,5,6,7,8,9,0} {let(randhex):{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}{random:{hex}}}\n\n{=(comment):this decides the winner}\n\n{=(win):{if({output}==rock,rock):\nTie|\n{if({output}==rock,paper):{user(proper)} Lost|{if({output}==rock,scissor):{user(proper)} Won|{if({output}==paper,paper):Tie|{if({output}==paper,rock):{user(proper)} Won|{if({output}==paper,scissor):{user(proper)} Lost|{if({output}==scissor,scissor):Tie|{if({output}==scissor,rock):{user(proper)} Lost|{if({output}==scissor,paper):{user(proper)} Won}}}}}}}}}}\n\n{=(comment):this decides the embed color}\n\n{=(dec):{if({win}=={user(proper)} Won):00FF00|{if({win}=={user(proper)} Lost):FF0000|{if({win}==Tie):000000|{if({user(id)}=={target(id)}):81A8D2}}}}}\n{embed(color):#{if({coldec}==1):{randhex}|{if({coldec}==2):{dec}}}}\n{=(con):{user(proper)}!={target(proper)}}\n{=(winner):{user(proper)} Won}\n{=(loser):{user(proper)} Lost}",
  "embed": "{\"color\": 5198940, \"title\": \"{if({con}):{user(proper)} vs {target(proper)}| }\", \"author\": {\"name\": \"{{if({con}):target(proper)|}}\", \"icon_url\": \"{{if({con}):target(icon)|}}\"}, \"footer\": {\"text\": \"Result:{if({user(id)}!={target(id)}):{win}|} \", \"icon_url\": \"\"}, \"description\": \"**{if({user(id)}!={target(id)}):\\n> {user1}\\n> {user2}|{error}}**\\n\\n\"}",
  "last_fetched": "2026-10-20T22:49:49.340Z"
}