Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • Change Combat Style of staff to Auto spell


    Recommended Posts

    It's In the title but i'm working on a script but when I equip the Staff of air I need to change the combat style to Auto the Fire-Strike spell, something about widgets is what came up when I researched it but I didn't clearly understand so can someone help me out please and possibly paste me some code and explain?

    Link to comment
    Share on other sites

    You use widgets.

    If you don't know how to use widgets, you should learn. They're rather useful.

    getWidgets() is the main API class, which you'll generally only really probably use getWidgets().getWidgetChild(int...ids)
    go to tools->debugging->game debugger

    this will open a new window, go to widgets->refresh
    Now try to find your widget. You can search for text or actions to get close to what you're looking for (usually)

    You can also use the widget hover tool, but tbh I usually find it easier to just search.

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.