Shoutbox

Sending back a Nudge. - 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)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: Sending back a Nudge. (/showthread.php?tid=54899)

Sending back a Nudge. by andrewbob on 01-13-2006 at 11:33 AM

I was just wondering what i would have to do 2 make a plug in that when some1 nudges me that i can nudge them back automaticaly.
Some childlish contacts of mine seem 2 send me a nudge every 2 sentances. (i worked out how 2 turn the shaking effect off)
So i was looking @ the API Docs and i think that this might be the fuction thing to use but i dont really know i'm still learning:
ReceiveNotify()
I found it in the sample plugin.
I'm programing in Visual Basic 6

Any help would be much appreicated.
Thanks
--
Andrew Bob


RE: Sending back a Nudge. by CookieRevised on 01-13-2006 at 11:43 AM

The RecieveNotify() function is meant for notifcation codes of Messenger Plus! send by plugins which your contacts have installed.

Nudges are part of Messenger itself and have got nothing to do with Plus! notifications.

So you can't use that function (in fact you can't use any plugin function as there isn't any for this) to be notified of nudges. You must revert to your own hooking techniques and stuff to be able to be notified programmatically when a nudge has been sent.


RE: Sending back a Nudge. by Moo on 01-13-2006 at 12:26 PM

If you ever find a way to make it possible let us know. It sounds like a good idea.


RE: Sending back a Nudge. by andrewbob on 01-13-2006 at 11:23 PM

Is there anyway to detect messages sent by the other contact in the contact window?
eg. in a convo

quote:

Bill says: Hello
u says: Hi
Bill says: How are you?

Is there a way to detect the "How are you?" part that was sent from your contact. or even better detect "[contact name] says: How are you?"
Then have the plugin reply back: Great

My throught then was when a contact sends you a nudge this appears in the convo window:
quote:
[contact name]just sent you a Nudge!

Hope that makes sence. Just like an auto responder. Thats a bit more advance with its configuration.

Thanks Again
--
Andrew Bob
RE: Sending back a Nudge. by matty on 01-14-2006 at 03:59 AM

quote:
Originally posted by andrewbob
Is there anyway to detect messages sent by the other contact in the contact window?
eg. in a convo

Matty's reply to Active Accessibility for incoming messages
RE: Sending back a Nudge. by andrewbob on 01-16-2006 at 10:40 AM

Thanks Matty. I've worked out how 2 change Mattys code so that i can detect text that has been sent/recived in the convo. I just dont know how 2 put it into a plugin. Do i just create a new Public Function eg. Public Function Nudgeback() and add my code that i worked out (with the help of matty) into that function and will messenger plus pick that up?
Thanks
--
Andrew Bob


RE: Sending back a Nudge. by matty on 01-18-2006 at 05:06 AM

No you wont be able to have a function that Plus! automatically recognizes. The easiest way to use the code I posted is to create a form. Use the ShowWindow API to show it. Subclass the window and call your function when needed.