What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » How to trigger my plugin when special message received from my contact

How to trigger my plugin when special message received from my contact
Author: Message:
cryingfox
New Member
*


Posts: 3
Joined: Oct 2004
O.P. Huh?  How to trigger my plugin when special message received from my contact
How to trigger my plugin when special message received from my contact?
I use Delphi Version of SDK.
I have tried TMPPlugin's Notify property, but found that it can only trigger by a TMPCommands. Can it get notified when receive a certain message from my contact? Or there is another way to complete this with a plugin.

Really needs your help,Buddy.
10-09-2004 06:58 PM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: How to trigger my plugin when special message received from my contact
Have you read the docs about ReceiveNotify? It is only called if a message starts with sCCNotify. You should prepend sCCNotify to your message (and a five-char code) to trigger your plugin.
[Image: spartaafk.png]
10-10-2004 08:21 AM
Profile PM Web Find Quote Report
cryingfox
New Member
*


Posts: 3
Joined: Oct 2004
O.P. RE: How to trigger my plugin when special message received from my contact
Thank you for your reply. What I want to complete is describe as below: 
1. My Contact type ?queryTheQueryCommand
2. I reply him with the result

My Contact havent installed the MsgPlus! and my plugin. So I need the sCCNotify  to be Normal Text.
I've try change  sCCNotify to #47 (symbol /), and my contact sent me with a '/NTEST', but the notify didnt  be triggered.

Where is the problem?
10-10-2004 02:18 PM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: How to trigger my plugin when special message received from my contact
sCCNotify is the value it is because it HAS to be that value.
[Image: spartaafk.png]
10-10-2004 03:53 PM
Profile PM Web Find Quote Report
cryingfox
New Member
*


Posts: 3
Joined: Oct 2004
O.P. RE: How to trigger my plugin when special message received from my contact
Oh, that means there's no way that contact manual input message(without a MsgPlus plugin) can trigger my plugin, right?
10-10-2004 05:51 PM
Profile E-Mail PM 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