merging recieveChat and autoscroll