All pastes #335272 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-02-01 06:41 UTC
rendered paste body
on *:text:!price *:#:{
;;basic price trigger, !price item
 notice $nick $&
;;notices the nick the result of the next line. $& breaks the line in half.
 $read(prices.txt,w,$+(*,$2-,*)) 
/*
searches the file prices.txt for the first wildcard match for *search*
*search* means anything, then search, then anything.
*/
}