Well is this supposed to be correct
scn aaSackSCRIPT
float money
float addmoney
float removemoney
short button
short actdep
short actwith
short actshow
short firstuse
Begin OnActivate
If firstuse == 0
messagebox "Choose Action", "Deposit money", "Withdraw money", "Show deposited money"
set button to GetButtonPressed
if button == 1
set actdep to 1
set firstuse to 1
elseif button == 2
set actwith to 1
set firstuse to 1
elseif button == 3
set firstuse to 1
set actshow to 1
endif
endif
end
Begin Gamemode
If actdep == 1
messagebox "How much do you want to deposit?", "500", "1000", "10000"
set button to GetButtonPressed
if button == 1
set money to money + 500
player.removeitem Gold001 500
set actdep to 0
elseif button == 2
set money to money + 1000
player.removeitem Gold001 1000
set actdep to 0
elseif button == 3
set money to money + 10000
player.removeitem Gold001 10000
set actdep to 0
endif
endif
if actwith == 1
messagebox "How much do you want to withdraw?", "500", "1000", "10000"
set button to GetButtonPressed
if button == 1
set money to money - 500
player.additem Gold001 500
set actwith to 0
elseif button == 2
set money to money - 1000
player.additem Gold001 1000
set actwith to 0
elseif button == 3
set money to money - 10000
player.additem Gold001 10000
set actwith to 0
endif
endif
if actshow == 1
messagebox "You have deposited %"money" septims"
endif
End