Hi there,
This seemed to act up. It looks good to me. I re-edited some of the code from this script.
This code is in the ChatWndSendMessage event handler.
A few variables are not the usual, but should be easy enough to understand.
Registry writing and read functions are basically like the function names.
I was wondering if anybody sees something that could cause problems with normal chatting.
code:
if(FullMessage.match(/brb/)!=null && getReg("brb") == 1 && Messenger.MyStatus > 2) {
setReg("prestatus", Messenger.MyStatus, 1);
setReg("brbing", 1, 1);
ShowMessage("Your status is now \"Away\".");
Messenger.MyStatus=7;
}
if(FullMessage.match(/[(g2g)(gtg)]/)!=null && getReg("g2g") == 1 && Messenger.MyStatus > 2) {
switch(getReg("signout")) {
case 0 :
ShowMessage("Your status will be \"Appear Offline\" in 15 seconds.");
MsgPlus.AddTimer("AppearOffline", 15000);
break;
case 1 :
MsgPlus.AddTimer("Signout", 15000);
ShowMessage("You will sign out in 15 seconds.");
break;
}
}