hmm. I think its right:
set %i 1
set %i_id $1
while (%i <= %i_id) {
set %i_id $+($read($findfile(weapons/,*.txt,%i),15))
set %find $+($read($findfile(weapons/,*.txt,%i),14))
inc %i
}
if ($1 == %i_id) {
msg $nick %i_id = %find
}


[color:red]m[color:blue]IRC[color:green] for EvEr