What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Request] Away Talker

[Request] Away Talker
Author: Message:
Paril
Junior Member
**

Avatar
Admin of Paril's Projects

Posts: 69
31 / Male / Flag
Joined: Jul 2006
O.P. [Request] Away Talker
Hey.. Me again.

Anyway, I'm trying to get this script to say "Hey" when someone says "Hi".. any ideaS? I tried this:


var IsItOn;
function OnEvent_ChatWndSendMessage(pChatWnd, sMessage)
{   
    if(sMessage == "*PtalkOn")
    {
        IsItOn = true;
        return "";
    }
    if(sMessage == "*PtalkOff")
    {
        IsItOn = false;
        return "";
    }
}
function OnEvent_ChatWndRecieveMessage(pChatWnd, Origin, sMessage, MessageKind)
{   
    MessageKind = 1;

    if (IsItOn)
    {
        if (sMessage == "Hi")
            SendMessage ("Hey!");
        return sMessage;
    }
    else
        return sMessage;
}




No dice.


-Paril
07-06-2006 08:40 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Request] Away Talker - by Paril on 07-06-2006 at 08:40 PM
RE: [Request] Away Talker - by J-Thread on 07-06-2006 at 09:13 PM
RE: [Request] Away Talker - by absorbation on 07-06-2006 at 09:15 PM
RE: [Request] Away Talker - by cloudhunter on 07-07-2006 at 01:20 AM
RE: [Request] Away Talker - by cooldude_i06 on 07-07-2006 at 01:25 AM
RE: [Request] Away Talker - by Silentdragon on 07-07-2006 at 01:40 AM
RE: [Request] Away Talker - by S4mP410 on 07-07-2006 at 02:31 AM


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