use this Commands
if bot runs without Sock ;

/timer 0 600 /msg #channel message

else ;

/timer 0 600 /sockwrite -n SocketName PRIVMSG #channel Message


i like that