Thank you Evan. works fine.
So...ban (which I will probably implement after putting your name in again...) will work like this:
if /i "%msg%"=="/ban" (
echo Ban who?
set /p ban=Username^:
echo. > "Hiddenpath\%ban%"
attrib +h "Hiddenpath\%ban%"
echo %ban% has been banned. > %serv%
goto modview
That will ban someone...then this will check to see if they are banned whenever they send a message.
if exist "Hiddenpath\%usr" (
:loopban
cls
echo You have been banned. The ban will be reviewed by the admin.
pause > nul
goto loopban
It will go between :msgloop and set /p msg=Message^: in chatter...and won't go after :modview, so the mods can't get banned...good idea!