Chowy6 0 Share Posted December 19, 2020 (edited) 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. Edited January 12, 2021 by Chowy6 removing picture files Link to comment Share on other sites More sharing options...
Pandemic 2426 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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now