It's already built into any zone stamp (the parameters at least) as ROOM_DOORS_SURF and ROOM_WINDS_SURF
You just have to edit the script to display the text in plan. It can be as simple as:
room_open_surf = ROOM_DOORS_SURF + ROOM_WINDS_SURF
Text2 0, 0, room_open_surf