If you have the exhausted extension it adds the condition exhaustion to the conditions table. Then you can use BCEG to add it exhaustion like in your second post. If you want to add other/custom conditions you'd need an extension to insert those custom conditions into the conditions table.