Author Topic: Event Help (Need help on making a bank)  (Read 376 times)

Ok, i made a tree so that when you use it it adds wood to you, now how do i make a bank (Brick) that when you click it, you say Withdraw or Deposit, then say a number and itll store that number for you, and JUST for you, no one else. Any idea?
The variable name for wood is wood :P

Okay, heres my way.

When you sell wood, you get money.
You go to the bank variable and when you Deposit, it changes gold variable for bankedgold variable, and when you withdraw, you change bankedgold to gold.

Whenever i do it, thats how i do it.

Haha i didnt read the full post, the command would be hard to make, i know how to do it but people could glitch it badly, you use Iflastplayermessage = something like Deposit, so when they say deposit, it deposits wood/gold. and variable false could be bad incase somebody said something like "pie" it would count as Withdraw.

Impossible without transaction script.

you can use what i said, transport the variables to "bankedvariablename" to deposit, then withdraw you tnr the "bankedvariablename" to "variablename", works for me.