What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » ChatWnd event question

ChatWnd event question
Author: Message:
trevorpe
New Member
*


Posts: 12
29 / Male / Flag
Joined: Dec 2008
O.P. ChatWnd event question
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;
        }
    }
01-22-2010 12:38 AM
Profile PM Find Quote Report
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
30 / Male / Flag
Joined: Nov 2006
Status: Away
RE: ChatWnd event question
i don't see the function returning or changing anything (other than status) so it shouldn't affect normal chatting.

This post was edited on 01-22-2010 at 01:44 AM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
01-22-2010 01:43 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On