Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 10:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



smal script help

Discussion on smal script help within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2006
Posts: 19
Received Thanks: 2
smal script help

how can i add endless loop to my function ?
Code:
HotKeySet("{F10}", "first")
HotKeySet("{F8}", "ExitScript")

While 1
	Sleep(100)
WEnd

Func first()
Send("SPACE DOWN")
Sleep(160)
Send("SPACE UP")
EndFunc

Func ExitScript()
    Exit
EndFunc
im new in autoit so if someone can write it with the loop included thnx in advance
i practicly want a script that preses space with a same sleep time untill i press the exit button

Code:
Global $Should_i_Run = False;this line ($Should_i_Run is just example name that you can change to anything else if needed)
HotKeySet("{F10}", "Toggle");this line
HotKeySet("{F8}", "ExitScript")


While 1
    Sleep(1)
WEnd

Func Toggle();and this func
    $Should_i_Run = Not $Should_i_Run
    While $Should_i_Run
        Send("{SPACE DOWN}")
        Sleep(160)
        Send("{SPACE UP}")
		Sleep(160)
    WEnd
EndFunc   ;==>TurnOn

Func ExitScript()
    Exit (0)
 EndFunc   ;==>ExitScript
thnx for nothing i solved it myself
piku is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Hey - A smal question.
08/20/2009 - Silkroad Online - 1 Replies
First of all hello to everyone. I wanna know if there's any private server working except ecsro . Does sjsro still work? Can anyone post some links where I can get a working pserver to play on. PS: I've used search button and couldn't find anything regarding this matter so don't spam saying use search or w/e. If you can help me post a link , give me some info , if you don't , simply don't post and keep your shit for yourself. Regards.
[LOTF] SMAL QUESTION
05/19/2009 - CO2 Private Server - 7 Replies
I would like to know what the best LOTF source to use I'm using this http://www.elitepvpers.com/forum/co2-pserver-discu ssions-questions/202558-tiny-release-loft-source-f ixed-added.html I like this but I wanted to know if you have a better I know the LOTF most complete source that someone can pass me
Smal problem about TQ
04/11/2009 - CO2 Private Server - 0 Replies
when i wrote /awarditem 410339 for buried blade its came but its just super not to+12 with 2sdg so how can i get +12 2 sockets items
a smal basic scam ^^
06/02/2008 - CO2 Exploits, Hacks & Tools - 2 Replies
ok i just got 4 ppl with this scam today and i wana share it with yall ^^ req: 120+ acc with full data and nothing on them go find some random ppl (mostly bulkers) who dont know so much about the game and have good gear. go chat a little bit with them and after a while say that you are quitting the game and are giving your gear away of your acc you use for the scam. say that he must be quick and go to the market to join in the drop party you make up. once hes there say he just...
big boos,smal monsters
01/02/2007 - Eudemons Online - 11 Replies
can some one make a new hack for big boss and smal monsters??



All times are GMT +1. The time now is 10:17.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.