rps

A simple to use rock paper scissors command. Use !rps [Choice] to play. Examples !rps rock !rps paper !rps scissors Make sure to edit {require:573252114642370574, 573589287279525890} or the command wont work!

Sharedunrated

Content

14 lines
{require:573252114642370574, 573589287279525890}
{=(player):{lower:{args(1)}}}
{=(carl):{random:rock,paper,scissors}}
{=(notrps):{all({player}!=rock|{player}!=paper|{player}!=scissors):true}}
{=(winner):
{if({player}=={carl}):It's a tie!}
{all({player}==rock|{carl}==paper):<@!235148962103951360> has won!}
{all({player}==rock|{carl}==scissors):{user(mention)} has won!}
{all({player}==paper|{carl}==scissors):<@!235148962103951360> has won!}
{all({player}==paper|{carl}==rock):{user(mention)} has won!}
{all({player}==scissors|{carl}==paper):{user(mention)} has won!}
{all({player}==scissors|{carl}==rock):<@!235148962103951360> has won!}}
{=(pls):**Please choose one of the following! [Rock Paper or Scissors]**}
{c:{if({notrps}==true):choose {pls},{pls}|cembed {channel(id)} {"fields":[{"name":"Carl's choice:","value":"<@!235148962103951360> has chosen {carl}!","inline":false},{"name":"Who won:","value":"{winner}","inline":false}],"title":"{user}'s choice:","description":"{user(mention)} has chosen {player}!","color":1634304}}}
Raw JSON
{
  "id": 47453,
  "created_at": "2019-05-07T23:48:30.000Z",
  "tag_name": "rps",
  "nsfw": false,
  "owner_id": "229695200082132993",
  "uses": 121,
  "description": "A simple to use rock paper scissors command.\nUse !rps [Choice] to play.\nExamples\n!rps rock\n!rps paper\n!rps scissors\nMake sure to edit {require:573252114642370574, 573589287279525890} or the command wont work!",
  "restricted": false,
  "shared": true,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "539863874418245663",
  "sharer": "229695200082132993",
  "content": "{require:573252114642370574, 573589287279525890}\n{=(player):{lower:{args(1)}}}\n{=(carl):{random:rock,paper,scissors}}\n{=(notrps):{all({player}!=rock|{player}!=paper|{player}!=scissors):true}}\n{=(winner):\n{if({player}=={carl}):It's a tie!}\n{all({player}==rock|{carl}==paper):<@!235148962103951360> has won!}\n{all({player}==rock|{carl}==scissors):{user(mention)} has won!}\n{all({player}==paper|{carl}==scissors):<@!235148962103951360> has won!}\n{all({player}==paper|{carl}==rock):{user(mention)} has won!}\n{all({player}==scissors|{carl}==paper):{user(mention)} has won!}\n{all({player}==scissors|{carl}==rock):<@!235148962103951360> has won!}}\n{=(pls):**Please choose one of the following! [Rock Paper or Scissors]**}\n{c:{if({notrps}==true):choose {pls},{pls}|cembed {channel(id)} {\"fields\":[{\"name\":\"Carl's choice:\",\"value\":\"<@!235148962103951360> has chosen {carl}!\",\"inline\":false},{\"name\":\"Who won:\",\"value\":\"{winner}\",\"inline\":false}],\"title\":\"{user}'s choice:\",\"description\":\"{user(mention)} has chosen {player}!\",\"color\":1634304}}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T20:26:41.342Z"
}