Ignore ReceiveNotify() |
Author: |
Message: |
wipey
Full Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](avatar.php?uid=23529)
.oOo.
Posts: 310
37 / – / –
Joined: Jul 2003
|
O.P. Ignore ReceiveNotify()
mentions this in the plugin sample....but how is it done?????!
![[Image: msgplus468banner2.gif]](http://files.msgplus.net/contest/promote/msgplus468banner2.gif)
www.wipey.tk 7014 days, 17 hours, 6 minutes, 35 seconds ago until my 18th birthday ![(b)](images/smilies/msn_beer.gif)
|
|
08-20-2003 01:24 AM |
|
![](images/pixel.gif) |
Predatory Kangaroo
Full Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
Posts: 144
– / / –
Joined: Jul 2003
|
RE: Ignore ReceiveNotify()
To ignore a RecieveNotify, all you should need to do is return false immediately after entering the function.
|
|
08-20-2003 04:16 AM |
|
![](images/pixel.gif) |
wipey
Full Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](avatar.php?uid=23529)
.oOo.
Posts: 310
37 / – / –
Joined: Jul 2003
|
O.P. RE: Ignore ReceiveNotify()
false in the parsecommand?
![[Image: msgplus468banner2.gif]](http://files.msgplus.net/contest/promote/msgplus468banner2.gif)
www.wipey.tk 7014 days, 17 hours, 6 minutes, 35 seconds ago until my 18th birthday ![(b)](images/smilies/msn_beer.gif)
|
|
08-20-2003 11:25 AM |
|
![](images/pixel.gif) |
Whacko
Full Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](images/avatars/wacko.gif)
Posts: 209 Reputation: 1
40 / / –
Joined: Apr 2002
|
RE: Ignore ReceiveNotify()
no
return false in ReceiveNotify()
I code in:
C
C++
Delphi
Visual Basic
Pascal ![:P](images/smilies/msn_tongue.gif)
|
|
08-20-2003 12:26 PM |
|
![](images/pixel.gif) |
wipey
Full Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](avatar.php?uid=23529)
.oOo.
Posts: 310
37 / – / –
Joined: Jul 2003
|
O.P. RE: Ignore ReceiveNotify()
example ![:(](images/smilies/msn_sad.gif) ?
![[Image: msgplus468banner2.gif]](http://files.msgplus.net/contest/promote/msgplus468banner2.gif)
www.wipey.tk 7014 days, 17 hours, 6 minutes, 35 seconds ago until my 18th birthday ![(b)](images/smilies/msn_beer.gif)
|
|
08-20-2003 12:50 PM |
|
![](images/pixel.gif) |
Predatory Kangaroo
Full Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
Posts: 144
– / / –
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
|
|
08-20-2003 12:56 PM |
|
![](images/pixel.gif) |
wipey
Full Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](avatar.php?uid=23529)
.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]](http://files.msgplus.net/contest/promote/msgplus468banner2.gif)
www.wipey.tk 7014 days, 17 hours, 6 minutes, 35 seconds ago until my 18th birthday ![(b)](images/smilies/msn_beer.gif)
|
|
08-20-2003 03:28 PM |
|
![](images/pixel.gif) |
Predatory Kangaroo
Full Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
Posts: 144
– / / –
Joined: Jul 2003
|
RE: Ignore ReceiveNotify()
Well, that's what you said you wanted to do ![:S](images/smilies/msn_confused.gif)
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 ![:)](images/smilies/msn_happy.gif)
|
|
08-21-2003 05:17 AM |
|
![](images/pixel.gif) |
wipey
Full Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](avatar.php?uid=23529)
.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]](http://files.msgplus.net/contest/promote/msgplus468banner2.gif)
www.wipey.tk 7014 days, 17 hours, 6 minutes, 35 seconds ago until my 18th birthday ![(b)](images/smilies/msn_beer.gif)
|
|
08-21-2003 10:53 AM |
|
![](images/pixel.gif) |
wipey
Full Member
![*](images/star.gif) ![*](images/star.gif) ![*](images/star.gif)
![Avatar](avatar.php?uid=23529)
.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](images/smilies/msn_confused.gif)
![[Image: msgplus468banner2.gif]](http://files.msgplus.net/contest/promote/msgplus468banner2.gif)
www.wipey.tk 7014 days, 17 hours, 6 minutes, 35 seconds ago until my 18th birthday ![(b)](images/smilies/msn_beer.gif)
|
|
08-21-2003 06:53 PM |
|
![](images/pixel.gif) |
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|