/*int messageSending(int *fd, struct map_session_data* sd) {
unsigned long *color1, color2;
char *tmp = sd->pc_readglobalreg_str(sd, "CHAT_COLOR$");
if(tmp != NULL)
color2 = strtoul(tmp, NULL, 0);
if(color2 1= "") // if CHAT_COLOR$ != ""
WFIFOL(fd,8) = (color2&0x0000FF) << 16 | (color2&0x00FF00) | (color2&0xFF0000) >> 16; // RGB -> BGR
else // if CHAT_COLOR == ""
WFIFOL(fd,8) = (color1&0x0000FF) << 16 | (color1&0x00FF00) | (color1&0xFF0000) >> 16; // RGB -> BGR
safestrncpy((char*)WFIFOP(fd,12), *mout, *mylen);
clif->send(WFIFOP(fd,0), WFIFOW(fd,2), &sd->bl, AREA_WOS);
}*/