Condition list where ALL or ANY conditions are required
F1reP0wer12345 opened this issue ยท 0 comments
Thanks for taking the time to open a feature request!
Is your feature request related to a problem? Please describe.
I'm working on an item that requires multiple contitions to be met before the commands are being executed. Currently this doesn't seem possible, but perhaps this is someting you can work on.
Describe the solution you'd like
A clear and concise description of what you want to happen.
A simple toggle to select between any or all contitions to be applied, before executing commands (and if youhave time, the other conitions as well). A simple example would be:
inventory-left-conditions:
- '%mypet_ishungry%:equal:true'
- '%other_placeholder%:notequal:VALUE'
- '%other_placeholder%:over:600'
- '%other_placeholder%:under:500'
inventory-left-fail-message: '&cYou cannot execute that command until you feed your pet more.'
inventory-left-list-type: ANY/ALL
ANY requires one or more of the conditions to be met before executing the commands.
ALL requires every conditions to be met before executing the commands.
If you have time, this feature would be greatly appreciated. Any workarounds you know of woud also be greatly appreciated for the time being.