Jump to content

serg Rambo

VIP
  • Posts

    656
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by serg Rambo

  1. So I was interested in AHK-scripts and started with watching a tutorial on YT about it. Made my own gmaul to whack script, any thoughts or improvements are welcome.

    Quote

    gmaul() {

    MouseGetPos, xpos, ypos ; Get mouse position
    ;Random Variable Declarations

        random, x1, 573, 593
        random, y1, 424, 446

        random, x2, 529, 559
        random, y2, 198, 226
        
        random, x3, 573, 713
        random, y3, 440, 456
        
        random, x4, 259, 320
        random, y4, 139, 228

        random, x5, 631, 658
        random, y5, 200, 226
        
        random, x6, 611, 639
        random, y6, 425, 449
        
    mousemove, x1, y1, 0
    click

    mousemove, x2, y2, 0
    click

    mousemove, x3, y3, 0
    click, 2

    mousemove, xpos, ypos, 0
        
    }


    Whackwep() {

    MouseGetPos, xpos, ypos ; Get mouse position
    ;Random Variable Declarations

        random, x4, 259, 320
        random, y4, 139, 228

        random, x5, 631, 658
        random, y5, 200, 226
        
        random, x6, 611, 639
        random, y6, 425, 449
        
    mousemove, x5, y5,0
    click

    mousemove, x6, y6, 0
    click

    mousemove, xpos, ypos, 0
    }

    1::gmaul()
    2::Whackwep()
    3::reload
    4::exitapp
        

     

×
×
  • Create New...