What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Problem in my script ... ( second problem ^^ )

Problem in my script ... ( second problem ^^ )
Author: Message:
Rekinmalad
New Member
*


Posts: 12
Joined: Aug 2006
O.P. RE: Change user status
Yes, the numbers are in the docs. Thank you, i'm going to test that now ^^

:)
I've a problem, my script bug ...

code:
Messenger.MyStatus = 3;
function OnEvent_ChatWndSendMessage(ChatWnd,Message){
    if(Message=="/manger"){
        notify("Bon appétit :)");
        return '/all Je vais manger ! A + !';
        Messenger.MyStatus = 9;
        Debug.Trace("Statut changé en 'lunch' (9)");
    }
    if(Message=="/dodo"){
        notify("Bonne nuit :)");
        return '/all Je vais coucher ! A + !';
        Messenger.MyStatus = 7;
        notify("ATTENTION: vous etes toujours en ligne avec le statut Occupé.");
        Debug.Trace("Statut changé en 'away' (7)");
    }
    if(Message=="/fou"){
        notify("Vous êtes fou ?!?");
        return '/all Je suis fou, tu le savais ?!?';
    }
    if(Message=="/retour"){
        notify("Vraiment content de vous revoir :)");
        return '/all Je suis de retour !!';
        Messenger.MyStatus = 3;
        Debug.Trace("Statut changé en 'online' (3)");
    }
    if(Message=="/occupé"){
        notify("Je vous laisse tranquille alors :)");
        return 'Désolé ... je suis occupé :s';
        Messenger.MyStatus = 4;
        Debug.Trace("Statut changé en 'busy' (4)");
    }
    if(Message=="/occupe"){
        notify("Je vous laisse tranquille alors :)");
        return 'Désolé ... je suis occupé :s';
        Messenger.MyStatus = 4;
        Debug.Trace("Statut changé en 'busy' (4)");
    }
}
// DIVERS
function notify(msg){
    msg = MsgPlus.RemoveFormatCodes(msg);
    MsgPlus.DisplayToast("TextsPersos", msg, "Peace And Love :)");
}

function OnEvent_Initialize(MessengerStart)
{
    notify("Bienvenue :)");
    Messenger.MyStatus = 3;
    Debug.Trace("TEXTPERSOS est lancé. STATUS EN LIGNE");
}

function OnEvent_Uninitialize(MessengerExit)
{
    notify("Bye bye :)");
    Debug.Trace("TEXTPERSOS est arrété.");
}
function OnGetScriptCommands(){
    var commands = '<ScriptCommands>';
        commands+='<Command>';
            commands+='<Name>manger</Name>';
            commands+='<Description>Signaler a vos contacts que vous partez manger.</Description>';
        commands+='</Command>';
        commands+='<Command>';
            commands+='<Name>dodo</Name>';
            commands+='<Description>Signaler a vos contacts que vous partez au dodo.</Description>';
        commands+='</Command>';
        commands+='<Command>';
            commands+='<Name>fou</Name>';
            commands+='<Description>Signalez a vos contacts que vous êtes complètement fou !</Description>';
        commands+='</Command>';
        commands+='<Command>';
            commands+='<Name>retour</Name>';
            commands+='<Description>Signalez a vos contacts que vous êtes de retour !</Description>';
        commands+='</Command>';
        commands+='<Command>';
            commands+='<Name>occupé</Name>';
            commands+='<Description>Signalez a votre contacts que vous êtes occupé !</Description>';
        commands+='</Command>';
        commands+='</ScriptCommands>';
    return commands;
}

This is my script (in french, i'm french ...) but my status doesn't change and i've have not debug box ( it's activated in my prefs ) and for "/dodo", the second notify don't appear ...

PLEASE, HELP ME :'( :'( :'(
08-29-2006 03:10 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Problem in my script ... ( second problem ^^ ) - by Rekinmalad on 08-29-2006 at 09:38 AM
RE: Change user status - by RaceProUK on 08-29-2006 at 10:39 AM
RE: Change user status - by Rekinmalad on 08-29-2006 at 03:10 PM
RE: Problem in my script ... ( second problem ^^ ) - by Felu on 08-29-2006 at 03:44 PM
RE: Problem in my script ... ( second problem ^^ ) - by Reload2 on 08-29-2006 at 04:13 PM
RE: Problem in my script ... ( second problem ^^ ) - by RaceProUK on 08-30-2006 at 10:05 AM
RE: Problem in my script ... ( second problem ^^ ) - by Rekinmalad on 08-30-2006 at 08:45 PM
RE: Problem in my script ... ( second problem ^^ ) - by boston on 08-30-2006 at 08:55 PM
RE: Problem in my script ... ( second problem ^^ ) - by matty on 08-30-2006 at 09:02 PM
RE: Problem in my script ... ( second problem ^^ ) - by Rekinmalad on 08-30-2006 at 10:25 PM
RE: Problem in my script ... ( second problem ^^ ) - by Spunky on 08-30-2006 at 10:37 PM
RE: Problem in my script ... ( second problem ^^ ) - by Rekinmalad on 08-31-2006 at 11:35 AM
RE: Problem in my script ... ( second problem ^^ ) - by Silentdragon on 08-31-2006 at 02:04 PM
RE: RE: Problem in my script ... ( second problem ^^ ) - by Rekinmalad on 08-31-2006 at 04:23 PM
RE: Problem in my script ... ( second problem ^^ ) - by Rekinmalad on 08-31-2006 at 04:33 PM
RE: Problem in my script ... ( second problem ^^ ) - by Silentdragon on 08-31-2006 at 04:44 PM
RE: Problem in my script ... ( second problem ^^ ) - by Rekinmalad on 08-31-2006 at 04:58 PM
RE: Problem in my script ... ( second problem ^^ ) - by Felu on 08-31-2006 at 05:03 PM
RE: Problem in my script ... ( second problem ^^ ) - by Rekinmalad on 08-31-2006 at 05:15 PM
RE: Problem in my script ... ( second problem ^^ ) - by Rekinmalad on 08-31-2006 at 09:20 PM
RE: Problem in my script ... ( second problem ^^ ) - by Silentdragon on 08-31-2006 at 09:23 PM
RE: Problem in my script ... ( second problem ^^ ) - by Rekinmalad on 08-31-2006 at 10:13 PM
RE: Problem in my script ... ( second problem ^^ ) - by Spunky on 08-31-2006 at 10:15 PM
RE: Problem in my script ... ( second problem ^^ ) - by Rekinmalad on 08-31-2006 at 10:27 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