How can I make a simple procedure to click on the “superheat item” in the normal spell book and click again on slot 19 in inventory and repeat 17 times?
Printable View
How can I make a simple procedure to click on the “superheat item” in the normal spell book and click again on slot 19 in inventory and repeat 17 times?
For the superheat spell, you could make a DTM.
To switch to the magic spellbook you could use
Simba Code:Gametab(tab_Magic);
To click on the inventory slot 18, you could do
Simba Code:InvBox(19);
ClickMouse2(true);
To repeat 17 time, you could use a for loop
Simba Code:for i:= 0 to 17 do
begin
ClickOnSuperheat;
ClickOnOre;
// Then antiban or something else you want to do
end;
Note that those are just suggestion, there is more than one way to achieve the same result
Don't use Clickmouse.
Use
(1,2,3, only use one. 1 for right click, 2 for left click, 3 for hover over it without clicking)Simba Code:InvMouse(18,(1,2,3)
There is nothing wrong with Clickmouse as long as the mouse was randomised before using it.
The problem is that people use it without using randomisation and make very bot-like script.
I mean, even Flight do it because he find himself in the same problem as me: one of his function move the mouse to a spot (which has already been randomised). Then he need to click the mouse.
If you do Mouse(x, y, 0, 0, true), the mouse would move to x, y, but you don't want that because you are already at the spot you want to click. You could return the mouse position, or do a getmousepos, but why do all this when all you want to do is click at the same damn spot where the mouse is?
It's botty/waste of space.
Just use mouse(x,x,0,0,True)
Or for that purpose, InvMouse, which is much smaller, and easier.