BloodyNoah Posted August 21, 2021 Share Posted August 21, 2021 Hey I tried some methods but I have no idea how I get a script to open a bank. Thank you for your answer 1 Quote Link to comment Share on other sites More sharing options...
FuryShark Posted August 21, 2021 Share Posted August 21, 2021 https://osbot.org/api/org/osbot/rs07/api/Bank.html#open-- Quote Link to comment Share on other sites More sharing options...
BloodyNoah Posted August 21, 2021 Author Share Posted August 21, 2021 5 minutes ago, FuryShark said: https://osbot.org/api/org/osbot/rs07/api/Bank.html#open-- I read that and I didnt understand anything, but thanks Would be nice to have a example or something like that 1 Quote Link to comment Share on other sites More sharing options...
memelord123 Posted August 21, 2021 Share Posted August 21, 2021 if (getBank() != null) { if (!getBank().isOpen()) { if (getBank().open()) { //sleep until bank open } } //deposit or withdraw, etc. } If you didn't understand anything after reading API you are going to struggle writing any script. Keep at it though, a basic understanding of java should suffice to make working scripts, the more Java/OOP you know the easier it will be. 1 Quote Link to comment Share on other sites More sharing options...
Ricky Dactyl Posted August 21, 2021 Share Posted August 21, 2021 bank.open() 1 Quote Link to comment Share on other sites More sharing options...
minewarriors Posted August 22, 2021 Share Posted August 22, 2021 I think @BigCahunaBurgerand @memelord123gave you some great answers mate. 1 1 Quote Link to comment Share on other sites More sharing options...
BloodyNoah Posted August 22, 2021 Author Share Posted August 22, 2021 Thanks to everyone who helped me, I am actually learning java but I begon to make some scripts 1 Quote Link to comment Share on other sites More sharing options...