if (debug >= 3) {  log_info ("I've got %s\n", chat_name);  }
if (debug >= 3) log_info ("I've got %s\n", chat_name);
void process_raw_text (const char *data) {  int len;  int len2;  int PM=0;  //char name[40];  char *loc;  char chat_seperator[5];  strcpy (chat_seperator, ":");  if (debug >= 2) {  	log_info ("%s\n", data);  }  if ((unsigned char) data[0] != 128 + c_red1) return;  if (debug >= 3) {  	log_info ("Looks like chat...\n");  }  if (strncasecmp (data+1, "[PM from ", 9) == 0) {  	PM=1;    len = strlen (boss_name);	loc = strstr(data, chat_seperator);	if (debug >= 3) {		log_info ("I got a PM!\n");	}  	len2 = loc-data - 10;  	strncpy (chat_name, data+10, len2);  	strcpy (chat_name+len2, "\0");  	  	if(!strcmp(my_name, chat_name))return; // Don't talk to myself  	if (debug >= 3) {		log_info ("I've got %s\n", chat_name);  	}  	if (strncasecmp (data+10, boss_name, len) == 0) {		if (debug >= 3) {  			log_info ("It's from the boss!\n");		}		if (strcasecmp (data+10+len, ": #die]") == 0) {                        if (debug >= 3) {                                log_info ("The boss wants me to quit!\n");                        }                        send_pm ("%s Yes sir, %s\0", chat_name, chat_name);                        send_raw_text ("%s\0", quit_message);                        exit_connection (EXIT_ALL);                        exit (0);                }		if (strcasecmp (data+10+len, ": #move]") == 0) {                if(pseudo_pf_find_path(50, 50)) {                     return;                }        }  	}  	else {		if (debug >= 3) {  		log_info ("Not the boss\n");		}		// one of these days I want to make this message configurable without recompiling		//send_pm ("%s I'm just a bot, and only %s can tell me what to do.\0", chat_name, boss_name);	}	//len=strlen(chat_name);	if(PM!=0) process_text_message(data+10+len2+2,1);	//else process_text_message(data+1,0);  } }