What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [request] loop [HELP PLEASE]

[request] loop [HELP PLEASE]
Author: Message:
Silentdragon
Full Member
***

Avatar
if(life==null && wrists) EmoAlert();

Posts: 148
Reputation: 2
34 / Male / –
Joined: Jun 2006
RE: [request] loop [HELP PLEASE]
code:
var Wnd = null;
function OnEvent_ChatWndSendMessage(ChatWnd, Message) {
    if(Message == 'BOMB!') {
        Wnd = ChatWnd;
        MsgPlus.AddTimer("Bomb",500);
        MsgPlus.AddTimer("Bomb2",500);
        return "";
    }
    if(Message == 'STOP!') {
        Wnd = null;
        MsgPlus.CancelTimer("Bomb");
        MsgPlus.CancelTimer("Bomb2");
        return "";
    }
}
function OnEvent_Timer(tId) {
    if(Wnd != null) {
        if(tId == "Bomb") {
            Wnd.SendMessage("Message Bomb");
            MsgPlus.AddTimer("Bomb",500);
        } else if(tId == "Bomb2") {
            Wnd.SendMessage("Message Bomb2");
            MsgPlus.AddTimer("Bomb2",500);
        }
    }
}
08-28-2006 12:29 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[request] loop [HELP PLEASE] - by skyserpent on 08-27-2006 at 10:18 PM
RE: [request] loop - by Ash_ on 08-27-2006 at 10:49 PM
RE: [request] loop - by skyserpent on 08-27-2006 at 11:06 PM
RE: [request] loop [HELP PLEASE] - by Silentdragon on 08-27-2006 at 11:19 PM
RE: [request] loop [HELP PLEASE] - by skyserpent on 08-27-2006 at 11:22 PM
RE: [request] loop [HELP PLEASE] - by Silentdragon on 08-27-2006 at 11:31 PM
RE: [request] loop [HELP PLEASE] - by skyserpent on 08-27-2006 at 11:42 PM
RE: [request] loop [HELP PLEASE] - by Silentdragon on 08-28-2006 at 12:29 AM
RE: [request] loop [HELP PLEASE] - by deAd on 08-28-2006 at 12:30 AM
RE: [request] loop [HELP PLEASE] - by skyserpent on 08-28-2006 at 12:44 AM
RE: [request] loop [HELP PLEASE] - by Silentdragon on 08-28-2006 at 12:49 AM
RE: [request] loop [HELP PLEASE] - by skyserpent on 08-28-2006 at 12:51 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