Bucket1337 Posted September 30, 2016 Share Posted September 30, 2016 (edited) Is there a way to let the bot write the debug into a .txt document? I want to setup a mailserver that mails when i get a message that cointains "script stoped" or something like that. Thanks for the help. Edited September 30, 2016 by Slawa Quote Link to comment Share on other sites More sharing options...
FrostBug Posted September 30, 2016 Share Posted September 30, 2016 You can use the Logger class for writing log files Be sure to place your log files in the OSBot data folder, since that is the only directory you're allowed write-access to Quote Link to comment Share on other sites More sharing options...
Bucket1337 Posted September 30, 2016 Author Share Posted September 30, 2016 You can use the Logger class for writing log files Be sure to place your log files in the OSBot data folder, since that is the only directory you're allowed write-access to Thank you. Quote Link to comment Share on other sites More sharing options...