Code:
new send[256];
setc(send, 4, 0xff)
copy(send[4], 255, "challenge")
new szCommand[ 32 ];
strtok( g_HLTV_recv, szCommand, charsmax( szCommand ), g_HLTV_recv, charsmax( g_HLTV_recv ), ' ', 1 );
server_print("[HLTV] Command: %s (%d) - %s (%d)",szCommand,strlen(szCommand),send,strlen(send));
if (equali(szCommand,send))
{
new temp[32];
gettok(temp,g_HLTV_recv,2,32);
replace(temp, 31, "^n", "")
server_print("%s %d",temp,str_to_num(temp));
g_HLTV_challenge=str_to_num(temp);
g_HLTV_Busy=0;
}