The new addition is
Code: Select all
<onUnstickFailure><![CDATA[
-- Lua code to execute when MAX_UNSTICK_TRIALS is reached.
]]></onUnstickFailure>
If the code doesn't fix the issue and there is another unstick then it will execute the default which is set by user profile with LOGOUT_SHUTDOWN, LOGOUT_WHEN_STUCK and CLOSE_WHEN_STUCK.
If no code is added to the profile between the new tags then the bot will perform it's usual actions once maximum unstick tries is reached.
One utilisation would be to log next character but the posibilities are now endless.