anchor.diff:  GOTO :prompts
   
   :p
  -:: change this source line to match whatever DIRECTORY your chat logs are stored in - please make sure this is correct for your system
  +:: make sure this source line matches whatever DIRECTORY your chat logs are stored in - please make sure this is correct for your system/configuration
   set source=%AppData%\.purple\logs\irc\%username%@irc.twitch.tv\#%username%.chat
   echo You are using Pidgin.
  -GOTO  :begin
  +GOTO :delay
   
   :h
  -:: change this source line to match whatever DIRECTORY your chat logs are stored in - please make sure this is correct for your system
  +:: make sure this source line matches whatever DIRECTORY your chat logs are stored in - please make sure this is correct for your system/configuration
   set source=%AppData%\HexChat\logs\twitch
   echo You are using HexChat.
  -GOTO :begin
  +GOTO :delay
  +
  +:delay
  +set /a delay=10
  +set /p delay="Default delay is 10 seconds. Configured delay (optional): "
   
   
   :begin
   echo --------------------------------------------------------------------------------
   echo Your currently playing song text file will be located at: %dest%
  -echo Press (Ctrl+C) to exit, or close the window.
  -echo Artist and song will be listed below everytime the log is checked.
  -echo --------------------------------------------------------------------------------
  +echo Press (Ctrl+C) to exit, or simply close the window.
  +echo Artist and song will be listed below everytime a change is detected.
  +echo First time running may require a !song command in Twitch to show the first song.
  +echo If no song is shown below, the song has not changed since last run.
  +echo ================================================================================
   
   set cpy=%temp%\lp_cpy.txt
   set mcat=%temp%\lp_mcat.txt
   set line=%temp%\lp_line.txt
   set sa=%temp%\lp_sa.txt
   
  -:start
  +:parse
   
   if %src%==p GOTO :pcopy
   if %src%==h GOTO :hcopy
  
positive.code: 	set newest=%%G
  )
  copy /V /Y %source%\%newest% %cpy% > NUL
  GOTO :find
  
  :hcopy
  copy /V /Y %source%\#%username%.log %cpy% > NUL
  GOTO :find
  
  :find
  break>%mcat%
  break>%line%
  
  
negative.code: 
  more +%LINES% %mcat% > %line%
  
  ::  _____ ___  ____  __  __    _  _____ _____ ___ _   _  ____ 
  :: |  ___/ _ \|  _ \|  \/  |  / \|_   _|_   _|_ _| \ | |/ ___|
  :: | |_ | | | | |_) | |\/| | / _ \ | |   | |  | ||  \| | |  _ 
  :: |  _|| |_| |  _ <| |  | |/ ___ \| |   | |  | || |\  | |_| |
  :: |_|   \___/|_| \_\_|  |_/_/   \_\_|   |_| |___|_| \_|\____|
  ::
  :: you will need to know a little bit of regex, but if you want to make changes to what your text looks like you don't
  :: the part of the line below containing "$2 // $1" is how your final output text is going to look
  :: $1 is the song name
  :: $2 is the artist name
  :: simply rearrange to change the order and formatting you desire
  type %line% | jrepl ".*Playing: (.*) by (.*) -.*" "$2 // $1" /O %sa%
  :: replace the above^ %sa% with %dest% and delete this line \/
  set /p string= < %sa%
  
  ::keep \/
  fc /c %sa% %dest% > NUL && GOTO :nochange || GOTO :change
  ::keep /\
  
  :change
  :: \/ and this ilne if you DO NOT want all caps
  upper "%string%" | jrepl "\q(.*)\q" "$1" /B /X > %dest%
  :: this just shows you what the string you're putting into the OBS text file looks like
  type %dest%
  GOTO :timeout
  
  :nochange
  
  :timeout
  timeout /t %delay% /nobreak > NUL
  
  GOTO :parse