sudoinit6 Posted December 26, 2016 Share 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. Quote Link to comment Share on other sites More sharing options...
Team Cape Posted December 26, 2016 Share Posted December 26, 2016 Are you making a new instance of Script to do that? There's no reason why that shouldn't work. Quote Link to comment Share on other sites More sharing options...
sudoinit6 Posted December 26, 2016 Author Share 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! Quote Link to comment Share on other sites More sharing options...
Team Cape Posted December 26, 2016 Share 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. Quote Link to comment Share on other sites More sharing options...