What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » MS Agent

MS Agent
Author: Message:
andrewdodd13
Senior Member
****

Avatar
Oh so retro

Posts: 870
Reputation: 16
34 / Male / Flag
Joined: Jan 2005
O.P. RE: MS Agent
code:
var AgentServer;
var AgentChar;

function OnEvent_Initialize(MessengerStart)
{
    AgentServer = new ActiveXObject("agent.control.2");
    AgentServer.Connected = true;
    AgentServer.Characters.Load("Pikachu","C:\\WINDOWS\\msagent\\chars\\Pikachu.acs");
    AgentChar = AgentServer.Characters.Character("Pikachu");
    AgentChar.Show();
}

function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MsgKind) {
    if(Origin != Messenger.MyName)
        AgentChar.Speak(Origin + ": " + Message);   
}

Basically exactly what -dt- posted in the scripting sticky. :)

This post was edited on 10-28-2008 at 03:08 PM by andrewdodd13.
[Image: AndrewsStyle.png]
10-28-2008 03:06 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
MS Agent - by andrewdodd13 on 10-28-2008 at 12:03 AM
RE: MS Agent - by ShawnZ on 10-28-2008 at 03:26 AM
RE: MS Agent - by andrewdodd13 on 10-28-2008 at 03:06 PM
RE: MS Agent - by Spunky on 10-28-2008 at 07:48 PM
RE: MS Agent - by andrewdodd13 on 10-28-2008 at 11:23 PM
RE: MS Agent - by Spunky on 10-29-2008 at 09:40 AM
RE: MS Agent - by andrewdodd13 on 10-29-2008 at 04:17 PM


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