This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

slotmachine game need help

Old posts that have not been replied to for several years.
Locked
T
TALES75

Post by TALES75 »

i have made a slotmachine it works perfect only the users can play the game. what i want to do is.when a player starts the game there will be a check if the user have money to play.if that is not the bot gives the user 500 dollars to play.ones the user have played a game the bot must take 5 dollars and when it wins the bot gives the users 1000 dollars anyone know how to do this.

help me please :smile:

<font size=-1>[ This Message was edited by: TALES75 on 2002-01-11 11:47 ]</font>
T
TALES75

Post by TALES75 »

does any body know how to help me ???
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

i suppose i'm qualified to do this, as i'm a semi-professional slot gambler (i could spend a month on it and make a perfect replica of some machines i know :razz: ). However in your case, i need to know if you want the info to be kept after the player has /quit | /part , or be reset to default.
T
TALES75

Post by TALES75 »

the info must be kept.for when the player comes back he or she can continiu.
M
Mata Hari

Post by Mata Hari »

use something like "setuser $handle xtra money $amount" and "set amount [getuser $handle xtra money]" to store and receive in the userfile?

Locked