Oxxy
New member
Building plugins under Windows
Building plugins under Linux
What this plugin does?:
It allows you to make your chat colored!
New commands:
2 script commands:*color2hex(var) - converts the decimal value into hex, showing the color in #HEXFORMAT (like #FF0000);*setcolor(var) - sets CHAT_COLOR variable to var value;
Changelist:
version 1.0: initial release
Screenshots:
Added other version of chat_color, now it doesn't disguise you and make you targetable, tho you can't see by yourself the color of your chat. That is done this way because the packet 0x2C1 actually was made to be used only by npcs. For you it will look like normal (green in chat, white above the head), others will see the true color(red, for example, if you set your @color 0xFF0000).
Example script to set color:
chat_color.c
chat_colorA.c
Building plugins under Linux
What this plugin does?:
It allows you to make your chat colored!
New commands:
2 script commands:*color2hex(var) - converts the decimal value into hex, showing the color in #HEXFORMAT (like #FF0000);*setcolor(var) - sets CHAT_COLOR variable to var value;
Code:
@color "HEX_COLOR";example usage: @color 0x0000FF - will set your chat color to Blue.
version 1.0: initial release
Screenshots:
Added other version of chat_color, now it doesn't disguise you and make you targetable, tho you can't see by yourself the color of your chat. That is done this way because the packet 0x2C1 actually was made to be used only by npcs. For you it will look like normal (green in chat, white above the head), others will see the true color(red, for example, if you set your @color 0xFF0000).
Example script to set color:
Code:
prontera,150,150,6 script chat color 700,{ mes color2hex(CHAT_COLOR); mes CHAT_COLOR; if(select("close:set color value") == 1) close; input .@a$; setcolor(axtoi(.@a$)); close;}
chat_colorA.c
Attachments
Last edited by a moderator: