SRL Archive - OSR Help

Newb scripter need help with a banking script


drizzt46227

2012-07-25 23:41:02

im working on my first script ever and i cant figure out how to add banking into the script. idk if im blind iv looked on google numerous times and i cant find anything. once again i might be blind lol. but if someone could please help me with this it would be very much appreciated.

thanks guys

Caotom

2012-07-26 02:06:01

First off, where are you trying to bank and are you withdrawing, depositin or both?
You could start with opening the bank usin openbanknpc or openbankchest and deposit with deposit all and withdraw with withdrawitem.
These could get you started but if yo gave more detail I can give you an actual example.

~Caotom

putonajonny

2012-07-26 05:21:19

Look at the OpenBank, Deposit, DepositAll, Withdraw or WithdrawEx, and CloseBank functions, they will come in useful…

fre

2012-07-26 06:01:09

Look at the functions in bank.simba in the core folder in the srl folder in the include folder of the simba folder.

Lots of folders eh :p

Simba>includes>srl>srl>core>bank.simba