• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Rock-paper-scissors

Grandelf

Esteemed Member
460px-Rock-paper-scissors.svg.png


It's been a while since I have released something, and this just came to mind
because of another Rock, paper, scissors script found here.

It's a bit different from that one though, I basically ripped this idea of Guild Wars.
There's one npc and you just type one of the commands to enter:

  • .rock
  • .paper
  • .scissors
(NOTE: You have to target the npc for the command to work)

After x amount of seconds, the npc chooses an attribute.
The winners win x amount of gold/items (which you can configure at the top of the script).
The losers will lose x amount of gold/items and get knocked down.
After that the game will simply restart again when someone enters.

Script: http://paste2.org/n9xAK5sL

Grandelf
 

alexdakota

Emulation Addict
I saw that you replied on my previous post about the other rock,paper,scissors script that i asked for an ITEM ID instead of gold, might had something to do with this? :p
 
Last edited:

Tommy

Founder
Does not work for me.. The script as a script works, but when I place npc ID, the script doesn't attach to the NPC...

Well, technically the script doesn't attach to the Npc as it isn't gossip. However, supply the npcId with the creature you WANT to use for this script, and near the npc run the following command(s):

.rock
.paper
.scissors


Btw i saw that you replied on my previous post about the other rock,paper,scissors script that i asked for an ITEM ID instead of gold, might had something to do with this? :p

Yes. Instead of gold you can easily use these methods to check, remove and add items:

:AddItem
:HasItem
:RemoveItem
 

Grandelf

Esteemed Member
I saw that you replied on my previous post about the other rock,paper,scissors script that i asked for an ITEM ID instead of gold, might had something to do with this? :p

To answer your question, the script in the other thread uses a gossip script. I modified the script so you could easiliy
swap between an item cost or a gold cost.
This script uses commands, rather than a gossip window. This way multipile people can join a single game at once.

Glad it works.
 
Top