What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Automated reply problem

Pages: (2): « First « 1 [ 2 ] Last »
Automated reply problem
Author: Message:
Veggie
Full Member
***

Avatar

Posts: 415
Reputation: 21
37 / Male / Flag
Joined: Sep 2004
RE: RE: Automated reply problem
quote:
Originally posted by le-foot
function OnEvent_ContactSignin(Email){
   
       
    var Message = "Hey";
    {______}.SendMessage(Message);
       
}

Okay, instead of when someone says something, I automatically say something when someone signs in.

Now do I put something in the {_____}?

Thanks
code:
function OnEvent_ContactSignin(Email){
  var ChatWnd = Messenger.OpenChat(Email)
  var Message = "Hey";
  ChatWnd.SendMessage(Message);
}

Untested
04-25-2008 10:45 AM
Profile E-Mail PM Web Find Quote Report
le-foot
New Member
*


Posts: 9
Joined: Apr 2008
O.P. RE: Automated reply problem
Thanks, that worked perfectly.:D

This post was edited on 04-27-2008 at 08:30 AM by le-foot.
04-27-2008 06:27 AM
Profile E-Mail PM Find Quote Report
le-foot
New Member
*


Posts: 9
Joined: Apr 2008
O.P. RE: Automated reply problem
is there an "Elseif" in the script? If so, what is the syntax?

I've tried Elseif, and Else If, but neither seems to be right.

Thanks
05-02-2008 10:04 AM
Profile E-Mail PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: Automated reply problem
if(condition){

}else if(condition2){

}else{

}
<Eljay> "Problems encountered: shit blew up" :zippy:
05-02-2008 06:12 PM
Profile PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« 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