Hook your actions up to their conditions with this sweeeet codes.