Shoutbox

ChatWnd.SendMessage and MessegerOpenChat Problens - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: ChatWnd.SendMessage and MessegerOpenChat Problens (/showthread.php?tid=88794)

ChatWnd.SendMessage and MessegerOpenChat Problens by tharael on 01-29-2009 at 09:10 PM

E.g:

var Greetings = 'Hail!';

function OnEvent_ContactSignin(Email){
    Messenger.OpenChat(Email).SendMessage(Greetings);
}

/*when a contact singin,

Tharael diz:
Hail!
*
* A mensagem a seguir não pôde ser entregue a todos os destinatários:
Hail!

*/

Its always  happen ;/


RE: ChatWnd.SendMessage and MessegerOpenChat Problens by matty on 01-29-2009 at 10:13 PM

That is because when a contact signs in you automatically open a chat window and send a message. You have no conditions that need to be met. What are you trying to accomplish?


RE: RE: ChatWnd.SendMessage and MessegerOpenChat Problens by djdannyp on 01-29-2009 at 10:20 PM

quote:
Originally posted by matty
That is because when a contact signs in you automatically open a chat window and send a message. You have no conditions that need to be met. What are you trying to accomplish?

I think his point is that the message is getting bounced back everytime he tries to send it.  The second part of his post is saying that when a contact signs in it opens the window and sends the message, but returns the message saying that it couldn't be delivered
RE: Matty by tharael on 01-29-2009 at 10:28 PM

I m tryng send a msg before to block a contact....Contacts that enter and leave very fast..

If the same contact to enter two times in less than ten seconds, open Window and send a msg, more does not works    =(

it's is possible ? thks for reply!!