OpenHAB Items are complex objects. You do not want to be comparing the whole object with, say, a string.
It is usually the .state of the Item you are interested in. The .state may or may not be a string, a number, etc. so you usually have to manipulate it a bit into the kind of variable that you want.
Example
when
Time cron "0 0 21 1/1 * ? *"
then
if (CoffeeStatus.state.toString == "RefillWater") {
say ("Please refill the coffee pot")
}
end