SRL Archive - Help

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


KeepBotting

2012-05-17 19:07:28

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

2012-05-17 19:09:30

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

2012-05-17 19:11:21

From: CephaXz
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

2012-05-17 19:11:27

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

2012-05-17 19:13:31

From: Brandon
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

2012-05-17 19:14:39

Top left corner as x1, y1, bottom right corner as x2, y2.
And that create a box.

KeepBotting

2012-05-17 19:15:58

From: CephaXz
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

2012-05-17 19:17:33

From: KeepBotting
Good, that's what I did.
Thanks a bunch guys. This is for my kbRunespan script :3


Good luck scripting :)

KeepBotting

2012-05-17 19:17:53

From: CephaXz
Good luck scripting :)

Thanks, same to you.