hey friends,
i am back with a Lan Chat programme for you!!
You can use this to Chat with people within a Lan only.
Save all the files in All type format ending with .bat
THE MAIN CHAT PROGRAMME 


CHAT


@echo off
title CHAT
:StartUp
mode con cols=40 lines=8

color 3e
echo %time%~%date%~%username%
echo -------------------------
pause
cls
type nul>tmp.bat
start disconnect.bat
start MSG.bat
echo Loading Chat
ping localhost -n 3>nul
cls
if not exist chat.log goto md
goto as
:md
echo ---------->chat.log

(
echo n Data Log
echo e 000 000 23
echo 3 dke
echo application run code
echo errorlevel # 33317278
)Chat.dat
ren Chat.dat "chathelp.exe"
cls
goto as

:as
ENTER YOUR LOCATION OF FOLDER WHERE LOGS WILL BE SAVED
cls

:a

cls
type chat.log
ping localhots -n 1>nul

goto a









GUYS PLEASE KEEP THE NAMES OF THE BATCH FILES SAME!! OTHER WISE IT WONT WORK



MSG




@echo off
title MSG
color 4a
set rr=1000
mode con cols=25 lines=1

:an
set /p user=User:
set user=%user%
echo set user=%user%>>tmp.bat

echo [%time:~0,5%] %user% has connected^>%log%>>chat.log

:a
set /p log=^>^>


echo [%time:~0,5%] %user%^>%log%>>chat.log



goto a





WHEN YOU OPEN THE Chat IN THE MESSAGE BOX ENTER YOUR USENAME FIRST AND THEN CONTINUE WITH CHATTING






disconnect


@echo off
title DISCONNECT
color DF
mode con cols=40 lines=1
pause
call tmp.bat
del tmp.bat
echo [%time:~0,5%] %user% has left^>%log%>>chat.log
taskkill /f /fi "WINDOWTITLE eq CHAT" >nul
taskkill /f /fi "WINDOWTITLE eq MSG" >nul

exit







I have one more program!! That is paid for now so if anybody wants it contact me!!
That program is advanced and easy to use

Comments

Popular Posts