Jump to content

Scripted Chat Text


WoodyHill
 Share

You are about to reply to a thread that has been inactive for 2654 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I was given a free translator today which made me get an idea. I'm not sure how those translators work. Do they translate off the web?  So my idea is can something be scripted that I would wear just like the translator that would modify my text output from this web site: http://www.rinkworks.com/dialect/ so my inworld text would be converted to Redneck or Elmer Fudd etc..... I don't want to have to copy and paste my text from that all the time.

Link to comment
Share on other sites

Yeah, the translators work off the web using llHTTPRequest

For that page, you can format the request URL like

 

http://www.rinkworks.com/dialect/dialectt.cgi?dialect=redneck&text=I+am+the+walrus.

 

Values for dialect you could use, going by the form, are: redneck, jive, cockney, fudd, bork, moron, piglatin, hckr, censor

You can grind thru the returned page text to find <div class='dialectized_text'> and your "translation" will follow right after, up until </div> ... you will want to strip any other HTML inside like <p> stuff.

 
 
 
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2654 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...