NateF Posted September 29, 2013 Share Posted September 29, 2013 (edited) Hello everyone, I am still in the process of learning how to script my own GUIs. Koda has been a big help, I have been messing around with it, learning little bits at a time. However, I have encountered an error that I can not seem to get around. The current GUI I am working on is a simple tool to change bot settings for a game. This gui should have 5 buttons for difficulty setting, and a list of check boxes for the number of bots. BUT, when I select a difficulty level, bot number, and hit save I get this error: 'Variable used without being declared' The error is occuring on this line (save button at the end): FileWriteLine($file2, "aiSettings.setMaxNBots " & $botnum) I have obviously overlooked something, hopefully it is an easy fix. Does anybody see what might be causing this error? -snip- Thanks in advance. Edited September 29, 2013 by Jos Link to comment Share on other sites More sharing options...
water Posted September 29, 2013 Share Posted September 29, 2013 Welcome to AutoIt and the forum! Please read the forum rules (a link can be found in the bottom right corner of each page). Especially the part about game automation. This isn't allowed here so you won't get any help with your problem. Hope to see you soon with a legitimate question! My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
NateF Posted September 29, 2013 Author Share Posted September 29, 2013 Welcome to AutoIt and the forum! Please read the forum rules (a link can be found in the bottom right corner of each page). Especially the part about game automation. This isn't allowed here so you won't get any help with your problem. Hope to see you soon with a legitimate question! Alas, I jumped the gun. Apologies, I did not mean to break the rules.. Link to comment Share on other sites More sharing options...
Recommended Posts