Does the output of the Exec plugin in HexChat fire an event? reddit / irc ---------------------------------------------------------------------- DANgaming · 2016-02-27 14:38 I'm using the [Exec plugin](http://hexchat.readthedocs.org/en/latest/addons.html#exec) to execute a command in HexChat. I would like to parse the output that is printed by Exec in my plugin. I guess that Exec uses `hexchat_print`. Does `hexchat_print` fire a text event that can be caught with `hexchat_hook_print` or is there any other way to parse the output of Exec? ***** EDIT: I kind of solved it buy using the -O parameter for Exec (example: `/exec -O dostuff.bat`), that causes Exec to say the output in chat instead of printing it. Unfortunately `return EAT_ALL` doesn't work for Exec's output, so I have to use the echo command a lot with `@echo OFF` in my batch file. Still better than nothing, though. ---------------------------------------------------------------------- j4jackj · 2016-03-28 03:24 Holy gosh. That sounds jank.