UOXSOCKET s = ps->GetSocket();
UOXSOCKET s = ps->socket();
static void CnsTarget(P_CLIENT ps, P_CHAR pc){	UOXSOCKET s = ps->GetSocket();	if (SrvParams->gmLog())	{		// logging		sprintf((char*)temp, "%s.gm_log",currchar[s]->name.c_str());		sprintf((char*)temp2, "%s has made %s a Counselor.\n",currchar[s]->name.c_str(),pc->name.c_str());		savelog((char*)temp2, (char*)temp);	}	pc->setId(0x03DB);	pc->setSkin(0x8003);	pc->xid=0x03DB;	pc->setXSkin(0x8002);	pc->setPriv(0xB6);	pc->priv2='\x8D';	if (strncmp(pc->name.c_str(), "Counselor", 9))	{		sprintf((char*)temp, "Counselor %s", pc->name.c_str());		pc->name  = (char*)temp;	}	pc->setPrivLvl("counselor"); // counselor defaults	if (pc->account()==0) pc->setPrivLvl("admin");	MoveBelongingsToBp(pc, pc);}