if(type==1)
if((type==1) && (!gmpages[cn].handled))
void donewithcall(int s, int type){	P_CHAR pc_currchar = currchar[s];	int cn = pc_currchar->callnum;	if(cn!=0) //Player is on a call	{		if(type==1) //Player is a GM		{			gmpages[cn].handled=1;			gmpages[cn].name.erase();			gmpages[cn].reason.erase();			gmpages[cn].serial = 0;			sysmessage(s,"Call removed from the GM queue.");		}		else //Player is a counselor		{			counspages[cn].handled=1;			counspages[cn].name.erase();			counspages[cn].reason.erase();			counspages[cn].serial = 0;			sysmessage(s,"Call removed from the Counselor queue.");		}		pc_currchar->callnum=0;	}	else	{		sysmessage(s,"You are currently not on a call");	}}