For nonamee
Posted by farklem
Friday, March 19, 2004
Description: news script

This is the updated script.  It only displays the first line of news.txt :(

on *:TEXT:!news:#:{
  var %current = 0
  var %lines = $lines(news.txt)
  while (%current < %lines) {
    inc %current
    notice $nick $read(news.txt,%current)
  }
}
OMGreply
Posted by cs2r`nonamee
Friday, March 19, 2004 10:50pm PST
on *:TEXT:!news:#:{
  var %line = 0
  var %lines = $lines(news.txt)
  while (%lines < %line) {
    inc %i
    notice $nick $read(news.txt,%line)
  }
}
...
Posted by cs2r`nonamee
Friday, March 19, 2004 10:56pm PST
wtf was i thinking?

on *:TEXT:!news:#:{
var %line = 0
var %lines = $lines(news.txt)
while (%line < %lines) {
    inc %line
    notice $nick $read(news.txt,%line)
}
}
tehe
Posted by dirtySanchez
Friday, March 19, 2004 11:15pm PST
there is an edit button you know. :P
uh, this is built into mIRC
Posted by madewokherd
Saturday, March 20, 2004 02:42pm PST
on *:TEXT:!news:#:{
  play -n $nick news.txt
}
Submit a comment
Oops! You need to login or register before you can post a comment!

ebaum's world