Last active
August 11, 2021 19:08
-
-
Save fixator10/a2fc0f8a5a4fcef8ff6e4d5e2998dad0 to your computer and use it in GitHub Desktop.
[GMod][Expression2][E2power]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@name Google Chat To Voice by Fixator10 | |
##User-Variables|Config## | |
Lang="en-us" #Language like a "en-us" | |
IE="utf-8" #Encoding - Standart "UTF-8" | |
V=100 #Volume | |
######################### | |
O=owner() | |
E=entity() | |
LS=O:lastSaid() | |
runOnChat(1) | |
#hideChat(1) # Remove "#" at begin of the line to hide your input | |
soundURLpause(1) | |
soundURLload(1,"http://translate.google.com/translate_tts?ie="+IE+"&q="+LS+"&tl="+Lang+"&client=tw-ob",V,0,O) | |
# May not work since some time. Google requires captcha to use this, so... | |
# So i use "tw-ob" client to do this. I doesn't know how this is working, but sometimes it can fails |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@name Google Chat To Voice by Fixator10 | |
Lang="ru" | |
V=1000 #Volume | |
O=owner() | |
E=entity() | |
LS=O:lastSaid() | |
Name = O:name() | |
runOnChat(1) | |
runOnHTTP(1) | |
chatClk(owner()) | |
soundURLpause("1") | |
httpRequest("http://cc.suka.lol/"+"http://translate.google.com/translate_tts?ie=utf8&q="+httpUrlEncode(LS)+"&tl="+Lang+"&client=tw-ob") | |
if (httpClk()){ | |
soundURLload("1",httpData(),V,0,O) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
o hai
that thing isn't fixed by me, it just uses my link shortener.
anyway url has changed from http://palisan.suka.nu/cc/*link* to http://cc.suka.lol/*link* so you need to edit this. %)