What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Some n00b Questions

Some n00b Questions
Author: Message:
madknifa
New Member
*


Posts: 2
Joined: Mar 2004
O.P. Some n00b Questions
Hello, I'm new to plug-in for MSN Plus making and I'm a little stuck, I'm using C for the making:

1. How do I get the message from someone sending it to the person? I think it's the Notify one but I'm not sure.

3. How do I send a message to another person?

4. How do I make it play sounds?

2. How do I get the MSN Name of the person, e-mail address, etc

Any help would be great, Thanks (Y)

This post was edited on 03-01-2004 at 08:16 AM by madknifa.
03-01-2004 08:14 AM
Profile E-Mail PM Find Quote Report
optimism_
Senior Member
****

Avatar
Ctrl+Alt+Del - Tragically l337

Posts: 521
Reputation: 8
37 / Male / –
Joined: Jul 2003
RE: Some n00b Questions
1) not sure what you are asking here

2) You can *only* send messages by returning from ParseCommand, ParseTag or ReceiveNotify. You cannot send arbitary messages back to plus.

3) PlaySound() would be an obvious choice - see the win32api docs on that

4) Using the messenger apis, and the IMessenger object that plus! passes you as part of the PLUGIN_PARAM struct
HTTP 404 - Signature Not Found
03-01-2004 08:28 AM
Profile E-Mail PM Web Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
31 / Male / Flag
Joined: Mar 2003
Status: Online
RE: Some n00b Questions
Well I suggest you do it in VB...I think that its easier to write MsgPlus! Plugins in vb...If you write the plugin in vb then I can also help you with the PlaySound API because I have used it...Look at http://www.allapi.net ...

But it depends on your choise...
YouTube closed-captions ripper (also allows you to download videos!)
03-01-2004 11:20 AM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Some n00b Questions
It doesn't matter what language he uses, an API is an API. It works just the same in C as in VB...
.-= A 'frrrrrrrituurrr' for Wacky =-.
03-01-2004 11:53 AM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: Some n00b Questions
I've used PlaySound, and I think Messenger uses it too. I would recommend:
C++: Use the MCI library
VB: Use WMP
Both of these should be easy to use (not letting his own experiences and n00b skillz with C++ prevent him from telling the truth ;)).
[Image: spartaafk.png]
03-01-2004 12:50 PM
Profile PM Web Find Quote Report
madknifa
New Member
*


Posts: 2
Joined: Mar 2004
O.P. RE: Some n00b Questions
on question 1 i ment, if someone sends the user usinging the plugin.. how do i get that message
03-01-2004 03:20 PM
Profile E-Mail PM Find Quote Report
optimism_
Senior Member
****

Avatar
Ctrl+Alt+Del - Tragically l337

Posts: 521
Reputation: 8
37 / Male / –
Joined: Jul 2003
RE: Some n00b Questions
Parse command and Parse tag functions are executed by only the person sending the command/tag

If ParseCommand returns a Notification Message then that message is sent to every member of the conversation. If a contact has messenger plus! installed, it will strip the first 6 characters from the message and call [b]ReceiveNotify[b]. Therefore, if you want a command to play a sound for everyone in a conversation, you must have the sound playing code in the Receive Notify function, and you must send a notification message
HTTP 404 - Signature Not Found
03-01-2004 06:02 PM
Profile E-Mail PM Web Find Quote Report
« 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