Welcome to forums, please use CODE TAGS as per forum rules for commands/codes/Inputs you are posting into your post. Coming to your question now, could you please try following and let me know if this helps you.
To thank any person in forums, you could HIT THANKS button at left corner of each post. Also please use CODE TAGS for your shown sample Inputs. Could you please try following and let me know if this helps you.
Yes, we could do multiple conditions in a single command. If you have questions feel free to ask(if different may be in a new thread), request you to take sometime to write your post and use CODE TAGS(see my post how commands are different than text that is because of code tags). Let me know if you have any queries.