All pastes #160849 Raw Edit

Stuff

public text v1 · immutable
·published 2006-09-04 19:40 UTC
rendered paste body
on *:TEXT:*:#:{
  if $1- == !wipequotes { 
    if $nick == TFGN|BOT {
      remove quotes.txt
      msg $chan File wiped.
    }
    else msg $chan You don't have permission to wipe this file.
  }
  elseif $1 == !wipequote && $2 { 
    if $nick == TFCN|Bot {
      if $read(quotes.txt,w,$2-) && $2- == $read(quotes.txt,$readn) {
        write -dl $+ $readn quotes.txt
        msg $chan Removed " $+ $2- $+ " quote
      }
      else msg $chan That quote doesnt exist.
    }
    else msg $chan You don't have permission to wipe this file.
  } 
}