guessnumber

Private

Content

39 lines
{require( ):<#529157952326598676>, <#530912139481972757>}{silent}

{=(comment):FIX ARGS}
{=(arg):{args(1):(}}
{=(arg):{arg(1):)}}
{=(arg):{arg(1):|}}
{=(arg):{arg(1)::}}

{=(comment):VARIABLE}
{=(prefix):,}
{=(syntax):Syntax is `{prefix}gn <number>`}
{=(min):1}
{=(max):1000}
{=(reward):<:yazcoin:561321461877309450>15000}
{=(correctNumber):{range: {min}-{max}}}
{=(guess):{arg}}
{=(win):{if({guess}=={correctNumber}):true|false}}
{=(failure):{if({win}==false):{rand:You No Win 😒, NO SOUP FOR YOU, Not this time, PWNED!, Riggity Riggity Wrecked!, Keep Trying!, Maybe Next Time!, Just one more...,Can't Stop Won't Stop!}|}}
{=(victory):{if({win}==true):{rand:Winning! πŸ˜ƒ, You Won!, You Did It!, You Got One!, Jackpot!, You're a Beast!, Kickin it Oldschool!, Takes a lickin! Keeps on kickin!, You owned it!, Whoop... There it is!}|}}

{=(comment):BREAK}
{=(brk):
{all({guess}<={min}|{guess}>={max}):1}
{all(=={guess}):1}
}
{=(brk):{replace(
,):{brk}}}
{=(isBrk):{if(=={brk}):false|true}}

{=(comment):CONTENT}
{all({win}==true|{isBrk}==false):{user(mention)} Congratulations, you have guessed **{guess}** and won {reward}. Ask for your money in <#643292435660668928> and <@&587016760696373248> will add the money to your bank.}

{=(comment):EMBED}
{embed(color):{if({win}==true):#00ff47|#ff0000}}
{=(description):The Correct Number: **{correctNumber}**
{user(mention)}'s Guess: **{guess}** 
{if({win}==true):{user(mention)} Has just guessed the correct number which is {guess}! GG to them!}
}
{=(description):{if({isBrk}==true):{syntax}|{description}}}

Embed

1 line
{"color": 5198940, "title": "πŸ”’ Guess number πŸ”’", "footer": {"text": "{failure}{victory}", "icon_url": ""}, "description": "Guess a random numbers between {min} and {max} to win {reward}.\n{description}"}
Raw JSON
{
  "id": 554172,
  "created_at": "2021-01-23T19:31:28.000Z",
  "tag_name": "guessnumber",
  "nsfw": false,
  "owner_id": "710848707368583249",
  "uses": 6549,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "529138809246580745",
  "sharer": "710848707368583249",
  "content": "{require( ):<#529157952326598676>, <#530912139481972757>}{silent}\n\n{=(comment):FIX ARGS}\n{=(arg):{args(1):(}}\n{=(arg):{arg(1):)}}\n{=(arg):{arg(1):|}}\n{=(arg):{arg(1)::}}\n\n{=(comment):VARIABLE}\n{=(prefix):,}\n{=(syntax):Syntax is `{prefix}gn <number>`}\n{=(min):1}\n{=(max):1000}\n{=(reward):<:yazcoin:561321461877309450>15000}\n{=(correctNumber):{range: {min}-{max}}}\n{=(guess):{arg}}\n{=(win):{if({guess}=={correctNumber}):true|false}}\n{=(failure):{if({win}==false):{rand:You No Win 😒, NO SOUP FOR YOU, Not this time, PWNED!, Riggity Riggity Wrecked!, Keep Trying!, Maybe Next Time!, Just one more...,Can't Stop Won't Stop!}|}}\n{=(victory):{if({win}==true):{rand:Winning! πŸ˜ƒ, You Won!, You Did It!, You Got One!, Jackpot!, You're a Beast!, Kickin it Oldschool!, Takes a lickin! Keeps on kickin!, You owned it!, Whoop... There it is!}|}}\n\n{=(comment):BREAK}\n{=(brk):\n{all({guess}<={min}|{guess}>={max}):1}\n{all(=={guess}):1}\n}\n{=(brk):{replace(\n,):{brk}}}\n{=(isBrk):{if(=={brk}):false|true}}\n\n{=(comment):CONTENT}\n{all({win}==true|{isBrk}==false):{user(mention)} Congratulations, you have guessed **{guess}** and won {reward}. Ask for your money in <#643292435660668928> and <@&587016760696373248> will add the money to your bank.}\n\n{=(comment):EMBED}\n{embed(color):{if({win}==true):#00ff47|#ff0000}}\n{=(description):The Correct Number: **{correctNumber}**\n{user(mention)}'s Guess: **{guess}** \n{if({win}==true):{user(mention)} Has just guessed the correct number which is {guess}! GG to them!}\n}\n{=(description):{if({isBrk}==true):{syntax}|{description}}}",
  "embed": "{\"color\": 5198940, \"title\": \"πŸ”’ Guess number πŸ”’\", \"footer\": {\"text\": \"{failure}{victory}\", \"icon_url\": \"\"}, \"description\": \"Guess a random numbers between {min} and {max} to win {reward}.\\n{description}\"}",
  "last_fetched": "2026-10-20T23:55:41.945Z"
}