This is a Lua Betting script which basicly gives the player the ability to bet an item (probably a custom item used as currency) and have a chance to win a scroll of enchant of random value.
I made this script mainly because I've seen alot of servers where everyone is using the same endgame enchants over and over again, now they do need to have a bit luck or a big wallet (since endgame enchants might get worth something).
Feel free to edit(If you want armor or weapons as prices or something).
Pastebin