Need a realllllly simple script for AUTO IT! menu

User Tag List

Results 1 to 4 of 4
  1. #1
    unfunkable's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need a realllllly simple script for AUTO IT!

    Hi Guys
    I just need a realllllly script for AUTO IT.
    Basically i just want my character to run left and right, left right....to stop afk kicking me...
    Even the basic words, and I can muck around with pixel co ords


    thanks

    Need a realllllly simple script for AUTO IT!
  2. #2
    j0achim's Avatar Active Member
    Reputation
    20
    Join Date
    Jan 2010
    Posts
    95
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here you go a script for you and the ownedcore community written in 2 minutes.

    Start script position mouse where ever you want and it will click at a random position on screen relatively to where you leave mouse when you start the script. If you want to adjust it increase or decrease the $offset value.

    Random sleep timer from 10 seconds to 500 seconds to make click happen at random times.

    Start the anti afk feature by pressing r on your keyboard.
    Exit the script by pressing x on your keyboard.


    PHP Code:
    ;---------------------------------------------
    ; Function:
    ;    
    Anti AFK.
    ;
    Author j0achim www.ownedcore.com
    Date06/06/2012
    ;---------------------------------------------

    HotKeySet("r","running")
    HotKeySet("x","close")

    Global 
    $offset 10
    Global $mpos MouseGetPos()
    Global 
    $r 0

    While 1
        
    While $r 1
            
    ;Click mouse at a random location on screenbased on where you leave mouse.
            
    MouseClick("Left",Random($mpos[0]-$offset,$mpos[0]+$offset),Random($mpos[1]-$offset,$mpos[1]+$offset),1,10)
            ;
    Sleep for a random time10 seconds to 300 seconds.
            
    Sleep(Random(10000,300000))
        
    WEnd
        Sleep
    (100)
    WEnd

    Func running
    ()
        If 
    $r 0 Then
            $r 
    1
        
    Else
            
    $r 0
        
    EndIf
        
    $mpos MouseGetPos()
    EndFunc

    Func close
    ()
        Exit
    EndFunc 
    Last edited by j0achim; 06-06-2012 at 06:25 AM.

  3. #3
    unfunkable's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey
    thanks for the very fast reply, and help.
    sorry, ill try to make it more clear, i need the hero to run left and right in a certain spot
    i have the co ordinates i need to click between:
    870,514
    1011,624

    I tried
    HotKeySet("{END}", "close") ;Ends script.

    MouseClick ( "left" [, 870, 514 , 1 , 1 )
    MouseClick ( "left" [, 1011, 624 , 1 , 1 )

    obviously there is something wrong LOL...i have zero programming skills...as you can see

  4. #4
    cembry90's Avatar Member
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by unfunkable View Post
    hey
    thanks for the very fast reply, and help.
    sorry, ill try to make it more clear, i need the hero to run left and right in a certain spot
    i have the co ordinates i need to click between:
    870,514
    1011,624

    I tried
    HotKeySet("{END}", "close") ;Ends script.

    MouseClick ( "left" [, 870, 514 , 1 , 1 )
    MouseClick ( "left" [, 1011, 624 , 1 , 1 )

    obviously there is something wrong LOL...i have zero programming skills...as you can see
    MouseClick ( "left" , 870, 514 , 1 , 1 )
    MouseClick ( "left" , 1011, 624 , 1 , 1 )



    Fixed. You had "[" in it, which is suggestive of an array (when you didn't need it).

Similar Threads

  1. Looking for simple auto it script for paragon leveling.
    By discostews in forum Diablo 3 General
    Replies: 2
    Last Post: 09-02-2012, 11:31 AM
  2. need help with .ahk script for showing users input text
    By lovemymuffin in forum Programming
    Replies: 0
    Last Post: 03-21-2011, 02:11 AM
  3. Replies: 2
    Last Post: 06-01-2010, 05:29 AM
  4. Need help to test script for "Richard"
    By Pingvinen in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 07-20-2008, 03:47 AM
  5. [Me Need] Arthas Model + Scripts for a few bosses
    By Arthas117 in forum World of Warcraft Emulator Servers
    Replies: 19
    Last Post: 12-26-2007, 04:05 PM
All times are GMT -5. The time now is 03:05 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search