qwee 0 Report post Posted April 25, 2009 Hey!Going for a new bot, 100% coded. Wont copy-paste this time!What I need is: (A picture says more then 1000 words)If Character=5 then the bot gonna use 513,142 as coords for mouseclick. If Character=1 then the bot gonna use 251,317 as coords for mouseclick.That's all for now, making a new thread with more questions when I'm gettin' started with this bot!Thanks in advance Share this post Link to post Share on other sites
Jos 1,290 Report post Posted April 25, 2009 (edited) Hey!Going for a new bot, 100% coded. Wont copy-paste this time!What I need is: (A picture says more then 1000 words)If Character=5 then the bot gonna use 513,142 as coords for mouseclick. If Character=1 then the bot gonna use 251,317 as coords for mouseclick.That's all for now, making a new thread with more questions when I'm gettin' started with this bot!Thanks in advance Start coding and come back when you have AutoIt3 questions.Oh... and no rush.. we have all the time in the world.Jos Edited April 25, 2009 by Jos Visit the SciTE4AutoIt3 Download page for the latest versions - Beta files How to post scriptsource Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
qwee 0 Report post Posted April 25, 2009 Start coding and come back when you have AutoIt3 questions.Oh... and no rush.. we have all the time in the world.JosIt's a AutoIt3 question... Share this post Link to post Share on other sites
Jos 1,290 Report post Posted April 25, 2009 (edited) No it is not: It is a "code me a script" question, not "help me with a problem I have with my script" question. and especially the part where you state "Need help asap!" is ridiculous. Edited April 25, 2009 by Jos Visit the SciTE4AutoIt3 Download page for the latest versions - Beta files How to post scriptsource Forum Rules Live for the present, Dream of the future, Learn from the past. Share this post Link to post Share on other sites
Qousio 0 Report post Posted April 25, 2009 It's a AutoIt3 question... Seriously did you ever read the helpfile? Did you search? These questions are so... so.... simple, you could even guess how you should do it without learning the autoit syntax. Anyway what you need is: Use "IniRead" to read the ini. Use String commands to trim the "Character=" part Use If $Array=1 then ControlClick ( "title", "text", controlID [, button [, clicks [, 251 [, 317 ]]]] ) EndIf if $Array=5 Then ControlClick ( "title", "text", controlID [, button [, clicks [, 513 [, 142 ]]]] ) EndIf Obviously $Array = Your String command used Share this post Link to post Share on other sites