Travian BBLetters

By Calmarius Last update Jul 26, 2008 — Installed 21,505 times. Daily Installs: 22, 18, 23, 20, 23, 20, 9, 22, 30, 14, 15, 22, 20, 24, 21, 11, 15, 17, 18, 19, 20, 20, 28, 11, 19, 25, 30, 30, 30, 19, 27, 9
Script Summary:
In Travian this script enables BBCode in your letters. Works when viewing letters.
Recently Updated TopicsPosts
Archived Comments14

this script has 1 topic, 14 posts

This script has no reviews.

When this script enabled you can use BBCode in your Travian letters.

Works on http//*.travian.*/nachricten.php* URL's and looks for a td HTML tag with colspan="3" attribute and modifies its content. That element possibly the letter content.

Following BB tags are supported:

[u]underlined[/u]
[i]italic[/i]
[b]bold[/b]
[url]Location URL[/url]
[url=URL]link name[/url]
[img]image URL[/img]
and
converts any URL to link.

Recently a powerful feature added to the script: many alliances uses coordinates in their directions. The script now places 3 links next to the coordinates: T means send troops, M means send merchant, C means center map.
So the coordinate (12|34) becomes to (12|34)[T M C]

Modified. I experienced that no one is used to parenthesize the coordinates so it now works not only paranthesized coordinates.

bugfix:Now it won't parse the letter if you write reply.
bugfix:now it handle the &-s correctly in URLs.
bugfix:images and url tags fixed.

I hope it is useful...