I must admit: this script is awesome!
However, the AlwaysShowTimer doesn't save in the registry, which I think would be handy.
For users who want this, add:
code:
OnlyGMTDifference = new ActiveXObject("WScript.Shell").RegRead(MsgPlus.ScriptRegPath + Messenger.MyUserId + "\\OnlyGMT") == "1" ? true : false;
after:
code:
if (!MessengerStart) {
in the OnEvent_Initialize function (line 21). Also, create a new OnEvent_SignIn event like this:
code:
function OnEvent_SignIn (Email) {
OnlyGMTDifference = new ActiveXObject("WScript.Shell").RegRead(MsgPlus.ScriptRegPath + Messenger.MyUserId + "\\OnlyGMT") == "1" ? true : false;
}
for the case Messenger isn't signed in when the script starts.
To write the registry key, add this:
code:
Shell.RegWrite(MsgPlus.ScriptRegPath + Messenger.MyUserId + "\\OnlyGMT", (OnlyGMTDifference?1:0))
in the OnEvent_ChatWndReceiveMessage event after:
code:
OnlyGMTDifference = !(/^true$/i.test(Bool))
That will do the trick.
Go for it, Shondoit!