Chowy6 0 Share Posted December 19, 2020 I get this error for only one of the 3 things that my script returns. Any help for this? I followed the tutorial here and updated the code: https://dreambot.org/forums/index.php?/topic/628-scripting-tutorial-in-depth-no-prior-knowledge-needed-where-to-get-started-by-apaec/#comments EDIT: Resolved. Link to comment Share on other sites More sharing options...
Pandemic 2675 Share Posted December 19, 2020 You have a ';' after the if statement a few lines above, so no matter what it's returning State.DROP and anything after that line isn't being reached. Link to comment Share on other sites More sharing options...
Chowy6 0 Author Share Posted December 20, 2020 On 12/18/2020 at 7:13 PM, Pandemic said: You have a ';' after the if statement a few lines above, so no matter what it's returning State.DROP and anything after that line isn't being reached. OMG thank you so much! I put curly brackets instead and it's working flawlessly Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.