You don't have to say the entire statement every time, you know.
You are {if hadfood=true:{if haddrink=true:not}} hungry or thirsty.
Or, for more precise information:
You are
{if hadfood=true:
{if haddrink=true:not hungry or thirsty}{else:thirsty, but not hungry}
}
{else:
{if haddrink=true:hungry, but not thirsty}{else:hungry and thirsty}
}.
I'm sure there's a shorter version I could come up with if I cared to. Point is, don't repeat more than you need to repeat, unless it makes the code unreadable. Notice even the period's after everything else.