Skip 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.

MagicTab.castSpell()

Featured Replies

When a spell is already selected, it is not smart enough to cast the spell. If a different is selected, it should select the correct spell and if the correct spell is selected, it should cast the spell; it should require it self to click on the spell.

 

Is there a hook to see what spell is selected atm?

  • Author

What does getMenu() contain when a spell is selected?

Not sure, but based on the description, I would assume it is cast. I will check it out and see if it is.

  • Author

What does getMenu() contain when a spell is selected?

Turns out that method just give you a list of what you get when you right click something, so when most spells are selected, the only action you have is "Cancel", but this doesn't happen for all spells.

Hmm... I don't think the API has any hooks for that then.

I guess you could move the mouse over the npc/item you're doing, and then check if the correct spell is chosen.

  • Author

Hmm... I don't think the API has any hooks for that then.

I guess you could move the mouse over the npc/item you're doing, and then check if the correct spell is chosen.

Yeah, I guess I will have to end up doing that. I wonder if OSBot 2 will have that hook.

 

I thought Laz or Maxi was in the process of adding that hook that you mentioned; the one where it can read the text on the top left. Not sure if it is in yet. Unless there is another way that I am unaware of atm.

Edited by BotRS123

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.