Ok I had a script from version 2.0 that looked like this and it worked fine. But... (Continued down past code)
return
GoSub, craft1
GoSub, craft2
GoSub, craft3
GoSub, craft1
GoSub, craft2
GoSub, craft3
Send, /sit{ENTER}
GoSub, craft1
GoSub, craft2
GoSub, craft3
GoSub, craft1
GoSub, craft2
GoSub, craft3
Send, /stand{ENTER}
craft1:
LeftClick,322,51;Craft Tool #1
Sleep, 3000
LeftClick,345,315;Tissues Tab
Sleep, 3000
LeftClick,215, 495;Micronutrient Supplement
Send, {ENTER}
Sleep, 5000
LeftClick,230, 205;Berries
LeftClick,230, 205;Berries
LeftClick,230, 205;Berries
LeftClick,230, 205;Berries
Sleep, 5000
LeftClick,275, 205;Meat
LeftClick,275, 205;Meat
LeftClick,275, 205;Meat
LeftClick,275, 205;Meat
Sleep, 5000
Send, {ENTER}
Sleep, 2500
Send, {ENTER}
Sleep, 3500
Send, {ENTER}
Sleep, 3500
Send, {ENTER}
Sleep, 3500
Send, {ENTER}
Sleep, 5000
return
craft2:
LeftClick,355, 51;Craft Tool #1
Sleep, 3000
LeftClick,345,315;Tissues Tab
Sleep, 3000
LeftClick,215, 495;Micronutrient Supplement
Send, {ENTER}
Sleep, 5000
LeftClick,230, 205;Berries
LeftClick,230, 205;Berries
LeftClick,230, 205;Berries
LeftClick,230, 205;Berries
Sleep, 5000
LeftClick,275, 205;Meat
LeftClick,275, 205;Meat
LeftClick,275, 205;Meat
LeftClick,275, 205;Meat
Sleep, 5000
Send, {ENTER}
Sleep, 2500
Send, {ENTER}
Sleep, 3500
Send, {ENTER}
Sleep, 3500
Send, {ENTER}
Sleep, 3500
Send, {ENTER}
Sleep, 5000
return
craft3:
LeftClick,385, 51;Craft Tool #1
Sleep, 3000
LeftClick,345,315;Tissues Tab
Sleep, 3000
LeftClick,215, 495;Micronutrient Supplement
Send, {ENTER}
Sleep, 5000
LeftClick,230, 205;Berries
LeftClick,230, 205;Berries
LeftClick,230, 205;Berries
LeftClick,230, 205;Berries
Sleep, 5000
LeftClick,275, 205;Meat
LeftClick,275, 205;Meat
LeftClick,275, 205;Meat
LeftClick,275, 205;Meat
Sleep, 5000
Send, {ENTER}
Sleep, 2500
Send, {ENTER}
Sleep, 3500
Send, {ENTER}
Sleep, 3500
Send, {ENTER}
Sleep, 3500
Send, {ENTER}
Sleep, 5000
return
But it was having repeating errors and after so many loops itd just close out and then I noticed V3 had an ability to repeat easily so I downloaded it and used the "Script Converter" and then typed WinActivate("SwgClient")
while 1
sleep( 3000) <---At the top
sleep( 3000) <---at the Bottom
wend
And now it says there is no matching Wend for While 1 whenever I try and open the script for testing. The script looks like this\/(Down). Could someone kindly tell me how I could fix it And/Or fix the AutoItV2 script so that it loops enough that I could go to school and comeback with it still looping? That would be awesome! By the way.. Im still learning!:-) I got this script from a forum and I learned the coordinates but I'm still learning the "How To" about things in "Auto-It"
Aim:LonelyRaven000 Email LonelyRaven0000@yahoo.com
WinActivate("SwgClient")
while 1
sleep( 3000)
craft1 ( )
craft2 ( )
craft3 ( )
craft1 ( )
craft2 ( )
craft3 ( )
Send ( '/sit{ENTER}' )
craft1 ( )
craft2 ( )
craft3 ( )
craft1 ( )
craft2 ( )
craft3 ( )
Send ( '/stand{ENTER}' )
Func craft1 ( )
MouseClick( "left", 322, '51;Craft Tool #1' )
Sleep ( 3000 )
MouseClick( "left", 345, '315;Tissues Tab' )
Sleep ( 3000 )
MouseClick( "left", 215, '495;Micronutrient Supplement' )
Send ( '{ENTER}' )
Sleep ( 5000 )
MouseClick( "left", 230, '205;Berries' )
MouseClick( "left", 230, '205;Berries' )
MouseClick( "left", 230, '205;Berries' )
MouseClick( "left", 230, '205;Berries' )
Sleep ( 5000 )
MouseClick( "left", 275, '205;Meat' )
MouseClick( "left", 275, '205;Meat' )
MouseClick( "left", 275, '205;Meat' )
MouseClick( "left", 275, '205;Meat' )
Sleep ( 5000 )
Send ( '{ENTER}' )
Sleep ( 2500 )
Send ( '{ENTER}' )
Sleep ( 3500 )
Send ( '{ENTER}' )
Sleep ( 3500 )
Send ( '{ENTER}' )
Sleep ( 3500 )
Send ( '{ENTER}' )
Sleep ( 5000 )
Return
EndFunc ; craft1
Func craft2 ( )
MouseClick( "left", 355, '51;Craft Tool #1' )
Sleep ( 3000 )
MouseClick( "left", 345, '315;Tissues Tab' )
Sleep ( 3000 )
MouseClick( "left", 215, '495;Micronutrient Supplement' )
Send ( '{ENTER}' )
Sleep ( 5000 )
MouseClick( "left", 230, '205;Berries' )
MouseClick( "left", 230, '205;Berries' )
MouseClick( "left", 230, '205;Berries' )
MouseClick( "left", 230, '205;Berries' )
Sleep ( 5000 )
MouseClick( "left", 275, '205;Meat' )
MouseClick( "left", 275, '205;Meat' )
MouseClick( "left", 275, '205;Meat' )
MouseClick( "left", 275, '205;Meat' )
Sleep ( 5000 )
Send ( '{ENTER}' )
Sleep ( 2500 )
Send ( '{ENTER}' )
Sleep ( 3500 )
Send ( '{ENTER}' )
Sleep ( 3500 )
Send ( '{ENTER}' )
Sleep ( 3500 )
Send ( '{ENTER}' )
Sleep ( 5000 )
Return
EndFunc ; craft2
Func craft3 ( )
MouseClick( "left", 385, '51;Craft Tool #1' )
Sleep ( 3000 )
MouseClick( "left", 345, '315;Tissues Tab' )
Sleep ( 3000 )
MouseClick( "left", 215, '495;Micronutrient Supplement' )
Send ( '{ENTER}' )
Sleep ( 5000 )
MouseClick( "left", 230, '205;Berries' )
MouseClick( "left", 230, '205;Berries' )
MouseClick( "left", 230, '205;Berries' )
MouseClick( "left", 230, '205;Berries' )
Sleep ( 5000 )
MouseClick( "left", 275, '205;Meat' )
MouseClick( "left", 275, '205;Meat' )
MouseClick( "left", 275, '205;Meat' )
MouseClick( "left", 275, '205;Meat' )
Sleep ( 5000 )
Send ( '{ENTER}' )
Sleep ( 2500 )
Send ( '{ENTER}' )
Sleep ( 3500 )
Send ( '{ENTER}' )
Sleep ( 3500 )
Send ( '{ENTER}' )
Sleep ( 3500 )
Send ( '{ENTER}' )
Sleep ( 5000 )
Return
EndFunc ; craft3
Sleep( 3000)
wend
PLEASE HELP!