i have 3 ini file si store data in, how can i have the !check read from each , when someone types !check they will be msg'd the 5 most recent results, so if the first ini doent have 5 results id need it to move on to the next and so on if necesary
on *:TEXT:!check *:#channel:{
var %i = 0
var %script = C:\mirc\test1.ini , %k = 1
inc %i 1
msg $chan ( i used tokens here to get the data )
if (%i == 5) { halt }
%k = $calc($readn + 1)
}
if (%i = 0) {
msg $chan Cant Find $1-
}
}

as i said , it all works the way it is, but i need help with how to make it check a 2nd or more .ini files incase the first doesnt have any thing that matches. ive been tring but havent had any luck so now its time to ask for help.
All help is appreciated. thanx