Wow, just seen this right now...
elseif ($2) && ($2 isin $read(C:\quotes.txt,$2)) {
First of all, I hope you realize that it won't just be looking specifically for the number at the beginning of the quote; if there is a number in the actual quote itself, then it will get confuzzled and also try and locate the other quotes as well.
So, a solution would be:
elseif ($2) && ($read(C:\quotes.txt, s, $2)) { msg # $read(C:\quotes.txt, s, $2) }
The 's' in there scans the quotes.txt for a line beginning with $2. ~_~ Hope it helped, sorry for the late response.