What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [help] AddTimer to change var

[help] AddTimer to change var
Author: Message:
alexp2_ad
Scripting Contest Winner
****

Avatar
Who love the chocolate?

Posts: 691
Reputation: 26
37 / Male / –
Joined: May 2004
Status: Away
RE: [help] AddTimer to change var
code:
var gepraat = Array();

function OnEvent_ChatWndReceiveMessage(ChatWnd,Origin,Message,MessageKind)
{

if(MessageKind == 1 && Messenger.MyStatus == 7 && Messenger.MyName != Origin && gepraat[Origin] != true)
{

var Message = "Hoi " + Origin +". \n Hier komt zo te staan wat je kan doen:\n 1. Niks\n 2. Ook niks\n 3. Nog steeds niks."
ChatWnd.SendMessage(Message);
gepraat[Origin] = true;
MsgPlus.AddTimer('reset',10000);
}
}

function OnEvent_Timer(sTimerId){
if(sTimerId == 'reset'){ gepraat[Origin] = false; }
}


Should do the trick...
06-28-2006 12:38 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[help] AddTimer to change var - by laurenz on 06-28-2006 at 12:27 PM
RE: [help] AddTimer to change var - by Eljay on 06-28-2006 at 12:37 PM
RE: [help] AddTimer to change var - by alexp2_ad on 06-28-2006 at 12:38 PM
RE: RE: [help] AddTimer to change var - by laurenz on 06-28-2006 at 02:04 PM
RE: [help] AddTimer to change var - by Eljay on 06-28-2006 at 02:11 PM
RE: [help] AddTimer to change var - by laurenz on 06-28-2006 at 05:01 PM
RE: [help] AddTimer to change var - by Mr. Bougo on 06-28-2006 at 06:20 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