Look for this line in your script:
Code:
    if ($lines(quotes.txt) < $2) { msg %who Quote # $+ $2 doesn't exist. | return }



Change # to:
Code:
    if ($lines(quotes.txt) < $2) { msg %who Quote $chr(35) $+ $2 doesn't exist. | return }




It was turning # into the channel name. smile

From your example, I'm not sure why it was doing that unless the new code that searches for the word isn't merged correctly. Can you paste your full script that you're using now?

When you do, I can also set it to not match "woke" for "ok".


Invision Support
#Invision on irc.irchighway.net