What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » StopWatch (AFKTime Counter)

StopWatch (AFKTime Counter)
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: StopWatch (AFKTime Counter)
quote:
Originally posted by NorteX
woaaa... i tested the second one... if i type counter its very nice but it dont stop to send xD it sends 10000000 sentences with the AFK time xD


how can i fix this? that its only typed once?
You might want to try the updated code. After a brief look I saw that matty's code had an infinite loop in it, so I have implemented a simple workaround. When a message is sent by the user, a global variable "bOwnMessage" will be set to true for 1 second, and because of the nature of the OnEvent_ChatWndReceive event it'll immediately trigger that event. In our event, we then check the value of bOwnMessage to see whether this message was sent by the user or a contact and use that to decide whether to send a message or not.

So well, try the updated code! :P
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
03-25-2009 07:00 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
StopWatch (AFKTime Counter) - by NorteX on 03-25-2009 at 04:49 PM
RE: StopWatch (AFKTime Counter) - by matty on 03-25-2009 at 06:15 PM
RE: StopWatch (AFKTime Counter) - by Matti on 03-25-2009 at 06:45 PM
RE: StopWatch (AFKTime Counter) - by matty on 03-25-2009 at 06:50 PM
RE: StopWatch (AFKTime Counter) - by NorteX on 03-25-2009 at 06:54 PM
RE: StopWatch (AFKTime Counter) - by Matti on 03-25-2009 at 07:00 PM
RE: StopWatch (AFKTime Counter) - by NorteX on 03-25-2009 at 07:01 PM
RE: StopWatch (AFKTime Counter) - by Matti on 03-25-2009 at 07:04 PM
RE: StopWatch (AFKTime Counter) - by matty on 03-25-2009 at 07:05 PM
RE: StopWatch (AFKTime Counter) - by NorteX on 03-25-2009 at 07:21 PM
RE: StopWatch (AFKTime Counter) - by matty on 03-25-2009 at 07:52 PM
RE: StopWatch (AFKTime Counter) - by NorteX on 03-25-2009 at 08:05 PM
RE: StopWatch (AFKTime Counter) - by NorteX on 03-25-2009 at 11:52 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