It's because {TIMEHOUR24} is a token (which is rendered as text where tokens are used) and not a variable. Integer conditions use variable names. You'll need to convert the value using the, 'Set an Integer Value' action with the, 'Convert Text/Token' option selected, with {TIMEHOUR24} as the input:
Set integer [myTime] value to the converted value of {TIMEHOUR24}
Then, replace all your, '{TIMEHOUR24}' conditions to, 'myTime'.
An additional, 'Else' by itself at the end would have played in this case.
Hope that helps some!