Script Summary: Adds extra functionality to Lord of Ultima chat
Version: 1.9
Overview
Proof of Concept Script - extend the LoU-Chat, IGM and Forum posts with custom BBCode and emoticons
Features
- Hijack the Chat
- Implements emoticons
- Hijack and extend UBB-Code
- Social Gadjets: Like, Slap, Poke ...
More features will be added in the future.
Changelog
- 1.0 - initial
- 1.1 - fix dependency
- 1.2 - fix sample onNewMessage injection
- 1.3 - add [pre] - Text in a pre element is displayed in a fixed-width
- 1.3.1 - fix [pre] to match any character including newlines
- 1.4 - add social gadjets
- 1.4.1 - add version to greeting
- 1.4.2 - fix hide Error message
- 1.4.3 - fix wrong chat notify for empty string with emoticon
- 1.4.4 - minor fix, add some shortcuts and fix the devil ;)
- 1.5 - clear up code with JSLint, @see http://www.jslint.com/
- 1.6 - add youtube video and colors
- 1.6.1 - fix missing regex
- 1.6.2 - remove sizzlemctwizzle.com while its broken
- 1.7 - add competitors
- 1.8 - add social check and non ally protection
HowTo
Including an video, use the movie code from the YouTube URL in your browser. For example, http://youtube.com/watch?v=JFwCCL0Vh6U [youtube]JFwCCL0Vh6U[/youtube] Start the video on positive integer. This parameter causes the player to begin playing the video at the given number of seconds from the start of the video. [youtube=60]JFwCCL0Vh6U[/youtube]
Including an image within IGM or Forum [img]http://www.bbcode.org/images/lubeck_small.jpg[/img] Resizing the image [img=100x50]http://www.bbcode.org/images/lubeck_small.jpg[/img] Making the image clickable (in this case linking to the original image) [url=http://www.bbcode.org/images/lubeck.jpg][img]http://www.bbcode.org/images/lubeck_small.jpg[/img][/url]
- Use Emoticons
Just write ;)
- Use social gadjets
Just whisper to anyone :)
/whisper BloodHeart !LoU.Love /whisper BloodHeart !LoU.Like /whisper BloodHeart !LoU.Vote /whisper BloodHeart !LoU.Poke /whisper BloodHeart !LoU.Slap
!LoU.Slap and !LoU.Love are anonym ;)
Credits
Special thanks to Ben Alman http://benalman.com/projects/javascript-emotify



