I want to build a plugin that integrates the Prowl API's into miranda.
For example, if I receive an instant message and my protocol status is AWAY then I'd like to format the message and send it to my iPhone via the prowl API.
There are a couple of ways to do this:
1 - Use the .Net prowl api's from http://prowl.weks.net/api.php and http://prowldotnet.codeplex.com/ to build a "real" miranda plugin .dll.
2 - Build a miranda plugin that is able to pass the contact name, message, and date/time the message was received off to a batch file. Then in this batch file I could use any of the prowl API's (perl, for example) to send the message to my iPhone.
I am clueless on how to write such a plugin as I have never tried a miranda plugin before. I looked at the mBot plugin and that worked but it is old and probably will not be recompile for MIM v9 and x64.
I am thinking of something that starts like the tiggerplugin, messagenotify plugin, or even the FDD notify plugin but is modified to do a different action.
Ideally I see the plugin letting me pick which protocol(s) and which status(s) to trigger the sending of the message to prowl. For example, for the jabber protocol if I am in the away status the sent the message to prowl.
Is anyone up to the challenge to help me build this?

Reply With Quote

Bookmarks