April 1, 201510 yr can somebody help me with the tabs API? how can i open the magic tab? also when it opens the magic tab i want it to teleport to edgeville any code help would be appreciated Edited April 1, 201510 yr by frostbitee
April 1, 201510 yr can somebody help me with the tabs API? how can i open the magic tab? also when it opens the magic tab i want it to teleport to edgeville any code help would be appreciated I do it by getting the interface id of the magic book on the tool bar, then the interface id of the spell I want it to click.
April 1, 201510 yr Author I do it by getting the interface id of the magic book on the tool bar, then the interface id of the spell I want it to click. can you give me a small code snippet?
April 1, 201510 yr can you give me a small code snippet? RS2Widget mage = widgets.get(548, 61);//this is the spell book if (mage != null && mage.isVisible())//checks to make sure its actually on your screen mage.interact("Magic");//clicks on the spell book sleep(random(500, 1000)); RS2Widget cast = widgets.get(218, 1);//this is teleport to lumbridge if (cast != null && cast.isVisible())//makes sure teleport to lumbridge is a visible option cast.interact("Cast");//cast teleport to lumbridge. sleep(15000);
April 1, 201510 yr Author RS2Widget mage = widgets.get(548, 61);//this is the spell book if (mage != null && mage.isVisible())//checks to make sure its actually on your screen mage.interact("Magic");//clicks on the spell book sleep(random(500, 1000)); RS2Widget cast = widgets.get(218, 1);//this is teleport to lumbridge if (cast != null && cast.isVisible())//makes sure teleport to lumbridge is a visible option cast.interact("Cast");//cast teleport to lumbridge. sleep(15000); you're the best man ty
Create an account or sign in to comment