Your question is confusing so if this is not what you want, can you rephrase it?

This is using two different arrays.
 Code:
$ips="1.1.1.1","2.2.2.2","3.3.3.3"
$macs="abcde","efghi","jklmn"
for $i=0 to ubound($ips)
  ? $ips[$i]
  ? $macs[$i]
next


You could also use a multidimensional array, but I think the method above is easier.