Dead_Man Posted August 8, 2006 Share Posted August 8, 2006 i have a script that works great, but im about to send it to a forum and everyone may not like a 30 second delay, so before the script starts i need a window to come up asking for it, anyone know how? heres the script if anyone needs a base MsgBox(0," ", "Put your curser on your weapon and press enter") $mouse = MouseGetPos() MouseClick("left") While 1 Opt("SendKeyDelay", 500) Send("/2 WTS") Send("{SHIFTDOWN}") MouseClick("left",$mouse[0],$mouse[1],1,10) Send("{SHIFTUP}") Send("{ENTER}") Sleep("30000") ;30 seconds WEnd Link to comment Share on other sites More sharing options...
evilertoaster Posted August 8, 2006 Share Posted August 8, 2006 (edited) $SleepTime=InputBox("Delay?","How many seconds should the delay be?",30) MsgBox(0," ", "Put your curser on your weapon and press enter") $mouse = MouseGetPos() MouseClick("left") While 1 Opt("SendKeyDelay", 500) Send("/2 WTS") Send("{SHIFTDOWN}") MouseClick("left",$mouse[0],$mouse[1],1,10) Send("{SHIFTUP}") Send("{ENTER}") Sleep($SleepTime*1000);whatever seconds WEnd Edited August 8, 2006 by evilertoaster Link to comment Share on other sites More sharing options...
Dead_Man Posted August 8, 2006 Author Share Posted August 8, 2006 thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now