diff --git a/resources/EasyFind/ZoneConnections.yaml b/resources/EasyFind/ZoneConnections.yaml index d6eb440..0d88d84 100644 --- a/resources/EasyFind/ZoneConnections.yaml +++ b/resources/EasyFind/ZoneConnections.yaml @@ -1158,7 +1158,23 @@ FindLocations: - type: ZoneConnection switch: 15 targetZone: greatdivide - replace: false + name: 'The Great Divide' + script: | + -- Wait for window to open and click the button on the right + mq.delay('10s', function() return mq.TLO.Window('LargeDialogWindow').Open() end) + if mq.TLO.Window('LargeDialogWindow').Open() then + mq.TLO.Window('LargeDialogWindow/LDW_NoButton').LeftMouseUp() + end + - type: ZoneConnection + switch: 15 + targetZone: greatdividetwo + name: 'Great Divide: ToV' + script: | + -- Wait for window to open and click the button on the left + mq.delay('5s', function() return mq.TLO.Window('LargeDialogWindow').Open() end) + if mq.TLO.Window('LargeDialogWindow').Open() then + mq.TLO.Window('LargeDialogWindow/LDW_YesButton').LeftMouseUp() + end - type: ZoneConnection switch: 8 targetZone: overthere