Author Topic: Modifying text through events  (Read 426 times)

I know <color:(hexcode)> and <font:(font):(fontsize), are there any other events that help edit text? (like Centerprint or Chatmessage

some of these don't work btw

Quote
<font:fontName:fontSize> - sets the font and fontsize as indicated. Example: <font:arial bold:20>
<tag:???> - not sure what this does
<color:rrggbb(aa)> - sets text color in hex format. Example: <color:ff0000> will display red text
<bitmap:filePath> - displays a bitmap image indicated by the file path. Example: <bitmap:base/client/ui/demoBanner>
<spush> - saves the current text formatting so that temporary changes to formatting can be made. Used with spop.
<spop> - restores the previously saved text formatting. Used with spush.
<sbreak> - not sure what this does
<just:left> - left justify
<just:right> - right justify
<just:center> - center justify
<a:ExternalURL>LinkTitle</a> - inserts a hyperlink into the text which will open the user's browser.
The external URL does not need the "http://" format. Example: <a:blockland.us>Blockland</a>
<lmargin: ##> - sets the left margin identation
<lmargin%: ##> - sets the left margin identation by % of the screen
<rmargin: ##> - sets the right margin identation
<rmargin%: ##> - sets the right margin identation by % of the screen
<clip:pixels> - cuts off text when it fills more than (pixels) pixels
<div:??> - makes a grey background for the text
<tab:##(,##,etc)> - sets the tab stops (multiple tabs are separated by commas)
<br> - Breaks the current line and begins a new one.
<shadow:x:y> - Gives the text a shadow offsetted by x and y.
<shadowcolor:rrggbb(aa)> - Sets the color of the text shadow.
<linkcolor:rrggbb(aa)> - Sets the color of a link.

You can actually get around it using VCE, but otherwise, you can't.

A lot of them are blocked, but color, font, font shadow, br, links, and link colors should work, I'm probably missing a few more