rbraband / LoUBBCode

Adds extra functionality to Lord of Ultima chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LoUBBCode

Adds extra functionality to Lord of Ultima chat

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/

HowTo

  • 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

Userscript

http://userscripts.org/scripts/show/134067

About

Adds extra functionality to Lord of Ultima chat


Languages

Language:JavaScript 100.0%