The !LOOP variable is only intended for use with the LOOP button or the "-loop" command line switch. With the Scripting Interface you need to make the looping yourself. But this is easy:
In the macro change:
SET !DATASOURCE {{FILE}}
SET !DATASOURCE_LINE {{!mypos}}
URL GOTO=
http://member.info.com/Roster/Scripts/M ... }}{{!mypos}}
In this VBS file change:
set iim1 = CreateObject ("imacros")
iret = iim1.iimInit("-silent") '<=must be BEFORE iimSet
iret = iim1.iimDisplay("Macro Running")
iret = iim1.iimSet("-var_FILE", FileName)
'Start looping
For i = 1 to 20
'Set the current read position
iret = iim1.iimSet("-var_mypos", cstr(i))
iret = iim1.iimPlay("MemberInfoLoop")
Next
You can also see the "file-2-web.vbs" example (reads a text file and submits the content to a website)