Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Talk Like A Pirate Day - pirate translation script

Kiwini Oe
Registered User
Join date: 22 Sep 2005
Posts: 13
09-19-2006 08:15
Vier Zamin and EZ Martin created a script and are hosting a service to allow in-world translations to pirate talk. They plopped the script into a parrot, wore on the shoulder, and it translates your chat channel to pirate. Check it out!

http://www.clearnightsky.com/node/256

====================
From the link
====================
September 19th is Speak Like a Pirate Day. In honor of this festive occasion, I would like to offer the following service. A PHP script hosted on our servers that translates "normal" speak into piratespeak, and a matching Second Life script that uses the service for in-world translation.

Here's how it works. You talk to the parrot on a private channel. It speaks your words in piratespeak outloud.

To make your own pirate parrot...
  1. first, get a parrot. I got mine on Parrot Island.
  2. Put the pirate script into the parrot.
  3. Give the parrot an appropriate name.
  4. Wear the parrot on your shoulder.
  5. Prefix your chat messages with /741 so the parrot can hear you.

CODE

key speakerKey;
key requestid;
default
{
state_entry()
{
llListen(741, "", llGetOwner(), "");
}

listen(integer channel, string name, key id, string message)
{
speakerKey = id;
message = llToLower(message);
requestid = llHTTPRequest("http://donnigan.clearink.net/lslpirate/index.php?input="+llEscapeURL(message),[HTTP_METHOD,"GET"],"");

}
http_response(key request_id, integer status, list metadata, string body)
{
llSay(0,body);
}

}
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
Discussion
09-19-2006 08:46
See the original post at http://www.clearnightsky.com/node/256
_____________________
i've got nothing. ;)
Vares Solvang
It's all Relative
Join date: 26 Jan 2005
Posts: 2,235
09-19-2006 09:52
Ar, tank ye fer ta script matey! I be havin loads a fun wit it.
_____________________