AAchrome 0 Posted July 21, 2010 Ive been using AutoIt for a couple of days now and im trying to make a bot for a game but i keep getting these errors...Could someone please tell me what im doing wrong? thanks in advance... ----------------------------------------------------------------------------------------------------------------- $coor = PixelSearch( 283, 680, 1076, 677, 0xFFFF9A [, 0, 2 ) While @error = 0 WinWaitActive ("Game"); While 1=1 $i = 0 While $i < 30 Send ("{1}") Sleep (500) Send ("{1}") Sleep (2000) Send ("{1}") $i = $i + 1 WEnd $i = 0 While $i < 30 Send ("{1}") Sleep (500) Send ("{1}") Sleep (2000) Send ("{1}") $i = $i + 1 WEnd Send ("{3}") $coor = PixelSearch( 284, 75, 1074, 607, 0xFFFF9A [, 0, 2 ) WEnd ----------------------------------------------------------------------------------------------------------------------------- C:\Users\----\-----\Scripts\Gaming bot.au3(1,52) : ERROR: syntax error $coor = PixelSearch( 283, 680, 1076, 677, 0xFFFF9A [ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Users\----\-----\Scripts\Gaming bot.au3(24,51) : ERROR: syntax error $coor = PixelSearch( 284, 75, 1074, 607, 0xFFFF9A [ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ C:\Users\------\------\Scripts\Gaming bot.au3(28,1) : ERROR: missing Wend. ^ C:\Users\-----\------\Scripts\Gaming bot.au3(2,1) : REF: missing Wend. While ^ C:\Users\-----\-----\Scripts\Gaming bot.au3 - 3 error(s), 0 warning(s) Share this post Link to post Share on other sites
enaiman 16 Posted July 21, 2010 Cant figure this out, Sorry im a noob Yes you are.Next time read announcements before posting such content.Game Bots SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example scriptwannabe "Unbeatable" Tic-Tac-ToePaper-Scissor-Rock ... try to beat it anyway :) Share this post Link to post Share on other sites