viewing paste Unknown #18705 | Athena

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13
ACMD(color) {
    if(!message || !*message) {
        clif->message(fd, "Usage: @color <color>");
        clif->message(fd, "<color> must be in hex format. Starting with 0x");
        clif->message(fd, "Example: @color 0x00FF00");
        return -1;
    } else {
        pc_setglobalreg_str(sd, "CHAT_COLOR$", message);
        clif->message(fd, "Color has been set.");
        return 1;
    }
 
}
Viewed 609 times, submitted by Guest.