Results 1 to 9 of 9

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

  1. #1
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

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

    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?
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  2. #2
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    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);

  3. #3
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by CephaXz View Post
    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.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  4. #4
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    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.
    I am Ggzz..
    Hackintosher

  5. #5
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    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.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  6. #6
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

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

  7. #7
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by CephaXz View Post
    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
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

  8. #8
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by KeepBotting View Post
    Good, that's what I did.
    Thanks a bunch guys. This is for my kbRunespan script :3
    Good luck scripting

  9. #9
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by CephaXz View Post
    Good luck scripting
    Thanks, same to you.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Bad™ before everyone gets laser pistols

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •