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:
(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.