}
s = strcat("^3", s);
}
- localcmd("\n", autocvar__cl_hook_print, " ", itos(flags), " ", console_encode(s), "\n");
+ localcmd("\n", autocvar__cl_hook_print, " ", console_encode(s), " ", itos(flags), "\n");
} else {
print(ColorTranslateRGB(strMessage));
}
{
case CMD_REQUEST_COMMAND:
{
- int flags = stoi(argv(1));
- string s = console_decode(substring(command, argv_start_index(2), argv_end_index(-1)));
+ string s = console_decode(substring(command, argv_start_index(1), argv_end_index(1) - argv_start_index(1)));
+ int flags = stoi(argv(2));
s = ColorTranslateRGB(s);
string prefix = (flags & NOTICE_CHAT) ? "\{3}" : "";
if (!(flags & NOTICE_SILENT)) {