nvm it was my error thank you for your help i customized it a little and it works great
EDIT: just in case there are any folders in here this is what i did so my bot would show it because i use Xchat to chat and mIRC as my bot because i don't know how to do it in perl
so here is the bot version
on *:TEXT:!fah*:#: {
if ($nick == confuzzedintelguy) {
var %lines.tot = $lines(Y:/unitinfo.txt)
var %i = 1
while (%i <= %lines.tot) {
var %stats.line = %stats.line $read(Y:/unitinfo.txt,%i) |
inc %i
}
msg $chan %stats.line
}
}
you will need to locate your unitinfo.txt file from folding @ home and direct it in the right place
Thanks again