All pastes #228999 Raw Edit

Untitled

public text v1 · immutable
#228999 ·published 2006-10-30 11:07 UTC
rendered paste body
ALIAS -l PReplace {
  VAR %pr.cnt = 1 | VAR %pr.total = $Lines(Replace.txt) | VAR %pr.text = $1-
  WHILE (%pr.cnt <= %pr.total) {
    VAR %pr.text = $Replace(%pr.text, [ [ $Read(Replace.txt,%pr.cnt) ] ] )
    INC %pr.cnt
  }
  RETURN %pr.text
}
on *:Text:!Items *:#:{
  //notice $nick Items You Will Need For $read(Questitems.txt,w, * $+ $PReplace($2-) $+ *))
}