Using genius_at_work's code:

Code:
on *:TEXT:!addnews *:*:{
  var %limit = 8
  ;
  write -il1 news.txt $2-
  while ($lines(news.txt) > %limit) { write -dl $lines(news.txt) news.txt }
  .notice $nick Added news item
}

on *:TEXT:!shownews:*:{
  .notice $nick News Headlines (oldest items first)
  .play -n $nick news.txt 500
}


Invision Support
#Invision on irc.irchighway.net