our_id = 0 function on_msg_receive (msg) if msg.out then return end if msg.text == nil then return end if msg.unread == 0 then return end send_msg(msg.from.print_name, "I'm busy right now. Text you back later.") end function on_our_id (id) our_id = id end function on_secret_chat_created (user) end function on_user_update (user) end function on_chat_update (user) end function on_get_difference_end () end function on_binlog_replay_end () end