if( pChar->account() ) pChar->account()->removeCharacter( pChar ); Npcs->DeleteChar( pChar );
else if( ( key == "amount" ) && pItem && ( hex2dec( value ).toULong() > 0 ) ) pItem->setAmount( hex2dec( value ).toULong() );   else if( key.left( 4 ) == "tag." ) { QString tagName = key.right( key.length() - 4 ); bool ok = false; hex2dec( value ).toInt( &ok );  if( !ok ) pObject->tags.set( tagName, cVariant( value ) ); else pObject->tags.set( tagName, cVariant( hex2dec( value ).toInt() ) );
	virtual void responsed( cUOSocket *socket, cUORxTarget *target )	{		P_CHAR pChar = FindCharBySerial( target->serial() );		P_ITEM pItem = FindItemBySerial( target->serial() );		if( pChar )		{			if( pChar->socket() )			{				socket->sysMessage( "You cannot delete logged in characters" );				return;			}			if( pChar->account() )				pChar->account()->removeCharacter( pChar );			Npcs->DeleteChar( pChar );		}		else if( pItem )		{			Items->DeleItem( pItem );		}		else			socket->sysMessage( "You need to select either an item or a character" );	}