X-Chat 2 Shell Plugin
I wrote a X-Chat 2 Python Plugin today that allows you to run commands in a shell.
You can split a command you want to run into multiple lines by ending your input with a \ — just like you would do in a terminal. Newlines can be done using \n though …