What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Question about the 5 Character Code

Question about the 5 Character Code
Author: Message:
Ash_
Senior Member
****

Avatar

Posts: 638
Reputation: 31
35 / Male / –
Joined: Aug 2004
O.P. Question about the 5 Character Code
All coders should know of the Plus! API feature which sends 5 characters to the contact, so the plugin can run some code.

what if two plugins had the same characters so they can run their functions and stuff.

lets say

File Transfer Plus uses the code "abcde"
and
Song2Nick used the same code "abcde"

would that mean both the plugins would be called, or does plus search for the Plugin name that sent it, then send the Char to the plugin to check etc etc.

Thanks in advance.
[Image: jeansiger5.jpg]
02-19-2005 04:14 AM
Profile PM Find Quote Report
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: Question about the 5 Character Code
quote:
Originally posted by Ash_
or does plus search for the Plugin name that sent it,
Plus! doesn't do this. In fact, Plus! calls the ReceiveNotify function of every installed plugin, one by one. It is a plugin's resposibility to determine the NotifyCode. I believe that Plus! stops calling other plugins as long as one plugin returns TRUE in ReceiveNotify. That is, only one plugin works and reacts to the NotifyCode. Also, there seems to be no way to determine which plugin is called first.

This post was edited on 02-19-2005 at 05:33 AM by Mnjul.
02-19-2005 05:31 AM
Profile 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