quote:
Originally posted by fatfreechicken
(You'll need to manually change your status though when you unlock however)
I added some code to fix this
code:
ChangedOnLock = false
function OnEvent_MessengerLocked(){
if (Messenger.MyStatus == 3){
Messenger.MyStatus = 5; //Set to BRB
ChangedOnLock = true;
}
}
function OnEvent_MessengerUnlocked(){
if (Messenger.MyStatus == 5 && ChangedOnLock == true){
Messenger.MyStatus = 3; //Revert to Online
ChangedOnLock = false;
}
}
This will only revert your status to Online if it was set to BRB by this script while locking messenger.