Change the else part in the on sockopen event with:
Code:
  else {
    ;the GET request, that use what we originally stored in the mark
    var %s sockwrite -n trans,set %trans.lang $gettok($readini(languages\settings.ini,selected,$ini(languages\settings.ini,selected,1)),1,44)
    %s GET $+(/translate_a/t?client=t&text=,$sock(trans).mark,&hl=en&sl=en&tl=,%trans.lang,&multires=1&prev=btn&ssel=3&tsel=0&sc=1) HTTP/1.1
    %s Host: translate.google.ca
    %s Connection: close
    %s User-Agent: Mozilla/5.0
    %s
    ;delete the mark (used later for another purpose)
    sockmark trans
  }


#mircscripting @ irc.swiftirc.net == the best mIRC help channel