libpurple patch to extend the purple::cmd Tcl command

As of Pidgin 2.1.1, the Tcl plugin can only register and unregister commands using the purple::cmd Tcl command. However, without the ability to execute commands, it’s pretty pointless. So, here’s a patch to add the subcommands “do”, “help” and “list” to purple::cmd. I’ve submitted this as Ticket 2873.

If you’d like to try this out, here’s a Win32 build of tcl.dll for Pidgin 2.1.1 after applying this patch:

Just extract that into your Program Files\Pidgin\plugins directory, after making a backup copy of your old tcl.dll, of course.

If you have any questions about or concerns with this patch, let me know in the comments below. Thanks!

Tags: , ,

Speak Your Mind