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:
lanky3
Junior Member
**


Posts: 16
Joined: Jul 2006
O.P. RE: script command
merci de ton aide, j'avais ossi fait un nouveau script:

/ 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 = "bonjour Kévin";
var b = "oui maitre"
var c = "tu es le maitre"
var d = " Kévin";
var e = "bienvenue"
var f = "aurevoir"

function OnEvent_Signin(Email)
{
    if(Email == "NOM@hotmail.com")
    {
        var Message = "bonjour " + Messenger.MyName + "!";
        Message = MsgPlus.RemoveFormatCodes(Message);
        MsgPlus.DisplayToast(e,"" + Message);
    }
}

function OnEvent_Signout(Email)
{
    if(Email == "Nom@hotmail.com")
    {
        var Message = "aurevoir " + Messenger.MyName + "!" + " et à bientot...";
        Message = MsgPlus.RemoveFormatCodes(Message);
        MsgPlus.DisplayToast(f,"" + Message);
    }
}



function OnEvent_ChatWndSendMessage(ChatWnd, Message){ 
    if(Message== '/master') {
        MsgPlus.DisplayToast(a,tab[Math.floor(Math.random() * tab.length)] + d);
        MsgPlus.DisplayToast(b,tab[Math.floor(Math.random() * tab.length)]);
        MsgPlus.DisplayToast(c,tab[Math.floor(Math.random() * tab.length)]);

      return '';
    }

}

function OnGetScriptCommands () {
    var commands = "<ScriptCommands>";
    commands += "    <Command>";
    commands += "        <Name>master</Name>";
    commands += "        <Description>commande maitre</Description>";
    commands += "    </Command>";
    commands += "</ScriptCommands>";
    return commands;
}
08-18-2006 07:06 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