Untested
Code:
msg %target has been online for $iif(hours isin $1-,$1 hours and $3-,$1-)


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net