Need a simple script menu

Shout-Out

User Tag List

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

    Need a simple script

    Hy guys, i'm not a programer so i dont have the knowledge.

    I need a "simple" AutoIT script that will press a key of my choice and auto press after a time.
    If anyone here can help me!!!

    Thx a lot!!!

    Need a simple script
  2. #2
    Huggarn's Avatar Member
    Reputation
    3
    Join Date
    Jul 2008
    Posts
    79
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    ;;===================================================================================================
    ;;	Modify your key, variable present at line 15, for keylist see 
    ;;  http://www.autoitscript.com/autoit3/docs/appendix/SendKeys.htm
    ;;  =================================================================================================
    
    HotKeySet('{END}', 'Quit')
    HotKeySet('{HOME}', 'Pause')
    
    ;;Config time to turn off 
    ;;This is experimental, use at own risk
    ;;If you want to turn it off set both vars to -1
    $Hour = -1
    $Min = -1
    
    $key = '1' ;; here you set key you want to press.
    $pressdelay = 3000 ;; modify this value to exact time you want script to wait before next click, i.e. 3000 = 3 seconds.
    
    ;; position of tooltip
    $toolX = 0
    $toolY = 0
    
    Global $Paused 
    
    ;; Run program paused
    Pause()
    
    ;;===========================================================================
    ;;			Main Sequence	
    ;;===========================================================================
    
    While 1
    	;;_WinWaitActivate("Diablo III","")
    	Sleep(100)
    	CheckTime()
    	Sleep(100)
    	PressKey()
    Wend
    ;;Pause the program
    Func Pause()
       $Paused = Not $Paused
       While $Paused
          Sleep(1000)
    	  ToolTip('Paused... Press HOME to Start. END to Exit.', $toolX, $toolY)
       WEnd
    EndFunc
    
    ;; Turn off diablo and shutdown pc
    Func Quit1()
    	ProcessClose("Diablo III.exe")
    	Run("shutdown -s -t 5")
    	Exit
    EndFunc
    
    ;; just turn off script
    Func Quit()
    	Exit
    EndFunc
    
    ;; this func is responsible for turning off PC on time you want.
     Func CheckTime()
    	If @HOUR = $Hour AND @MIN >= $Min Then
    		Quit1()
    	EndIf
     EndFunc
     
     ;; this func sends choosen key
     Func PressKey()
    	While 1
    		Send($key)
    		Sleep($pressdelay)
    		Tooltip('Clicking press HOME to pause, END to exit', $toolx, $tooly)
    	Wend
    EndFunc
    Written by non-programmer, based on autoit bots avaliable on this forum. Here you go.

  3. #3
    mariusburciu's Avatar Private
    Reputation
    1
    Join Date
    Aug 2012
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx a lot man, i own u a beer...cheers!!

  4. #4
    foreve's Avatar Private
    Reputation
    1
    Join Date
    Aug 2012
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Would this script get you banned?

  5. #5
    Rlyeh's Avatar Member
    Reputation
    1
    Join Date
    Apr 2009
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, something that spams keys for long periods of time with constant delay is very likely to get you banned.

  6. #6
    Huggarn's Avatar Member
    Reputation
    3
    Join Date
    Jul 2008
    Posts
    79
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well if you're worried you always can randomize timings

  7. #7
    discostews's Avatar Member
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is there anyone that has added randomization to the script for the key press?

  8. #8
    Huggarn's Avatar Member
    Reputation
    3
    Join Date
    Jul 2008
    Posts
    79
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    just change $pressdelay to something like that : $pressdelay = Random(10000,50000) , timing is your choice, 1 means 1 ms so 1000 is 1 second, it will choose number between those values and here you go, randomization.

Similar Threads

  1. Need a realllllly simple script for AUTO IT!
    By unfunkable in forum Diablo 3 Bots Questions & Requests
    Replies: 3
    Last Post: 06-06-2012, 07:35 AM
  2. + 2 REP, Need a simple Mysql Querie
    By mafiaboy in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 02-13-2008, 09:46 PM
  3. + 2 REP, Need another simple Querie
    By mafiaboy in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 01-06-2008, 07:01 PM
  4. [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
  5. i need help with script, im a noob
    By orangegold in forum WoW UI, Macros and Talent Specs
    Replies: 2
    Last Post: 10-27-2007, 05:47 PM
All times are GMT -5. The time now is 08:23 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search