Question about academy plugin

Hi, have some questions:
If I set to log out after reaching lvl 40, the bot will auto graduate and later DC?
How can I set a profile with coditions, auto mastery, exp scroll usage via phbot? Is it possible to add into the plugin?