//Checks if the user is chatbot if (userName == 'ChatBot'){ //Places the chatbot avatar in the variable var AvatarPic = ' '; } else{ //Places the UNIQUE user avatar in the variable //outcome of this will be: // var AvatarPic = ' '; } //Here is where everything is written to chat return '