Well made an actual dialog version.
I did change the client from.. client.customcolors to client.clrdialog_customcolors, to reduce the chance of collision with other scripts to a minimum.
My test script:
PHP Code:
//#CLIENTSIDE
function onCreated() {
temp.newcolors = findweapon("-ColorDialog").getColor();
player.chat = temp.newcolors;
}
I've included other examples of how it can be used in the script itself.