Ulysses Stuff > Releases
Custom Chat Colors
Adult:
Just something I made when I was bored. Allows you to have custom chat colors.
ulx chatcolor # # # - sets your chat color.
ulx setcolor <ply> # # # - sets target's chat color, admin only
ulx removecolor <ply> - removes target's chat color, admin only
Enjoy!
Nightmare2244:
Every time I type !chatcolor 255. It never sets it.
Bite That Apple:
--- Quote from: Nightmare2244 on February 09, 2013, 06:35:53 PM ---Every time I type !chatcolor 255. It never sets it.
--- End quote ---
I don't think you can do that. It looks like you can only do it through console or xgui maybe. Not sure, didn't download it or anything.
JamminR:
--- Quote from: chaos13125 on February 09, 2013, 07:24:55 PM ---I don't think you can do that.
--- End quote ---
Adult has the chat command fine. (at least, from my QUICK check.
The command requires 3 numbers. # # #, just like the instructions in the original post say.
Nightmare would have to have !chatcolor 255 255 255 for it to work.
It should have come back with an error telling him he was missing parameters.
Adult, your addons.txt isn't named right.
It has two .txt on it addons.txt.txt
May want to fix that.
Bite That Apple:
--- Quote from: JamminR on February 09, 2013, 08:03:58 PM ---Adult has the chat command fine. (at least, from my QUICK check.
The command requires 3 numbers. # # #, just like the instructions in the original post say.
Nightmare would have to have !chatcolor 255 255 255 for it to work.
It should have come back with an error telling him he was missing parameters.
--- End quote ---
I see that now
local setcolor = ulx.command( "Chat", "ulx setcolor", ulx.setcolor, "!setcolor" )
and also
local removecolor = ulx.command( "Chat", "ulx removecolor", ulx.removecolor, "!removecolor" )
pretty cool man, when I get back from vacation this weekend I'll check it out and see if I'm getting the same problem as Nightmare. From what I'm assuming Jammin is most likely correct, and you have to do !setcolour # # #, because leaving the parameters blank causing nil values I believe.
My suggest for this addon is this. If someone for some strange reason forgets to fill the rest of it aka just doing !setcolour 100, then it should send some sort of AddChat to local player saying they changed it... actually wait before I even say that... When someone does !setcolour does it change everyone's chat colour, or just person who typed it? (reminder I didn't really even check the code that much, just briefly looked at it)
Navigation
[0] Message Index
[#] Next page
Go to full version