in reply to strider (your 3 questions)
1. When those values are -1, the bots use the buytable to buy weapons, and they simply don't have a favorite weapon. When a bot does have a favorite weapon it will ALWAYS buy that weapon when it can
2. You cannot use secondary weapon id's at a primary weapon as this one will be skipped, you have a chance it will be bought, but the bot will get confused
CS 1.6/1.5 does not matter, just use my given ID's, they work in BOTH versions. If you have a bot with a CS 1.6 favorite weapon i need to add a fix to make sure it cannot buy this in CS 1.5
3. I create random values between some percentages to create those random bots. Just make the variables correct with using percentages or not (depending on the variable/property). It should not create nescesarily bad bots...
I have downloaded and tested your program
Its great so far, nice job for your 'little hours work'. I hope when it is 100% as you want it, you can make a nice interace and i would be glad to host it at my site!