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:
zigomar10
Full Member
***

Avatar

Posts: 345
– / Male / –
Joined: Mar 2003
RE: Ignore ReceiveNotify()
ok, example in VB: first u have to define a variable in the general declarations. for example:
code:
Dim ignore as integer

then u do the following in the parsecommand:
code:
ElseIf (StrComp(LCase(sCommand), "/xpingvb", vbTextCompare) = 0)
Then
sResult = Chr(nCCNotify) + "ping." 'The notify code must be 5 characters long
sResult = sResult + "Ping?"
ignore = 1       
ParseCommand = True
Exit Function
End If

and, finally in the recieve notify:
code:
If (StrComp(sNotifyCode, "ping.", vbTextCompare) = 0) Then
If ignore = 1 Then
ignore = 0

Else       
sTextToSend = "Pong!"
End If
ReceiveNotify = True
Exit Function
End If

;)

This post was edited on 08-22-2003 at 07:06 AM by zigomar10.
08-22-2003 07:04 AM
Profile PM Find Quote Report
wipey
Full Member
***

Avatar
.oOo.

Posts: 310
37 / – / –
Joined: Jul 2003
O.P. RE: Ignore ReceiveNotify()
aah cool I tried thhat but I didnt think about the general declarations:$ thanx for finally clearin this up:D

[Image: msgplus468banner2.gif]

www.wipey.tk 7184 days, 10 hours, 57 minutes, 52 seconds ago until my 18th birthday(b)

08-22-2003 01:15 PM
Profile PM Web Find Quote Report
wipey
Full Member
***

Avatar
.oOo.

Posts: 310
37 / – / –
Joined: Jul 2003
O.P. RE: Ignore ReceiveNotify()
where's the general declarations?

[Image: msgplus468banner2.gif]

www.wipey.tk 7184 days, 10 hours, 57 minutes, 52 seconds ago until my 18th birthday(b)

08-22-2003 10:35 PM
Profile PM Web Find Quote Report
zigomar10
Full Member
***

Avatar

Posts: 345
– / Male / –
Joined: Mar 2003
RE: Ignore ReceiveNotify()
there seems to be no General declarations because when you click under it to type, the line is before it (look at the screenshot).

.jpg File Attachment: screenshot.JPG (100.55 KB)
This file has been downloaded 164 time(s).
08-23-2003 06:25 AM
Profile PM Find Quote Report
zigomar10
Full Member
***

Avatar

Posts: 345
– / Male / –
Joined: Mar 2003
RE: Ignore ReceiveNotify()
...but now when you finish typing 'Dim ignore as Integer' and you press enter, the line jumps down after it (look at the screenshot)  ;):P.

.jpg File Attachment: screenshot2.JPG (98.53 KB)
This file has been downloaded 186 time(s).
08-23-2003 06:27 AM
Profile PM Find Quote Report
wipey
Full Member
***

Avatar
.oOo.

Posts: 310
37 / – / –
Joined: Jul 2003
O.P. RE: Ignore ReceiveNotify()
YAY! you are a god:D thanx alot:)

[Image: msgplus468banner2.gif]

www.wipey.tk 7184 days, 10 hours, 57 minutes, 52 seconds ago until my 18th birthday(b)

08-23-2003 03:05 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