As Eric said, focus on the first error. Going and editing this and editing that isn't going to help you fix your problems. As a matter of fact, it will likely just cause more. I can tell you are just editing things just to try to see what happens instead of fixing each error as you find them. Systematically remove the errors in your code one by one and you will eventually have code that works. This jumping from one thing to another doesn't help. It would also help if you studied the SYNTAX of Perl a little more, since that's where most of your errors are.
Look on the left and you will see a ton of other chapters in the Perl Tutorial. LEARN what you are doing. _________________ Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Well, I'm not getting any errors in the dos window anymore. It just isn't sending the reply. So I am just trying to tweak different parts to make it work. But I will look at that syntax site.
Edit: Looked at the site. It is just a big perl tutorial. But I'll look at the if statement to see if it helps