What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Scriptmenu

Scriptmenu
Author: Message:
Jumpfreakske
Junior Member
**

Avatar
Hardstyle!!!

Posts: 62
Reputation: -7
32 / Male / Flag
Joined: Jan 2007
O.P. RE: Scriptmenu
My code that I Have:

function OnGetScriptCommands(){
    var commands = '<ScriptCommands>';
        commands+='<Command>';
            commands+='<Name>Hardstyle</Name>';
        commands+='</Command>';
        commands+='<Command>';
            commands+='<Name>Jumpstyle</Name>';
        commands+='</Command>';
        commands+='<Command>';
            commands+='<Name>Extra</Name>';
        commands+='</Command>';
        commands+='</ScriptCommands>';
    return commands;
}


function OnEvent_MenuClicked(MenuItemId, Location, OriginWnd) {
if (Location == 2) {
if (MenuItemId == "MnuAlbums2") OriginWnd.SendMessage("ALBUMS2");
if (MenuItemId == "MnuLiedjes2") OriginWnd.SendMessage("LIEDJES2");
if (MenuItemId == "MnuArtiesten2") OriginWnd.SendMessage("ARTIESTEN2");
if (MenuItemId == "MnuAlbums") OriginWnd.SendMessage("ALBUMS");
if (MenuItemId == "MnuLiedjes") OriginWnd.SendMessage("LIEDJES");
if (MenuItemId == "MnuArtiesten") OriginWnd.SendMessage("ARTIESTEN");
if (MenuItemId == "MnuStijlen") OriginWnd.SendMessage("!Stijlen");
if (MenuItemId == "MnuArtiesten Jumpstyle") OriginWnd.SendMessage("!Artiesten Jumpstyle");
if (MenuItemId == "MnuLocaties Jumpstyle") OriginWnd.SendMessage("!Locaties Jumpstyle");
if (MenuItemId == "MnuEvenementen Jumpstyle") OriginWnd.SendMessage("!Evenementen Jumpstyle");
if (MenuItemId == "MnuHoe Jumpen?") OriginWnd.SendMessage("!Hoe Jumpen?");
}
}


function OnGetScriptMenu(Location) {
if (Location == 2) { // Script menu in chat window
var ScriptMenu = "<ScriptMenu>";
ScriptMenu += "<SubMenu Label=\"Hardstyle\">";
ScriptMenu += "<MenuEntry Id=\"MnuAlbums2\">Albums</MenuEntry>";
ScriptMenu += "<MenuEntry Id=\"MnuLiedjes2\">Liedjes</MenuEntry>";
ScriptMenu += "<MenuEntry Id=\"MnuArtiesten2\">Artiesten</MenuEntry>";
ScriptMenu += "</SubMenu>";
ScriptMenu += "<SubMenu Label=\"Jumpstyle\">";
ScriptMenu += "<MenuEntry Id=\"MnuAlbums\">Albums</MenuEntry>";
ScriptMenu += "<MenuEntry Id=\"MnuLiedjes\">Liedjes</MenuEntry>";
ScriptMenu += "<MenuEntry Id=\"MnuArtiesten\">Artiesten</MenuEntry>";
ScriptMenu += "</SubMenu>";
ScriptMenu += "<SubMenu Label=\"Extra\">";
ScriptMenu += "<MenuEntry Id=\"MnuStijlen\">Stijlen</MenuEntry>";
ScriptMenu += "<MenuEntry Id=\"MnuArtiesten Jumpstyle\">Artiesten Jumpstyle</MenuEntry>";
ScriptMenu += "<MenuEntry Id=\"MnuLocaties Jumpstyle\">Locaties Jumpstyle</MenuEntry>";
ScriptMenu += "<MenuEntry Id=\"MnuEvenementen Jumpstyle\">Evenementen Jumpstyle</MenuEntry>";
ScriptMenu += "<MenuEntry Id=\"MnuHoe Jumpen?\">Hoe Jumpen?</MenuEntry>";
ScriptMenu += "</SubMenu>";
ScriptMenu += "</ScriptMenu>";
return ScriptMenu;
}
}

01-30-2007 08:11 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Scriptmenu - by Jumpfreakske on 01-30-2007 at 07:48 PM
RE: Scriptmenu - by Jimbo on 01-30-2007 at 07:57 PM
RE: Scriptmenu - by Jesus on 01-30-2007 at 07:59 PM
RE: Scriptmenu - by Jumpfreakske on 01-30-2007 at 08:07 PM
RE: Scriptmenu - by Jumpfreakske on 01-30-2007 at 08:11 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