What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Need help with a script

Need help with a script
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
RE: Need help with a script
This should work (untested though):

code:
function OnEvent_ContactSignin(sEmail){
   var ChatWnd = Messenger.OpenChat(sEmail);
   ChatWnd.SendMessage("Hello (!N) !");
}


Lines of code should end with a semicolon (I think it's needed)
You were using a string as a boolean, which is possible, but not a good way of doing things.
Also, it shouldn't need to events... A ChatWnd object should be created and returned by the OpenChat function

Look in the scripting documentation for more help

This post was edited on 05-08-2007 at 02:52 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
05-08-2007 02:42 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Need help with a script - by kantom on 05-08-2007 at 06:26 AM
RE: Need help with a script - by Spunky on 05-08-2007 at 02:42 PM
RE: Need help with a script - by matty on 05-08-2007 at 05:10 PM
RE: Need help with a script - by pray2win on 05-12-2008 at 06:19 PM
RE: Need help with a script - by roflmao456 on 05-12-2008 at 07:27 PM
RE: RE: Need help with a script - by pray2win on 05-12-2008 at 07:43 PM
RE: Need help with a script - by CookieRevised on 05-12-2008 at 07:39 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