having pidgin run commands from the im windows?

Sadrul Habib Chowdhury imadil at gmail.com
Sun Dec 2 02:44:40 EST 2007


* Conor Fitzsimons had this to say on [01 Dec 2007, 23:36:37 -0500]:
> i was just wondering if it was possible... or easy to implement a solution
> to either use/modify the text replacement plugin... or in some other way,
> enable a user to type someting like /exit, into an im window and have it
> either close the window/go away/close pidgin.  and from that then have
> commands like /join, where you could add other users to the chat (send them
> an invitation to join)
> 
> if there is an easier way to do this, or if it already exists let me know

It sounds like you want to use the command API in purple. Look at the
uses of purple_cmd_register in pidgin source.

We can probably have a 'Command API How-To'. John? :D

Sadrul




More information about the Devel mailing list