ID:176217
 
I would like to know if there is a way to disable just font size, so people could change thier text color and style, but nobody could make there text huge. As always any help would be greatly appreciated.
Look up the findtext() proc.

Use this to find "< font size = (whatever) >", and then remove it.

Or you could always do it this way;

html_encode() the actual message of the "say", and do something like this:
mob/var/color = "blue"
mob/verb
Say(T as text)
world << "[usr] says, \"<font color=[usr.color]>[html_encode(T)]\"</font>"
Change_Color(T as text)
usr.color = T


Hope that helps you.

~>Volte
In response to Volte
Thanks, that helps a lot. :)