Hi guys im programming a batch chat. But theres a problem when you type a message then another message, it repeats the before message. Can anyone help?
@echo off
set /p username=Please type your username
:Loop
set /p input=:
echo %username%: %input% >> Hi.txt
type hi.txt
goto Loop