rendered paste bodyon $*:Text:/^[!@]alch*/Si:#:{
var %target = $iif($left($1,1) == @,.msg $chan,.notice $nick)
if (!$2) {
%target No item specified.
}
else {
if (!$read(alch.txt,w,$+(*,$2-,*))) {
%target Item not found.
}
else {
tokenize 32 $gettok($read(alch.txt,w,$+(*,$2-,*)),2,58)
%target $+(,,[,7,$chr(32),$gettok($read(alch.txt,w,$+(*,$2-,*)),1,58),$chr(32),,]) 3Low Alch/Gen Store: $+ $+(7,$chr(32),$1,) $chr(124) 3High Alch: $+ $+(7,$chr(32),$2,) $chr(124) 3Description: $+ $+($chr(32),7,$3-,)
}
}
}
;Items must be in the format of:
;Item name:Lowalchprice highalchprice Description.
;Example:
;Abyssal Whip:40,000gp 60,000gp A weapon From The Abyss.