OK, as I understand it, from re-reading the posts, you want to display in the channel a list of all of the addresses on your ignore list. If this is the case I suggest you try
on syscon:text:!list_ignored:#:{
if !$ignore(0) { msg $chan No entries in the ignore list. }
else {
var %a = 1
while %a <= $ignore(0) {
.write c:\IcyBot2\Scripts\ignore_list.txt $ignore(%a)
inc %a
}
.play $chan c:\IcyBot2\Scripts\ignore_list.txt 1750
.remove c:\IcyBot2\Scripts\ignore_list.txt
}
}