Botre Posted April 4, 2015 Posted April 4, 2015 (edited) In case your bank interaction misclicks ^^ //close collectionbox (by Botre) RS2Widget collectionBox = getWidgets().get(402, 2, 11); if (collectionBox != null && collectionBox.isVisible()) { collectionBox.interact("Close"); } And this one by @Novak //close noticeboard (by Novak) RS2Widget noticeBoard = script.getWidgets().get(220, 16); if(noticeBoard != null && noticeBoard.isVisible()) { noticeBoard.interact("Close"); } Edited April 19, 2015 by Botre 1
Botre Posted April 5, 2015 Author Posted April 5, 2015 It worked! Thank you so much! You're very welcome
Novak Posted April 18, 2015 Posted April 18, 2015 just to add to this, i notice sometimes if the camera is just right it will open the notice boards that some banks have too. use this to close: //close noticeboard RS2Widget noticeBoard = script.getWidgets().get(220, 16); if(noticeBoard != null && noticeBoard.isVisible()) { noticeBoard.interact("Close"); } 2
Botre Posted April 19, 2015 Author Posted April 19, 2015 just to add to this, i notice sometimes if the camera is just right it will open the notice boards that some banks have too. use this to close: //close noticeboard RS2Widget noticeBoard = script.getWidgets().get(220, 16); if(noticeBoard != null && noticeBoard.isVisible()) { noticeBoard.interact("Close"); } Yeah, noticed this happens a lot in the fally east bank. Added to OP 1