I'm using a little script to write some information to a file from what a bot says. The thing is, the bot may announce stuff like "faq-s" and i want to replace it with "faqs" when writing it to the file..

Here's the little code i use:
Code:
messed up code:P}


I've tried playing around with $replace($1-,faq-s,faqs) etc, but cant quite figure it out where to put it...

Any help? smile

Last edited by Danko; 25/03/05 03:00 PM.