Auto IT Script help menu

User Tag List

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

    Auto IT Script help

    Hello, I'm hoping someone can help me fix this script.
    I've been using this template for a while now and recently added a reset hotkey to it. I also inserted "numpad0" in the middle of the script to pause it midway. However I notice that when I use the reset hotkey to reset the script...it seem to pause temporarily then it keeps going. Where as before it would pause the script and would require manual un-pausing.




    Code:
    ; Press Esc to terminate script, Pause/Break to "pause"
    
    Global $Paused
    HotKeySet("{NUMPAD0}", "TogglePause")
    HotKeySet("{numpad1}", "Terminate")
    HotKeySet("{NUMPAD3}", "_main"); Restart key
    HotKeySet("+!d", "ShowMessage") ;Shift-Alt-d
    
    
    _main()
    
    Func _main()
        While 1
    
    
          Sleep(100)
    Send('{backspace}')
    Sleep(100)
    Send('{ESC}')
    Sleep(300)
    MouseMove(282, 264, 1)
    Sleep(200)
    MouseClick("left")
    Sleep(7000)
    MouseMove(308, 304, 1)
    Sleep(1000)
    MouseClick("left") ;Menu click
    Sleep(500)
    Send('{ENTER}')
    Sleep(200)
    Send('{H}')
    Sleep(1000)
    Send('{z}')
    Sleep(200)
    Sleep(450)
    MouseClick("right")
    Sleep(450)
    MouseClick("right")
    Sleep(450)
    Send('{numpad0}')
    Sleep(1000)
    MouseMove(62, 210, 1)
    Sleep(100)
    MouseClick("right")
    Sleep(400)
    MouseMove(259, 205, 1)
    Sleep(50)
    MouseClick("left")
    Sleep(500)
    Send('{w}')
    Sleep(100)
    MouseClick("right")
    Sleep(100)
    Send('{e}')
    Sleep(50)
    Send('{numpad0}')
    Sleep(50)
    
    
        WEnd
    EndFunc; _main()
    ;;;;;;;;
    
    Func TogglePause()
        $Paused = NOT $Paused
        While $Paused
            sleep(100)
            ToolTip('"Paused"',0,0)
        WEnd
        ToolTip("")
    EndFunc
    
    Func Terminate()
        Exit 0
    EndFunc
    
    Func ShowMessage()
        MsgBox(4096,"","This is a message.")
    EndFunc

    Auto IT Script help

Similar Threads

  1. Disconnection problems; Need help with Auto-reconnect script.
    By Niyat in forum Black Desert Online General
    Replies: 1
    Last Post: 06-16-2016, 06:22 PM
  2. [Help] Auto Fight Script
    By Sirect in forum World of Warcraft Bots and Programs
    Replies: 13
    Last Post: 02-05-2008, 10:26 AM
  3. World of warcraft auto login script
    By Ancathon in forum World of Warcraft Bots and Programs
    Replies: 12
    Last Post: 11-25-2007, 12:21 AM
  4. I got banned by using that, Anti AFK auto queue script or w/e
    By julian_in in forum World of Warcraft General
    Replies: 22
    Last Post: 11-03-2006, 02:30 PM
  5. I got banned by using that, Anti AFK auto queue script or w/e
    By julian_in in forum World of Warcraft Bots and Programs
    Replies: 21
    Last Post: 10-28-2006, 05:52 PM
All times are GMT -5. The time now is 06:21 AM. 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