I let my script click 2 items and then this menu appears: http://runescape.wikia.com/wiki/Make-X.
The difference being that it says Add Feather instead of Craft.
I've tried:
WaitOption('eather', 1000);
ChooseOption('eather');
but it doesn't work.
I let my script click 2 items and then this menu appears: http://runescape.wikia.com/wiki/Make-X.
The difference being that it says Add Feather instead of Craft.
I've tried:
WaitOption('eather', 1000);
ChooseOption('eather');
but it doesn't work.
That is because the font of the button is not recognised. Only UpText, chat box text, right click options etc. are recognised. The easiest thing for you to do here would be to make a MouseBox of the button.
A MouseBox procedure will click anywhere (randomly) within the bounds of the box, which is great for buttons!
The parameters of the MouseBox procedure are:
Simba Code:MouseBox(x1, y1, x2, y2: Integer; ClickType: Integer);
X1 and Y1 are the top left coordinates of the button, and the X2, Y2 are the bottom right coordinates of the button. The ClickType is either 0 (right click) or 1 (left click).
So, an example MouseBox which left clicks a button will look like this:
Simba Code:MouseBox(258, 301, 485, 325, 1);
It's pretty easy, scroll down a little until you get to the coordinates section of this tutorial.
(I think the coordinates I gave you in the example might be for that "Craft" button anyway)
There are currently 1 users browsing this thread. (0 members and 1 guests)