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

script command
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: script command
code:
//      vous etes une star et personne autour de vous ne s'en rends compte ?
//           vous avez le cafard et vous avez besoin de compliment ?
//       vous souhaitez avoir l'impression que tout le monde vous respecte ?
//                             master est fait pour vous !!!!!!   

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
var tab=new Array("tu es le meilleur !!!!", "gloire a toi !!!", "t'es une star !!!", "t'es tro un boss !!!","tu est le maitre incontesté !!!");
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

var a = "master";
var b = " prenom";

function OnEvent_ChatWndSendMessage(ChatWnd, Message) { 
    if(Message=="master") {
        MsgPlus.DisplayToast(a,tab[Math.floor(Math.random() * tab.length)] + b);
        MsgPlus.DisplayToast(a,tab[Math.floor(Math.random() * tab.length)] );
        MsgPlus.DisplayToast(a,tab[Math.floor(Math.random() * tab.length)] );
    }
    notify("tu es le maitre");
    return '';
}

function OnGetScriptCommands () {
    var commands = "<ScriptCommands>";
    commands += "    <Command>";
    commands += "        <Name>master</Name>";
    commands += "        <Description>commande maitre</Description>";
    commands += "    </Command>";
    commands += "</ScriptCommands>";
    return commands;
}

Why is the bolded line not defined? Are you trying to open an alert box like using alert() in javascript?
08-16-2006 08:21 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
script command - by lanky3 on 08-16-2006 at 10:40 AM
RE: script command - by Felu on 08-16-2006 at 12:17 PM
RE: script command - by lanky3 on 08-16-2006 at 12:41 PM
RE: script command - by lanky3 on 08-16-2006 at 07:26 PM
RE: script command - by matty on 08-16-2006 at 08:21 PM
RE: script command - by lanky3 on 08-16-2006 at 08:54 PM
RE: script command - by lanky3 on 08-18-2006 at 04:07 PM
RE: script command - by Felu on 08-18-2006 at 04:15 PM
RE: script command - by lanky3 on 08-18-2006 at 04:54 PM
RE: script command - by KnRd_WC on 08-18-2006 at 05:54 PM
RE: script command - by lanky3 on 08-18-2006 at 07:06 PM
RE: script command - by lanky3 on 08-18-2006 at 07:09 PM
RE: script command - by KnRd_WC on 08-18-2006 at 07:29 PM
RE: script command - by lanky3 on 08-20-2006 at 10:38 AM
RE: RE: script command - by mickael9 on 08-20-2006 at 11:19 AM
RE: script command - by lanky3 on 08-20-2006 at 11:29 AM


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