Free tool
Text Board (Draw on a Prim)
Draw your own text onto a prim face: pick fonts, sizes, colours and spacing for each line, add a shadow, outline or border, and get the OpenSim script.
Make a text board: words drawn onto a prim face with osSetDynamicTextureData. Every line can have its own font, size, colour and style, with spacing, alignment, shadow, outline, border and word wrap. Optionally the owner can change the text in-world by touch or by chat command.
Preview
The preview uses your browser’s fonts and is approximate. In-world the script measures the real server font, so centring, wrapping and shrink-to-fit are exact there.
Lines of text
Click in a line, select some words, then format them with the toolbar: bold, italic, underline, strike, a font, a size or a colour — just for those words. With nothing selected it formats the word at the cursor. The boxes at the end of each line set that whole line’s look; “Reset” puts the line back to the board defaults.
Board defaults
Spacing and layout
Countdown timer
Put these in any line of text: %T the whole time left (e.g. 2d 03:04:05), or %D days, %H hours, %M minutes, %S seconds. Every redraw makes the sim build a new texture, so use the slowest refresh that looks right. Tick only the units you want %T to show. Units you leave out are folded into the next one down (hide days and 2 days 3 hours becomes 51h), and anything below the smallest shown unit is dropped. With the redraw tick on, the board redraws exactly when the shown time changes: pick a refresh that matches your smallest unit (1 hour for hours, 24 hours for days) and it changes on the real hour, or when the countdown crosses a whole day. Time is shown rounded up, so “2d” means two days or less to go. For a change on the wall-clock hour or midnight, set the countdown target to that time. The %D %H %M %S tokens always show their own value. A line you give its own colour, font, size or style in the list keeps it.
Effects, background and border
Texture and prim
Match the texture shape to your prim’s face, e.g. a 4 m × 2 m board suits 512 × 256. Sizes must be powers of two.
When someone clicks the board
Optional. Choose an action from the list and it is added straight away; add as many as you like and they run in order when someone touches the board. Leave it empty for a board that only shows text.
In any message you can use %N for the clicker’s name and %K for their key. Items you give or sounds you play must be inside the board prim’s contents.
Changing the text in-world
New text uses the style of your first line; type \n for a new line. The board redraws your lines above whenever the script starts or is reset. If you turn on touch editing, the owner’s touch edits instead of running the click actions, so test those from another avatar or leave touch editing off.
LSL script
Drop it into the prim you want to control. Always test in a safe spot first.
Share this board design
Copies a link that opens this page with all your lines, fonts, colours, countdown and click settings already filled in. Anyone with the link can tweak their own copy.
Before you use it
This script needs the OSSL functions osSetDynamicTextureData, osSetDynamicTextureDataBlendFace and osGetDrawStringSize. They are allowed at the lowest threat level, but the grid owner must enable the dynamic texture module (it is on by default). Use the OSSL Permission Checker to confirm, and keep to fonts that exist on the server — an unknown font can make drawing fail on some grids.