sudoinit6 Posted December 26, 2016 Posted December 26, 2016 How do I write messages to the logger? I am trying to figure out where exactly a script is breaking down. I tired script.log("Information here"); Which compiles just fine, but never works.
Team Cape Posted December 26, 2016 Posted December 26, 2016 Are you making a new instance of Script to do that? There's no reason why that shouldn't work.
sudoinit6 Posted December 26, 2016 Author Posted December 26, 2016 Are you making a new instance of Script to do that? There's no reason why that shouldn't work. Yes, I am making a new instance of script. Hmmm, now I need to find a way to debug this because I thought it should work too!
Team Cape Posted December 26, 2016 Posted December 26, 2016 Yes, I am making a new instance of script. Hmmm, now I need to find a way to debug this because I thought it should work too! Do not make a new instance of Script. Pass it into the new class that you're making because only 1 instance of Script can be used per bot.