What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Ignore ReceiveNotify()

Pages: (2): « First [ 1 ] 2 » Last »
Ignore ReceiveNotify()
Author: Message:
wipey
Full Member
***

Avatar
.oOo.

Posts: 310
37 / – / –
Joined: Jul 2003
O.P. Huh?  Ignore ReceiveNotify()
mentions this in the plugin sample....but how is it done?????!

[Image: msgplus468banner2.gif]

www.wipey.tk 7180 days, 15 hours, 33 minutes, 13 seconds ago until my 18th birthday(b)

08-20-2003 01:24 AM
Profile PM Web Find Quote Report
Predatory Kangaroo
Full Member
***


Posts: 144
– / Male / –
Joined: Jul 2003
RE: Ignore ReceiveNotify()
To ignore a RecieveNotify, all you should need to do is return false immediately after entering the function.
[Image: imagetest.php?display=You%20dont%20know%...djust=true]
08-20-2003 04:16 AM
Profile PM Web Find Quote Report
wipey
Full Member
***

Avatar
.oOo.

Posts: 310
37 / – / –
Joined: Jul 2003
O.P. RE: Ignore ReceiveNotify()
false in the parsecommand?

[Image: msgplus468banner2.gif]

www.wipey.tk 7180 days, 15 hours, 33 minutes, 13 seconds ago until my 18th birthday(b)

08-20-2003 11:25 AM
Profile PM Web Find Quote Report
Whacko
Full Member
***

Avatar

Posts: 209
Reputation: 1
40 / Male / –
Joined: Apr 2002
RE: Ignore ReceiveNotify()
no
return false in ReceiveNotify()
I code in:
C
C++
Delphi
Visual Basic
Pascal :P
08-20-2003 12:26 PM
Profile PM Web Find Quote Report
wipey
Full Member
***

Avatar
.oOo.

Posts: 310
37 / – / –
Joined: Jul 2003
O.P. RE: Ignore ReceiveNotify()
example:(?

[Image: msgplus468banner2.gif]

www.wipey.tk 7180 days, 15 hours, 33 minutes, 13 seconds ago until my 18th birthday(b)

08-20-2003 12:50 PM
Profile PM Web Find Quote Report
Predatory Kangaroo
Full Member
***


Posts: 144
– / Male / –
Joined: Jul 2003
RE: Ignore ReceiveNotify()
Example in C++:
MPPLUGIN_RETURN_BOOL ReceiveNotify(/*[in]*/  const char* sNotifyCode,
                                   /*[in]*/  const char* sText,
                                   /*[in]*/  PLUGIN_PARAM* pParam,
                                   /*[out]*/ char* sTextToSend)
{
    return FALSE;
}

Example in VB:
Public Function ReceiveNotify(ByVal sNotifyCode As String, ByVal sText As String, ByVal sContactName As String, ByVal oConversationWnd As Object, ByRef sTextToSend As String) As Boolean
    ReceiveNotify = False
End Function
[Image: imagetest.php?display=You%20dont%20know%...djust=true]
08-20-2003 12:56 PM
Profile PM Web Find Quote Report
wipey
Full Member
***

Avatar
.oOo.

Posts: 310
37 / – / –
Joined: Jul 2003
O.P. RE: Ignore ReceiveNotify()
wont that just mean I'll receive no notifys at all, eg wont be able to play my custom sounds or anything???!

[Image: msgplus468banner2.gif]

www.wipey.tk 7180 days, 15 hours, 33 minutes, 13 seconds ago until my 18th birthday(b)

08-20-2003 03:28 PM
Profile PM Web Find Quote Report
Predatory Kangaroo
Full Member
***


Posts: 144
– / Male / –
Joined: Jul 2003
RE: Ignore ReceiveNotify()
Well, that's what you said you wanted to do :S
This will ignore ReceiveNotify() by doing the absolute minimal amount of processing when the event is triggered.
If that's what you meant, then try to explain some more :)
[Image: imagetest.php?display=You%20dont%20know%...djust=true]
08-21-2003 05:17 AM
Profile PM Web Find Quote Report
wipey
Full Member
***

Avatar
.oOo.

Posts: 310
37 / – / –
Joined: Jul 2003
O.P. RE: Ignore ReceiveNotify()
I want to make it ignore the next receivenotify, after a command is usd so I don't show the reply to  a command too

[Image: msgplus468banner2.gif]

www.wipey.tk 7180 days, 15 hours, 33 minutes, 13 seconds ago until my 18th birthday(b)

08-21-2003 10:53 AM
Profile PM Web Find Quote Report
wipey
Full Member
***

Avatar
.oOo.

Posts: 310
37 / – / –
Joined: Jul 2003
O.P. RE: Ignore ReceiveNotify()
for example:

i've defined what's send wen I send a command and what happens when someone sends it to me (I receive it), but when I send a commmand how do I stop myself from both sending and receiving the command:s

[Image: msgplus468banner2.gif]

www.wipey.tk 7180 days, 15 hours, 33 minutes, 13 seconds ago until my 18th birthday(b)

08-21-2003 06:53 PM
Profile PM Web 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