case cChar::enPageCouns:
case cPlayer::enPageCouns:
bool InputSpeech( cUOSocket *socket, cChar* pChar, const QString &speech ){	if( pChar->inputmode() == cChar::enNone )		return false;	P_ITEM pItem = FindItemBySerial( pChar->inputitem() );	if( !pItem )		return false;	bool ok;	INT32 num = speech.toInt( &ok ); // Generally try to convert it	QString notification;	switch (pChar->inputmode())	{	// Pricing an item - PlayerVendors	case cChar::enPricing:		if (ok)		{			pItem->setPrice( num );			socket->sysMessage( tr( "This item's price has been set to %1." ).arg( num ) );		}		else			socket->sysMessage( tr( "You have to enter a numeric price" ) );		pChar->setInputMode(cChar::enDescription);		socket->sysMessage( tr( "Enter a description for this item." ) );		break;	// Describing an item	case cChar::enDescription:		pItem->setDescription( speech );		socket->sysMessage( tr( "This item is now described as %1." ).arg( speech ) );		pChar->setInputMode(cChar::enNone);		pChar->setInputItem(INVALID_SERIAL);		break;	// Renaming a rune	case cChar::enRenameRune:		pItem->setName( tr( "Rune to: %1" ).arg( speech ) );		socket->sysMessage( tr( "Rune renamed to: Rune to: %1" ).arg( speech ) );		pChar->setInputMode(cChar::enNone);		pChar->setInputItem(INVALID_SERIAL);		break;	// Renaming ourself	case cChar::enNameDeed: 		pChar->setName( speech );		socket->sysMessage( tr( "Your new name is: %1" ).arg( speech ) );		pChar->setInputMode(cChar::enNone);		pChar->setInputItem(INVALID_SERIAL);		break;	// Renaming a house sign	case cChar::enHouseSign:		pItem->setName( speech ); 		socket->sysMessage( tr( "Your house has been renamed to: %1" ).arg( speech ) );		pChar->setInputMode(cChar::enNone);		pChar->setInputItem(INVALID_SERIAL);		break;	// Paging a GM	case cChar::enPageGM:		{			cPage* pPage = new cPage( pChar->serial(), PT_GM, speech, pChar->pos() );			cPagesManager::getInstance()->push_back( pPage );			notification = tr( "GM Page from %1: %2" ).arg( pChar->name() ).arg( speech );						for ( cUOSocket *mSock = cNetwork::instance()->first(); mSock; mSock = cNetwork::instance()->next())				if( mSock->player() && mSock->player()->isGM() )					mSock->sysMessage( notification );								if( cNetwork::instance()->count() > 0 )					socket->sysMessage( tr( "Available Game Masters have been notified of your request." ) );				else					socket->sysMessage( tr( "There was no Game Master available, page queued." ) );								pChar->setInputMode(cChar::enNone);		}		break;			// Paging a Counselor	case cChar::enPageCouns:		{			cPage* pPage = new cPage( pChar->serial(), PT_COUNSELOR, speech, pChar->pos() );			cPagesManager::getInstance()->push_back( pPage );			notification = tr( "Counselor Page from %1: %2" ).arg( pChar->name() ).arg( speech );						for ( cUOSocket *mSock = cNetwork::instance()->first(); mSock; mSock = cNetwork::instance()->next())				if( mSock->player() && (socket->player()->isCounselor() || socket->player()->isGM()) )					mSock->sysMessage( notification );								if( cNetwork::instance()->count() > 0 )					socket->sysMessage( tr( "Available Counselors have been notified of your request." ) );				else					socket->sysMessage( tr( "There was no Counselor available, page queued." ) );								pChar->setInputMode(cChar::enNone);		}		break;	default:		break;	// do nothing	}		return true;}