What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Help in C. how to...

Help in C. how to...
Author: Message:
crank
Full Member
***

Avatar
Failed to come back here :(

Posts: 304
Reputation: 17
34 / Male / Flag
Joined: Mar 2004
Status: Away
O.P. Undecided  Help in C. how to...
I'm making a plug-in for the moment but i've got a problem...
It must be simple but I can't find my mistake.
PLEASE HELP!

code:
MPPLUGIN_RETURN_BOOL PublishInfo(/*[out]*/ char *sPluginName,
                                 /*[out]*/ PLUGIN_PUBLISH_LIST* aCommands,
                                 /*[out]*/ PLUGIN_PUBLISH_LIST* aTags)
{
    //Copy the name of the plugin
    strcpy(sPluginName, "EXAMPLE");

    //Set the commands help
    aCommands->nCount = 1;
    strcpy(aCommands->sName[0], "EXAMPLE");
    strcpy(aCommands->sValue[0], "xEXAMPLE");
    strcpy(aCommands->sHelp[0], "EXAMPLE.");
   
    //Set the tags help
    aTags->nCount = 2;
    strcpy(aTags->sName[0], "example");
    strcpy(aTags->sValue[0], "(!xexample)");
   
    //Set the tags help
    aTags->nCount = 2;
    strcpy(aTags->sName[0], "example1");
    strcpy(aTags->sValue[0], "(!xexample1)");

    return TRUE;
}


That code should show a menu.
It does but it only shows:
code:
EXAMPLE
------------
example1

--> It doesn't show the 'example' Tag. I tried to change the nCount Value but it doesn't help. Can anyone help me with this???

Edit: I had an idea I'm trying it now, but if you have a solution please PM me.
I tried this:
code:
    //Set the tags help
    aTags->nCount = 2;
    strcpy(aTags->sName[0], "QT hello");
    strcpy(aTags->sValue[0], "(!XQThello)");
    strcpy(aTags->sName[1], "QT insult");
    strcpy(aTags->sValue[1], "(!XQTinsult)");
Still doesn't work!

This post was edited on 05-30-2004 at 09:20 AM by crank.
I haven't been active here in ages.
If you're wondering who i am, read my reputations. I used to make plugins, skins and spam the IRC channels here back in the good old days before Windows Live.
05-30-2004 09:15 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Help in C. how to... - by crank on 05-30-2004 at 09:15 AM
RE: Help in C. how to... - by Mnjul on 05-30-2004 at 09:18 AM
RE: Help in C. how to... - by crank on 05-30-2004 at 09:23 AM
RE: Help in C. how to... - by Mnjul on 05-30-2004 at 09:38 AM
RE: Help in C. how to... - by crank on 05-30-2004 at 02:56 PM


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