What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Event happening every x minutes

Event happening every x minutes
Author: Message:
RoGx
New Member
*


Posts: 1
Joined: Apr 2005
O.P. Event happening every x minutes
Hello,

I just started programming my own plugin. I need to know if there's a way to tell Messenger Plus to run my plugin every like 5 minutes

I want my plugin to show my counter-strike ip address beside my nick. So every 5 minutes, it will look for a different ip, if its different, it changes the nick. If not, it does nothing.

So I need to know how to execute a command every x minutes.

Thanks!
04-10-2005 11:32 PM
Profile E-Mail PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
43 / Male / Flag
Joined: Jan 2003
RE: Event happening every x minutes
No, Plus can't do that; but maybe Windows can help you. You should call the API SetTimer. The way of doing that depends on the language you're programming the plugin. You can find more info about that API in http://msdn.microsoft.com/library/default.asp?url...tions/settimer.asp and searching it in Google :)
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
04-11-2005 08:07 PM
Profile PM Find Quote Report
(CyBeRDuDe)
Senior Member
****


Posts: 512
Reputation: 21
38 / Male / –
Joined: Jul 2003
RE: Event happening every x minutes
Doing VB? or c++?...
I don't know about c++, but in vb you can do this:
Create a plugin using the plugin api from the msgplus.net, then add a form, and add a timer to that form... Make sure the plugin is still set to start on the plugin class... Then in initilize just enable the timer...
In timer just call the SetNewName api and there you go! :D..
04-11-2005 09:01 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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