RE: Timer in a plug-in
What messages?
Are you trying to say you want to send a message to the other user every 30 seconds or so?
About the active plugin, when you use a timer, you should start that in the sign-in event (see the Messenger API for that) and off course kill it in the sign-out event. Your callback function will be called every 30 seconds, so then your plugin is active. If you want to send a message to all users you have to find the input box and use API calls (sendchar or something like that) to send the text....
Is this an answer to your question?
|