What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [ Dalay ] The best for make a delay for Merlin type script

[ Dalay ] The best for make a delay for Merlin type script
Author: Message:
xsylvain2
Junior Member
**

Avatar
MsgPlus! For Evermore

Posts: 17
50 / Male / –
Joined: Feb 2007
O.P. [ - Here - ]
That is a good method !
[code]
function OnEvent_ChatWndCreated(ChatWnd){
    Merlin_RunningON(); 
    Merlin.Play("Greet");
    Merlin.Speak("Votre seigneurie!|Votre majesté!|Maitre!");
    Merlin.Speak("\\Spd=180\\Permettez moi d'interpréter votre discution!");
    Merlin.Speak("\\Spd=180\\Je suis votre fidèle serviteur!|Je veis faire le perroquet!");
    Merlin.Speak("\\Spd=180\\Vous venez d'ouvrir votre fenêtre de clavardage à "+TimeD()+"!");
    Merlin.Play("Congratulate_2");
    Merlin.Speak("\\emp\\Bonne \\emp\\séance!");
    Merlin.Play("domagic1");
    MsgPlus.AddTimer("ToastA", 20000);
}

function OnEvent_Timer(TimerId){
    if(TimerId == "ToastA") {
        MsgPlus.DisplayToast("Clavardage","Bonne séance!","\\C:\\WINDOWS\\Media\\ding.wav");
    }
    if(TimerId == "ToastB") {
        MsgPlus.DisplayToast("Clavardage","Au revoir!","\\C:\\WINDOWS\\Media\\ding.wav");
    }   
}

function OnEvent_ChatWndDestroyed(ChatWnd){
    if(Messenger.CurrentChats.count <= 1){
        if(Merlin.Visible == false) {
               Merlin.show();
        }
    Merlin.Speak("\\Spd=200\\Seigneur, vous venez de fermer votre fenêtre de clavardage à "+TimeD()+"!");
    Merlin.Speak("À plus tard!");
    Merlin.Play("wave");
    Merlin.Speak("\\spd=200\\Je vais faire le plein de la \\Emp\\MANA!");
    MsgPlus.AddTimer("ToastB", 10000);
    Merlin_RunningOFF();
    }
}

Interop.Call('user32', 'Sleep 100' it Jam the prosses for next indtance.

This post was edited on 03-14-2007 at 05:01 AM by xsylvain2.
03-11-2007 05:55 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[ Dalay ] The best for make a delay for Merlin type script - by xsylvain2 on 03-08-2007 at 05:11 PM
RE: I want to create a loop for message toast later - by RaceProUK on 03-08-2007 at 06:06 PM
RE: I want to create a loop for message toast later - by vikke on 03-08-2007 at 06:16 PM
[ - Here - ] - by xsylvain2 on 03-11-2007 at 05:55 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