Piratey
Ahoy thar' lads. Thi' wee thing will turn your chat text in t' Pirate speech. Ye can now also slur your speech like drunken sailor (wi'out the swearin' tho').
Tha's right ya scallywags, ya need not know how to Cap'n a ship to speak like one.
Alas, 'tis not International Speak Like A Pirate Day. But ye be prepare for it now tho'
------------
I cooked this up real quick because of a comment by MMOCowboy in a thread about language translation. Thought I'd have a little fun.
When you first start the game, the add-on will load but will not translate automatically.
The slash commands:[indent]
/piratey Toggles add-on on/off. This is useful in case you need to talk to a GM etc.
/piratey pirate toggles pirate speak on/off
/piratey drunk toggles drunken slurring on/off
[/indent]
The default is to have pirate speech on and slurring off. Again, the add-on starts with all translations turned off.
New for version 1.4:
Drunken Slurring
[indent]You can now have your text slurred like a drunken sailor, or just slurred without the pirate conversions. Your choice!
Also added directional tokens
$left$,
$right$,
$forward$,and
$back$
Due to the slurring mode, I added extra sub-commands to the slash command (see above)
[/indent]
New with version 1.3:
Pirate Sayings
[indent]Added some special tokens you can place in your text to give special pirate sayings (only a few for now).
Current tokens are
$attack$,
$insult$,
$cryout$,
$surprise$, and
$prepare$.
Try them out!
[/indent]
Cap'n's Log:
- v1.4
- Added drunken slurring!
- Added sub-commands to toggle translation modes (pirate, drunk)
- A few more code tweaks and minor bug fixes
- A few small dictionary updates
- Added pirate saying tokens $left$, $right$, $forward$, $back$
- v1.3
- Simplified the hooking system, should now also work for *any* add-on/macro sending chat as well.
- Fixed a problem with it not converting text between two or more hyperlinks.
- Some code optimization/tweaks.
- Yet more words added to dictionary
- Added pirate sayings!
- v1.2
- Forgot to actually not bother with convertion if turned off. D'oh! fixed now!
- v1.1
- Fixed order of word replacements. (now does multi-words first, as it should have)
- Added another capitalization rule.
- Removed the debug message when a hyperlink is in the text.
- Added more words to the dictionary
- v1.0
Anywho, here's the file (version 1.4):