Log in

View Full Version : MouseBox(x1, y1, x2, y2: Integer; ClickType: Integer);



KeepBotting
05-17-2012, 11:07 PM
Hey guys, quickly here.... what do I put for the last two params in MouseBox(x1, y1, x2, y2: Integer; ClickType: Integer); if I just want to move inside the box and left click?

CephaXz
05-17-2012, 11:09 PM
try typing mouse, then press ctrl + space. You will see 3 options for mouse. move, left, right.

So it will be MouseBox(x1, y1, x2, y2, mouse_Left);

KeepBotting
05-17-2012, 11:11 PM
try typing mouse, then press ctrl + space. You will see 3 options for mouse. move, left, right.

So it will be MouseBox(x1, y1, x2, y2, mouse_Left);
Aha, thanks. the other Integer; before ClickType; confused me.

Brandon
05-17-2012, 11:11 PM
MouseTBox(Box, 3);

1 to click left
2 to click right
3 to move.

MouseBox I believe is the same parameters except x1, y1, x2, y2 which is the corners of the box.

KeepBotting
05-17-2012, 11:13 PM
MouseTBox(Box, 3);

1 to click left
2 to click right
3 to move.

MouseBox I believe is the same parameters except x1, y1, x2, y2 which is the corners of the box.The diagonal corners or all four corners? I never really understood that, since one point has two values, an x and a y.

CephaXz
05-17-2012, 11:14 PM
Top left corner as x1, y1, bottom right corner as x2, y2.
And that create a box.

KeepBotting
05-17-2012, 11:15 PM
Top left corner as x1, y1, bottom right corner as x2, y2.
And that create a box.Good, that's what I did.
Thanks a bunch guys. This is for my kbRunespan script :3

CephaXz
05-17-2012, 11:17 PM
Good, that's what I did.
Thanks a bunch guys. This is for my kbRunespan script :3

Good luck scripting :)

KeepBotting
05-17-2012, 11:17 PM
Good luck scripting :)
Thanks, same to you.