if(isItemSerial(serial)) { pi = FindItemBySerial(serial); if (pi != NULL) ItemSpecific(); else sysmessage(s,"That is not a valid item."); }
pi = FindItemBySerial(serial); if (pi != NULL) ItemSpecific();
	virtual void process()	{		makeSerial();		if(isItemSerial(serial)) // an item's serial ?		{			pi = FindItemBySerial(serial);			if (pi != NULL)				ItemSpecific();			else				sysmessage(s,"That is not a valid item.");		}		else		{			pc = FindCharBySerial(serial);			if (pc != NULL)				CharSpecific();			else				sysmessage(s,"That is not a valid character.");		}	}