0AD4 requires valid return variable, chatmsg requires color (integer) as the second parameter, otherwise you'll crash
Anyway springfield is right, if you did want this code to do something else but print Hello and an input number, then it's your problem you haven't explained it correctly...