Joker Posted September 7, 2010 Share Posted September 7, 2010 (edited) Made the script just fine and so on i just cant seem to get the func i want to loop to actually loop any help would be great i also attached the script the scrip dont have any loop stuff set up in it this is just the func that i need looped Hotkeyset("{End}","TogglePause") hotkeyset("{Home}","farm") While 1 sleep(100) wend func farm() ;send code send("x") sleep(random(1000,6000)) send("{w down}") sleep(2000) send("{w up}") sleep(random(4000,8000)) send("{w down}") sleep(random(13000,15000)) send("{w up}") send("v") sleep(random(1000, 4000)) send("{space down}") sleep(1000) send("{space up}") sleep(random(1000,2500)) mouseclick("left" ,604,73,3) sleep(1000) mouseclick("left" ,584,216,1) sleep(1000) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(200) mouseclick("left" ,770,439,1) sleep(2000) mouseclick("left" ,864,438,1) sleep(1000) mouseclick("left" ,1164,281,1) sleep(2000) send("{s down}") sleep(5000) send("{s up}") sleep(random(1000,3000)) send("{q down}") sleep(random(16000,18000)) send("{q up}") sleep(random(1000,6000)) send("{w down}") sleep(random(9000,12000)) send("{w up}") sleep(random(1000,3000)) send("1") sleep(random(1200,2000)) send("2") sleep(random(500,1500)) send("c") sleep(200) send("3") sleep(random(1500,3000)) send("4") sleep(9000) send("{; down}") sleep(500) send("{; up}") send("{space down}") sleep(500) send("{space up}") sleep(500) send("{; down}") sleep(500) send("{; up}") send("{space down}") sleep(500) send("{space up}") sleep(500) send("{; down}") sleep(500) send("{; up}") send("{space down}") sleep(500) send("{space up}") sleep(500) send("{; down}") sleep(500) send("{; up}") send("{space down}") sleep(500) send("{space up}") sleep(500) send("{; down}") sleep(500) send("{; up}") send("{space down}") sleep(500) send("{space up}") sleep(500) send("{; down}") sleep(500) send("{; up}") send("{space down}") sleep(500) send("{space up}") sleep(500) send("{; down}") sleep(500) send("{; up}") send("{space down}") sleep(500) send("{space up}") sleep(500) send("{; down}") sleep(500) send("{; up}") send("{space down}") sleep(500) send("{space up}") sleep(500) send("{; down}") sleep(500) send("{; up}") send("{space down}") sleep(500) send("{space up}") sleep(500) send("{; down}") sleep(500) send("{; up}") send("{space down}") sleep(500) send("{space up}") sleep(random(500,3000)) send("/") send("resign") sleep(random(1200,3000)) send("{ENTER}") sleep(random(2000,4000)) mouseclick("left",632,527) sleep(random(2000,4000)) ;send code EndFunc Edited September 8, 2010 by Joker Link to comment Share on other sites More sharing options...
RagsRevenge Posted September 7, 2010 Share Posted September 7, 2010 You don't specify anything about the loop? Search help for "Language Reference - Loop Statements" For $i = 1 to 10 farm() Next BTW: I hope it's not a bot. D Link to comment Share on other sites More sharing options...
Joker Posted September 7, 2010 Author Share Posted September 7, 2010 ah i needed a second line with the farm uh i feel stupid now lol and no its not a bot Link to comment Share on other sites More sharing options...
Joker Posted September 7, 2010 Author Share Posted September 7, 2010 hmm where should i add this i seem to be placing it wrong wont run uhhhh man i need to freshen up on this stuff again Link to comment Share on other sites More sharing options...
Joker Posted September 7, 2010 Author Share Posted September 7, 2010 and i dont need a next function just need the one to repeat like 200 times then just be done so how do i set this up? man im sure this is all simple but im so outta touch Link to comment Share on other sites More sharing options...
MrMitchell Posted September 8, 2010 Share Posted September 8, 2010 is this for guild wars do you know how to write a proper sentence or even capital letters do you know how confusing your questions are? Sorry... Link to comment Share on other sites More sharing options...
somdcomputerguy Posted September 8, 2010 Share Posted September 8, 2010 and i dont need a next function just need the one to repeat like 200 times then just be done so how do i set this up? man im sure this is all simple but im so outta touchCould be as simple as reading this post again, and changing the 10 to 200.. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
Joker Posted September 8, 2010 Author Share Posted September 8, 2010 i realize that making the 10 to 200 is what i need to do and no this is not for guild wars and is not a bot. And i dont need correct grammer or any of that i mean i am a gamer i dont use that lol but anyway i cant get the loop to actually work so i need to know where to put the loop but thanx for the help anyway i will eventually figure it out like i said i just need to freshen up on autoit again thanks anyway guys/gals 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