rps
Privateunrated
Content
98 lines{=(COMMENT):Main prefix used in your server.}
{=(prefix):!}
{=(COMMENT):The name of this tag, to be displayed in the instructions.}
{=(tagname):rps}
{=(COMMENT):Makes the first argument case insensitive, and allows for one-letter options (such as "r" for "rock", etc.), as well as emojis representing the items or the hand gestures.
Even takes into account skin-tones when using the hand gestures, so it's user friendly and adapts to every user.}
{=(l1):{replace(rock,r):{replace(paper,p):{replace(scissor,s):{replace(scissors,s):{replace(✂,s):{replace(✂️,s):{replace(📃,p):{replace(🪨,r):{replace(✌,s):{replace(✌️,s):{replace(🤚,p):{replace(✊,r):{replace(🏻,):{replace(🏼,):{replace(🏽,):{replace(🏾,):{replace(🏿,):{lower:{1}}}}}}}}}}}}}}}}}}}}
{=(COMMENT):Picks a random number between 1 and 3 for the bot to play. Well... I'm just kidding, because we all know Carl-bot still influences that randomness to his advantage... right?}
{=(num):{range:1-3}}
{=(rps):rock paper scissors}
{=(rps_l):r p s}
{=(COMMENT):Emojis to be used in front of the picked option.
If you prefer the "hands" version, then remove the second "rps_e" line below, or invert the first and second line.}
{=(rps_e):✊ :back_of_hand: ✌}
{=(rps_e)::rock: 📃 ✂}
{=(COMMENT):Checks if the user input a valid RPS option.}
{=(check):{if({contains({l1}):{rps_l}}==true):success|error}}
{=(COMMENT):Map of the possible outcomes.
Made out of this image:
https://cdn.steemitimages.com/DQmRLh8nD97k5o3Xop9FAXfHXYw9khHDNVd9LC3z7atY7Ya/rockpaperScissors.png
W = Win, D = Draw, L = Lose}
{=(r_o):D L W}
{=(p_o):W D L}
{=(s_o):L W D}
{=(COMMENT):Letter outcome. Returns either L, D, or W.}
{=(letter_o):{{l1}_o({num})}}
{=(COMMENT):Returns the player1's option.}
{=(p1):{rps({index({l1}):0 {rps_l}})}}
{=(COMMENT):Returns the player1's emoji based on their option.}
{=(p1_e):{rps_e({index({l1}):0 {rps_l}})}}
{=(COMMENT):Returns the bot's random option.}
{=(bot):{rps({num})}}
{=(COMMENT):Returns the bot's option's emoji.}
{=(bot_e):{rps_e({num})}}
{=(COMMENT):"Basic" W D L messages to be displayed.
You can customize them as per your need.
Random sassy quotes from the bot are below in the code.}
{=(msg_W):You win!}
{=(msg_D):It's a tie!}
{=(msg_L):Carl-bot wins!}
{=(COMMENT):Returns the basic message corresponding to the outcome.}
{=(msg_final):{msg_{letter_o}}}
{=(COMMENT):Setting up the hex color codes that will be used as the embed's side color. You can customize them as per your need.}
{=(COMMENT):Green}
{=(clr_W):26de57}
{=(COMMENT):Orange}
{=(clr_D):deb626}
{=(COMMENT):Red}
{=(clr_L):de2626}
{=(COMMENT):Blurple}
{=(clr_E):7289da}
{=(COMMENT):Actually setting the conditional color.}
{embed(color):#{replace(#,):{if({check}==error):{clr_E}|{clr_{letter_o}}}}}
{=(COMMENT):Conditional title. The basic message is actually our embed title here.}
{=(check_t):{if({contains({l1}):{rps_l}}==true):msg_final}}
{=(COMMENT):Random (sassy) quote depending on the outcome.}
{=(rand_W):{#:Y-you, human, just beat a bot!~"AI will run the world" they said..., yet you defeated a program.~I can't even hold a rock, a paper or scissors... That's not fair.~I want to speak to your manager. I'm not allowed to lose.~Yay, do you want a medal now?~Okay you won, but this time only.~You didn't even let me think of my move!~Imagine winning. <:pemegahd:609069237377695754>}}
{=(rand_D):{#:At least we're equally as good.~There must be a mistake. ||Oh, it's you.||~*Tududu, I be on my suit and TIE.* 👔~"Draw", like my art teacher used to tell me, until she realized I was too bad at it.~Honestly the game must be bugged at this point.~Imagine playing a game where "no winner" is a possible outcome...}}
{=(rand_L):{#:If I had hands, I'd be making an L shape with it on *YOUR* forehead.~Imagine losing to a turtle though. Isn't that cringe?~Now bow to your Turtle King!~Carl-bot best bot.~I didn't get your heart, but at least I get to win a game against you... <a:awkwardflushed:646127802701185034>~See, you can't beat me now. Told you.~It's okay, you'll wi- keep losing, actually.~I was a RPS champion in my previous turtle life. Guess I still am.~There's only 3 outcomes... How can you lose to such a simple game?}}
{=(COMMENT):What to display when the option is valid.
Basically just the game output.}
{=(success):**{user(mention)} picked:** {p1_e} `{p1}`
**<@235148962103951360> picked:** {bot_e} `{bot}`
> {rand_{letter_o}}}
{=(COMMENT):What to display when the option isn't valid.
Contains instructions on how to use the command.
You can add more text to it if you'd like.
(Either no user argument provided or not a word that is valid.}
{=(error):**Play "Rock, Paper, Scissors" with me!**
Valid options: `rock`, `r`, ✊, :rock:, `paper`, `p`, 🤚, 📃, `scissor(s)`, `s`, ✌, ✂
__Usage:__ `{prefix}{tagname} <option>`
__Example:__ `{prefix}{tagname} r`
}
{=(COMMENT):Please leave the blank variable below, as it prevents the title from returning double brackets as plain text.}
{=():}
{=(COMMENT):Basic message to return as the title.}
{=(title):{{check_t}}}
{=(COMMENT)):Conditional embed description.}
{=(output):{{check}}}Embed
1 line{"color": 5198940, "title": "{title}", "description": "{output}"}Raw JSON
{
"id": 418763,
"created_at": "2020-11-08T23:04:23.000Z",
"tag_name": "rps",
"nsfw": false,
"owner_id": "649967719508082689",
"uses": 29,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "774472790358491186",
"sharer": "649967719508082689",
"content": "{=(COMMENT):Main prefix used in your server.}\n{=(prefix):!}\n{=(COMMENT):The name of this tag, to be displayed in the instructions.}\n{=(tagname):rps}\n\n{=(COMMENT):Makes the first argument case insensitive, and allows for one-letter options (such as \"r\" for \"rock\", etc.), as well as emojis representing the items or the hand gestures.\nEven takes into account skin-tones when using the hand gestures, so it's user friendly and adapts to every user.}\n{=(l1):{replace(rock,r):{replace(paper,p):{replace(scissor,s):{replace(scissors,s):{replace(✂,s):{replace(✂️,s):{replace(📃,p):{replace(🪨,r):{replace(✌,s):{replace(✌️,s):{replace(🤚,p):{replace(✊,r):{replace(🏻,):{replace(🏼,):{replace(🏽,):{replace(🏾,):{replace(🏿,):{lower:{1}}}}}}}}}}}}}}}}}}}}\n\n{=(COMMENT):Picks a random number between 1 and 3 for the bot to play. Well... I'm just kidding, because we all know Carl-bot still influences that randomness to his advantage... right?}\n{=(num):{range:1-3}}\n{=(rps):rock paper scissors}\n{=(rps_l):r p s}\n{=(COMMENT):Emojis to be used in front of the picked option.\nIf you prefer the \"hands\" version, then remove the second \"rps_e\" line below, or invert the first and second line.}\n{=(rps_e):✊ :back_of_hand: ✌}\n{=(rps_e)::rock: 📃 ✂}\n\n{=(COMMENT):Checks if the user input a valid RPS option.}\n{=(check):{if({contains({l1}):{rps_l}}==true):success|error}}\n\n{=(COMMENT):Map of the possible outcomes.\nMade out of this image:\nhttps://cdn.steemitimages.com/DQmRLh8nD97k5o3Xop9FAXfHXYw9khHDNVd9LC3z7atY7Ya/rockpaperScissors.png\nW = Win, D = Draw, L = Lose}\n{=(r_o):D L W}\n{=(p_o):W D L}\n{=(s_o):L W D}\n\n{=(COMMENT):Letter outcome. Returns either L, D, or W.}\n{=(letter_o):{{l1}_o({num})}}\n\n{=(COMMENT):Returns the player1's option.}\n{=(p1):{rps({index({l1}):0 {rps_l}})}}\n{=(COMMENT):Returns the player1's emoji based on their option.}\n{=(p1_e):{rps_e({index({l1}):0 {rps_l}})}}\n\n{=(COMMENT):Returns the bot's random option.}\n{=(bot):{rps({num})}}\n{=(COMMENT):Returns the bot's option's emoji.}\n{=(bot_e):{rps_e({num})}}\n\n{=(COMMENT):\"Basic\" W D L messages to be displayed.\nYou can customize them as per your need.\nRandom sassy quotes from the bot are below in the code.}\n{=(msg_W):You win!}\n{=(msg_D):It's a tie!}\n{=(msg_L):Carl-bot wins!}\n\n{=(COMMENT):Returns the basic message corresponding to the outcome.}\n{=(msg_final):{msg_{letter_o}}}\n\n{=(COMMENT):Setting up the hex color codes that will be used as the embed's side color. You can customize them as per your need.}\n{=(COMMENT):Green}\n{=(clr_W):26de57}\n{=(COMMENT):Orange}\n{=(clr_D):deb626}\n{=(COMMENT):Red}\n{=(clr_L):de2626}\n{=(COMMENT):Blurple}\n{=(clr_E):7289da}\n\n{=(COMMENT):Actually setting the conditional color.}\n{embed(color):#{replace(#,):{if({check}==error):{clr_E}|{clr_{letter_o}}}}}\n\n{=(COMMENT):Conditional title. The basic message is actually our embed title here.}\n{=(check_t):{if({contains({l1}):{rps_l}}==true):msg_final}}\n\n{=(COMMENT):Random (sassy) quote depending on the outcome.}\n{=(rand_W):{#:Y-you, human, just beat a bot!~\"AI will run the world\" they said..., yet you defeated a program.~I can't even hold a rock, a paper or scissors... That's not fair.~I want to speak to your manager. I'm not allowed to lose.~Yay, do you want a medal now?~Okay you won, but this time only.~You didn't even let me think of my move!~Imagine winning. <:pemegahd:609069237377695754>}}\n{=(rand_D):{#:At least we're equally as good.~There must be a mistake. ||Oh, it's you.||~*Tududu, I be on my suit and TIE.* 👔~\"Draw\", like my art teacher used to tell me, until she realized I was too bad at it.~Honestly the game must be bugged at this point.~Imagine playing a game where \"no winner\" is a possible outcome...}}\n{=(rand_L):{#:If I had hands, I'd be making an L shape with it on *YOUR* forehead.~Imagine losing to a turtle though. Isn't that cringe?~Now bow to your Turtle King!~Carl-bot best bot.~I didn't get your heart, but at least I get to win a game against you... <a:awkwardflushed:646127802701185034>~See, you can't beat me now. Told you.~It's okay, you'll wi- keep losing, actually.~I was a RPS champion in my previous turtle life. Guess I still am.~There's only 3 outcomes... How can you lose to such a simple game?}}\n\n{=(COMMENT):What to display when the option is valid.\nBasically just the game output.}\n{=(success):**{user(mention)} picked:** {p1_e} `{p1}`\n**<@235148962103951360> picked:** {bot_e} `{bot}`\n> {rand_{letter_o}}}\n\n{=(COMMENT):What to display when the option isn't valid.\nContains instructions on how to use the command.\nYou can add more text to it if you'd like.\n(Either no user argument provided or not a word that is valid.}\n{=(error):**Play \"Rock, Paper, Scissors\" with me!**\n\nValid options: `rock`, `r`, ✊, :rock:, `paper`, `p`, 🤚, 📃, `scissor(s)`, `s`, ✌, ✂\n\n__Usage:__ `{prefix}{tagname} <option>`\n__Example:__ `{prefix}{tagname} r`\n}\n\n{=(COMMENT):Please leave the blank variable below, as it prevents the title from returning double brackets as plain text.}\n{=():}\n{=(COMMENT):Basic message to return as the title.}\n{=(title):{{check_t}}}\n\n{=(COMMENT)):Conditional embed description.}\n{=(output):{{check}}}",
"embed": "{\"color\": 5198940, \"title\": \"{title}\", \"description\": \"{output}\"}",
"last_fetched": "2026-10-20T23:04:39.070Z"
}