Code:
set_event_counter tile_to_use 0
;tile 1
if not I_FactionNearTile venice 0 143, 252
and not I_FactionNearTile sicily 0 143, 252
and not I_FactionNearTile milan 0 143, 252
and not I_FactionNearTile france 0 143, 252
and not I_FactionNearTile england 0 143, 252
and not I_FactionNearTile egypt 0 143, 252
and not I_FactionNearTile hre 0 143, 252
and not I_FactionNearTile scotland 0 143, 252
and not I_FactionNearTile mongols 0 143, 252
and not I_FactionNearTile portugal 0 143, 252
and not I_FactionNearTile spain 0 143, 252
and not I_FactionNearTile moors 0 143, 252
and not I_FactionNearTile slave 0 143, 252
set_event_counter tile_to_use 1
end_if
;tile 2
if I_EventCounter tile_to_use == 0
and not I_FactionNearTile venice 0 144, 252
and not I_FactionNearTile sicily 0 144, 252
and not I_FactionNearTile milan 0 144, 252
and not I_FactionNearTile france 0 144, 252
and not I_FactionNearTile england 0 144, 252
and not I_FactionNearTile egypt 0 144, 252
and not I_FactionNearTile hre 0 144, 252
and not I_FactionNearTile scotland 0 144, 252
and not I_FactionNearTile mongols 0 144, 252
and not I_FactionNearTile portugal 0 144, 252
and not I_FactionNearTile spain 0 144, 252
and not I_FactionNearTile moors 0 144, 252
and not I_FactionNearTile slave 0 144, 252
set_event_counter tile_to_use 2
end_if
;tile 3
if I_EventCounter tile_to_use == 0
and not I_FactionNearTile venice 0 145, 252
and not I_FactionNearTile sicily 0 145, 252
and not I_FactionNearTile milan 0 145, 252
and not I_FactionNearTile france 0 145, 252
and not I_FactionNearTile england 0 145, 252
and not I_FactionNearTile egypt 0 145, 252
and not I_FactionNearTile hre 0 145, 252
and not I_FactionNearTile scotland 0 145, 252
and not I_FactionNearTile mongols 0 145, 252
and not I_FactionNearTile portugal 0 145, 252
and not I_FactionNearTile spain 0 145, 252
and not I_FactionNearTile moors 0 145, 252
and not I_FactionNearTile slave 0 145, 252
set_event_counter tile_to_use 3
end_if