I want to create a nested condition on IFTTT or otherwise (2014)

Many things have changed in the last 4 years including community-created code and official features. You would not need a third party app unless you were trying to communicate with a device that doesn’t have SmartThings integration. Otherwise you could do everything the OP asked with WebCore or the Rules API. See the community-FAQ: