Betting

by Vineeth

System

XASECO

Description

Bet on winning races

Features

1. Chat based betting. No panels yet.
2. Type "/bet <amount>" To start a bet
3. The message that you have started a bet is sent to everyone twice,yes twice,so that it covers the entire chatbox and no one misses the message.
4. Another player(s) can accept the bet by typing "/accept"
5. It can accept multiple acceptors.
6. To win the bet either the person who placed the bet,or one of the players who accepted the bet HAS TO finish 1st.
7. Payout is carried out and everyone gets a message saying Player <winner> has won the bet with a total win of <total win> coppers.
8. If no one wins, 50% of the coppers are returned to the better/acceptors.

Chat commands

/bet <amount> - start a bet
/accept - accept a bet
/topbets - list bets
Only for MasterAdmins:
/beton - enable betting
/betoff - disable betting

Installation

1. unzip the scripts to xaseco base directory
2. edit xaseco's plugins.xml and include the following lines:
Code:
<plugin>vineeth.bet.plugin.php</plugin>
3. restart xaseco

Notes

BACKUP BEFORE USING! Replaces plugin.donate.php file!

Change notes

See the forum page for the extensive change log.

Link(s)

Forum: https://www.tm-forum.com/viewtopic.php?t=22411

Download(s)

File Version Date Size Downloads
betting(0.3.5).zip 0.3.5 2009-08-06 9.32 KB 2121