Hiya maroon and thanks for the reply

I have now got the script up and working without any issues now with the final cut being as follows

Code
var %NaughtyList = $read(C:\Users\hifin\Desktop\mibbitnames\badnick.txt, s, $4)
    if ($readn) {
      var %buf = $read(C:\Users\hifin\Desktop\mibbitnames\badnick.txt, $readn)
      /msg #mastercontrol 9,1Connected Watched Nick  $gettok(%buf, 1, 32) - reason - $gettok(%buf, 2-, 32)
      splay -w C:/Users/hifin/Desktop/New_Server_Bot/mIRC/sounds/message.wav
    }
    haltdef