Results 1 to 2 of 2
  1. #1
    dg123's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Posts
    552
    Reputation
    10
    Thanks
    264
    My Mood
    Bored

    help with a little script

    so...making a new hp autoloot and i was wondering if anyone could make it so it always checks/picks up the hp pot without any activation key...
    Code:
    RButton::
    MouseGetPos, mousePosX, mousePosY
    WinGetPos, , , winSizeX, winSizeY, A
    ImageSearch, imageLocX, imageLocY, 0, 0, %winSizeX%, %winSizeY%, pic\hppot.png
    Click %imageLocX%, %imageLocY%, 2
    MouseMove %mousePosX%, %mousePosY%
    Return
    If anyone can get this working i will release a full autoloot script
    Last edited by dg123; 07-20-2013 at 06:36 PM.

  2. #2
    krazyshank's Avatar
    Join Date
    Jan 2012
    Gender
    male
    Location
    RealmStock
    Posts
    2,589
    Reputation
    467
    Thanks
    16,666
    My Mood
    Angelic
    Never used ahk before, but couldn't you just create a loop for the img search and if img coords != null (or 0), the run the mouse click part.

    Accepting PayPal - Bitcoin - Giftcards - Items:

    Find it here: MPGH Sales Thread

  3. The Following User Says Thank You to krazyshank For This Useful Post:

    dg123 (07-27-2013)

Similar Threads

  1. [Help Request] Help with an ahk script
    By dg123 in forum Realm of the Mad God Help & Requests
    Replies: 6
    Last Post: 07-14-2013, 05:39 PM
  2. [Help Request] Help with Rapid Fire Scripts?
    By uanaka in forum Call of Duty Modern Warfare 3 Help
    Replies: 5
    Last Post: 08-25-2012, 10:52 AM
  3. Need A little help with Scripting, bot
    By kagome in forum Vindictus Help
    Replies: 4
    Last Post: 07-23-2011, 08:23 AM
  4. [Solved] Need help with an AHK script
    By Arrowins in forum Call of Duty Modern Warfare 2 Help
    Replies: 1
    Last Post: 06-26-2011, 10:45 PM
  5. help with writing a script to an aimbot
    By Grim in forum Combat Arms Hacks & Cheats
    Replies: 9
    Last Post: 08-18-2009, 10:05 PM