The Easiest Way to Save and Share Code Snippets on the web

slaplist 2

mirc | by: Skyte88

last edit: Sep, 12th 2009 | jump to bottom

alias slaplist { 
  if ($2) {
    var %true = $true
    var %i = 1
    while (%true && $read(slaplist.txt,%i)) {
      if ($2- isin $read(slaplist.txt,%i)) {
        describe $chan $replace($read(slaplist.txt,%i),_-_nick_-_,$1)
        var %true = $false
      }
      inc %i
    }     
  }
  else {
    describe $chan $replace($read(slaplist.txt),_-_nick_-_,$1) 
  }
}
38 views