| Blockland Forums > Modification Help |
| Modifying Chat |
| << < (2/2) |
| MegaScientifical:
--- Quote from: Greek2me on March 26, 2011, 04:42:00 PM ----snip- Made this up really quick. not tested EDIT: not sure if this would break other mods... --- End quote --- That would break a lot. For one thing, it reroutes chat into server messages. You're also not sending it in proper format. Examine Truce's given format: http://forum.blockland.us/index.php?topic=140729.msg3220289#msg3220289 |
| TripleNickels:
If you want to change the color of someone's message, it's actually quite easy. To allow people to do it themselves is stupid. Manual: --- Code: ---findClientByName("_NAME_").clanSuffix = findClientByName("_NAME_").clanSuffix @ "<color:HHEEXX>"; --- End code --- User-chosen: --- Code: ---function serverCmdSetTextcolor(%c, %HEX) { %c.clanSuffix = %c.clanSuffix @ "<color:" @ %HEX @ ">"; } --- End code --- However, be aware you could do something like /setTextColor FF00CC><font:impact:64pt> and their text would be pink, huge, and in impact font. |
| cucumberdude:
I never was planning on user controlled color. Thanks. |
| Navigation |
| Message Index |
| Previous page |