Rock-Paper-Scissors
I recently made a mini-game that basically allows users to play rock-paper-scissors with the bot!
NOTE: REQUIRES DEEPBOT VIP
Make sure to set all the commands to run as User (Elevated Access)
!rps
@if@[@target@||||Play Rock-Paper-Scissors with the bot! Type !rps and rock, paper, or scissors to play!||!rps_verify @target@]
!rps_verify
@if@[@target@||rock||!rps_rock @target@||@if@[@target@||paper||!rps_paper @target@||@if@[@target@||scissors||!rps_scissors @target@||Pick either rock, paper, or scissors! OhMyDog]]]
!rps_rock
@if@[@target@||@customapi@[https://api.rtainc.co/twitch/random?choices=rock,paper,scissors]||!rps_tie @target@||@if@[@customapi@[https://api.rtainc.co/twitch/random?choices=rock,paper,scissors]||scissors||!rps_win @target@||!rps_lose @target@]]
!rps_paper
@if@[@target@||@customapi@[https://api.rtainc.co/twitch/random?choices=rock,paper,scissors]||!rps_tie @target@||@if@[@customapi@[https://api.rtainc.co/twitch/random?choices=rock,paper,scissors]||rock||!rps_win @target@||!rps_lose @target@]]
!rps_scissors
@if@[@target@||@customapi@[https://api.rtainc.co/twitch/random?choices=rock,paper,scissors]||!rps_tie @target@||@if@[@customapi@[https://api.rtainc.co/twitch/random?choices=rock,paper,scissors]||paper||!rps_win @target@||!rps_lose @target@]]
!rps_tie
/me chose... @target@
This command needs to be chained to !rps_draw.
!rps_draw
It's a tie!
!rps_win
@if@[@target@||rock||/me chose... scissors||@if@[@target@||paper||/me chose... rock||@if@[@target@||scissors||/me chose... paper||]]]
This command needs to be chained to !rps_rage.
!rps_rage
/me thinks you cheated...
!rps_lose
@if@[@target@||rock||/me chose... paper||@if@[@target@||paper||/me chose... scissors||@if@[@target@||scissors||/me chose... rock||]]]
This command needs to be chained to !rps_gloat.
!rps_gloat
Ha! Did you really think you could beat me?