BloodyNoah Posted August 21, 2021 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
FuryShark Posted August 21, 2021 Posted August 21, 2021 https://osbot.org/api/org/osbot/rs07/api/Bank.html#open--
BloodyNoah Posted August 21, 2021 Author 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
memelord123 Posted August 21, 2021 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
minewarriors Posted August 22, 2021 Posted August 22, 2021 I think @BigCahunaBurgerand @memelord123gave you some great answers mate. 1 1
BloodyNoah Posted August 22, 2021 Author Posted August 22, 2021 Thanks to everyone who helped me, I am actually learning java but I begon to make some scripts 1