Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Checking To See If A Tab Is Open...

Featured Replies

I know it's this: if(!Tab.MAGIC.isOpen(RS2InterfaceChild child))

 

But what do I put in for child? I found the child interface id# but it doesnt work (54) and says it's an int. Do I have to make an interface object or something?

 

Also, I tried using openTab(Tab.MAGIC); and it didn't work even though eclipse shows no errors... any ideas?

Are you just trying to see if the tab is open or not?

 

if so,

 

 

 

if (currentTab() != Tab.MAGIC) {openTab(Tab.MAGIC)} 

Edited by linkcg0

  • Author

Well that seems simpler haha. Still trying to figure my way around this API... I'll test this thanks.

Any time. If you have any more issues post here or pm me.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.