I won't do everything for you, since its not marketplace, but request HELP not ready code section.
So here is code to open doors:
private static void openDoors(List<Integer> doors)
{
for (int doorId : doors)
{
L2DoorInstance doorInstance = DoorTable.getInstance().getDoor(doorId);
if (doorInstance != null)
{
doorInstance.openMe();
}
}
}
Just create proper LIST with door ID's which should be opened, and create proper task for it (task manager is explained, use search)