I use Irssi to chat on IRC in the terminal using MacPorts. I was wondering if it was possible to talk to Irssi via Applescript. All I would have to do is tell Terminal to input 'whatever' to execute commands on the program (such as say something), but how do I do that?