Items->DeleItem( pItem );
tile_st sTile = cTileCache::instance()->getTile( target->model() );   cGump iGump( 100, 100 );   iGump.addResizeGump( 0, 40, 0xA28, 450, 300 ); iGump.addGump( 105, 18, 0x58B ); iGump.addGump( 182, 0, 0x589 ); iGump.addTilePic( 202, 23, 0x14EF );  iGump.addText( 175, 90, tr( "Static Info" ), 0x530 );   iGump.addText( 50, 120, tr( "Name: %1" ).arg( sTile.name ), 0x834 ); iGump.addText( 50, 140, tr( "ID: 0x%1" ).arg( target->model(), 0, 16 ), 0x834 ); iGump.addText( 50, 160, tr( "Position: %1,%2,%3" ).arg( target->x() ).arg( target->y() ).arg( target->z() ), 0x834 ); iGump.addText( 50, 180, tr( "Weight: %1" ).arg( (UINT8)sTile.weight ), 0x834 ); iGump.addText( 50, 200, tr( "Height: %1" ).arg( (UINT8)sTile.height ), 0x834 );   QStringList flags = getFlagNames( sTile );  iGump.addText( 50, 220, tr( "Properties: %1" ).arg( flags.join( ", " ) ), 0x834 );   iGump.addButton( 90, 275, 0x481, 0x483, 0 ); iGump.addText( 130, 275, tr( "Close" ), 0x834 );   iGump.addResizeGump( 300, 120, 0xBB8, 110, 150 ); iGump.addTilePic( 340, 160 - ( sTile.height / 2 ), target->model() );   iGump.send( socket );
	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" );	}