this use to work before, but somehow it stopped working i don't know why, can anyone help?
Code:
On 187:text:$($me readlog*):#: {
  unset %playlog.cnt
  var %starting.position = 1
  var %starting.position = $4
  play -af $+ %starting.position playlog $chan $mircdirlogs\ $+ $3 900
}
alias playlog {
  inc %playlog.cnt
  msg $1-
  if (%playlog.cnt >= 20) { play stop | unset %playlog.cnt }
}


when i type MyBotNick readlog #logname.log <number of line to start from> it don't work but when i only type MyBotNick readlog #logname.log it works sometimes, sometimes don't