# colour_chat A minetest CSM mod for changing the colour of text sent to the server. [First version](https://github.com/red-001/colour_chat) was made by red-001, more features were added by me. Pastel added by dhausmig. ## chat commands: (note: all colours must be a 6 letter hex code with a "#" - eg: "#ffffff") .get_colour - get the hex value from a colour name .get_color - same as get_colour, but with different spelling .set_colour [ [ []]] - Set the default chat colour to either one solid colour, or a fade between two colours. 'times' is how many times to fade between them. Leave blank to reset to white. .set_color [ [ []]] - same as .set_colour, but with american spelling. .rainbow - send a message with rainbow colours. .pastel - similar to rainbow, but easier to read. .alternate [ ] - alternate between two colours. .fade [] - fade message between two colours, fade multiple times - works with long messages!! .custom - send a message with custom colour changes. Use "#------" anywhere in the text to change colours. .msg - send a private message, the same as "/msg", but with your colours applied to it .mw - send a message with a red "MODERATOR WARNING: ". .say - send a plain, white message. - [Forum Topic](https://forum.minetest.net/viewtopic.php?f=53&t=20152) changes: - messages can fade through colours multiple times - short messages don't fade - .alternate uses users colours instead of red and green if no parameters are given - moderator warning now gives a warning before sending the message - comments and code cleaned up a little