Hi all i was wondering if anyone knew how to set a org-agenda-custom-command for property AND TODO state? that is create a custom view that is similar to this sparse tree command:

C-c /  M   type="main"/COOK

where it would match on type=main and have a COOK todo keyword

best

Z

P.S in case anyone wonders wth im using it for :) im trying to auto generate a list of things to cook (todo word COOK) by type of meal so id generate a list for main dishes, breakfast etc :)