What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » what doesn't work?

what doesn't work?
Author: Message:
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
RE: what doesn't work?
try this.

code:
var x;

function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin,Message,MessageKind)
{
if (Message == "test1") {
x="test";
}
if (Message == "test2") {
MsgPlus.DisplayToast("TEST", x);
}
}



dont have time to test it right now but that should work. :D

if you really wanna use the WriteString call try this.
code:
var x;

function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin,Message,MessageKind)
{
if (Message == "test1") {
x.WriteString(0, "test");
}
if (Message == "test2") {
MsgPlus.DisplayToast("TEST", x.ReadString(0));
}
}

[Image: jeansiger5.jpg]
08-27-2006 11:11 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
what doesn't work? - by kris2000 on 08-27-2006 at 11:06 AM
RE: what doesn't work? - by Ash_ on 08-27-2006 at 11:11 AM
RE: what doesn't work? - by kris2000 on 08-27-2006 at 11:31 AM
RE: what doesn't work? - by markee on 08-27-2006 at 11:49 AM
RE: what doesn't work? - by Matti on 08-27-2006 at 11:57 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