| View previous topic :: View next topic |
| Author |
Message |
Yisurhp0
Joined: 01 Jun 2008 Posts: 1
|
Posted: Sun Jun 01, 2008 8:03 am Post subject: On and Off? |
|
|
Im making a small autoclicker program for a game and i would like to know how to turn it on and off, here is what i have so far:
| Code: | ::/click::
Loop
{
Click
Sleep 1000
} |
^ Thats simple, but effective.. as you can see it starts clicking when you type /click i would like it to stop clicking when i type /stop. Any ideas?
EDIT: I figured it out myself, now im wondering how to make it so you can pick how many milliseconds per click, like you would type /click AMMOUNT |
|
| Back to top |
|
 |
twhyman
Joined: 07 Dec 2005 Posts: 218
|
Posted: Tue Jun 03, 2008 11:28 am Post subject: |
|
|
Hi,
You create a hotkey that calls an input box and type the new sleep ms time.
Twhyman |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Tue Jun 03, 2008 6:52 pm Post subject: |
|
|
Please click on the link in my sig. It answers your question. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
|