« Last post by oAizen on February 20, 2017, 06:35:49 PM »
Hey miners! i found a script on here not that long ago for atms that was posted by craig, the script used the input [Amount] option. I did the script as posted and was wondering if there was a way to show the total balance that each player has in their atms. Right now it allows you to deposit/withdrawal money, what im wondering is can you make it so it shows the amount of gold pieces deposited into the atm? heres what i got so far
HasInventory [player] [gold pieces] [>=] [Amount]
History [Bank Balance] [player] [+Amount]
Inventory [Player] [take] [gold pieces] [Amount]
Notify [ [Amount] gold pieces deposited] [Local]
Notify [You dont have enough gold pieces to make this deposit] [local]
HasHistory [Bank Balance] [player] [>=] [Amount]
History [Bank Balance] [player] [-Amount]
Inventory [player] [add] [gold pieces] [Amount]
Notify [ [Amount] Gold pieces withrawn] [local]
notify [You dont have enough gold pieces in your account to make this withdrawal] [local]
So im using a menu script that opens a window that has the following options for player to use
What i wanna squeez in the menu is like a option that allows you to see the total amount of gold pieces you've deposited into the atm. Something like
-Balance < Activating this option would show you the amount of gp in your atm.
Any help would be greatly appreciated! been trying to figure it out for a lil while now and cant figure out how to display it in a menu script X.X Thanks in advance!. Also thank you craig for posting this awesome atm script!