I play with a lot of spanish people and my spanish is kind of rough, but I would like to be able to know what they are saying.
I've been using Google's translator thus far. So, I wanted to build Google Translate into Trem. I found this translator:
http://translate.reference.com/translate?query=[%s]&src=es&dst=en&v=1.0I opted for this translator because it is easy to form a URL, and the resulting page is parseable - unlike with Google Translate, the source of the page changes to reflect the translated text. So, it's easy to form a URL on-the-fly, and the resulting page source is (relatively) easy to parse. Now that I have a program to work with, I need to put this code into the tremulous console. Ideally, it would be a command like
\translate text+to+be+translated
The page would be called, source would be parsed, and text would returned to console. (hopefully)
tl;dr: how do i put a program i made into the console