HungerMod if they are cooks?

Let me explain you what i want to do i want that the hungermod activates only when there is someone in the serv which is a cook?
Is it possible?
( BTW : Obviously i am dumb at LUA…)

yes its possible and its not hard to code that, i cant help you right now because i must head to bed.

SweetTea you are here?