title: Kick command for batch chat program
body: <p>i am working on a batch chat program... because it's fun.. but i have run into a problem.</p>
  
  <p>I want the users to be able to chat, or use commands from the same prompt and this method works:</p>
  
  <pre><code>set /p m=Message: 
  set tm="%m%"
  if %tm% == "KICK" goto kick
  echo %time% ^&lt;%u%^&gt;: %m% &gt;&gt; %log%
  </code></pre>
  
  <p>However to make the command work i need to have another step somewhere else in the batch file:</p>
  
  <pre><code>:kick
  set /p person=Who to kick? 
  del %dir%\%person%
  </code></pre>
  
  <p>How can i make it so that someone can just type "KICK John" to kick someone?</p>