After finding mountaindew's translator working with mIRC I was determined to get google translate to work with mIRC. I found another script on swiftirc wich performed very well using binvars. Since then I have modified the script so it works without problems. After mIRC got an update to allow longer lines I was able to remove the binvars and replace them by normal regexes.