You can read the file into an array, but I suspect that you can do what you want more easily using something like the following, assuming a "serverlist.ini" file in the same directory:

Code:
$sINIFile=".\ServerList.ini"


For Each $sKey In Split(ReadProfileString($sINIFile,"RemoveServers",""),Chr(10))
If $sKey
$sServer=ReadProfileString($sINIFile,"RemoveServers",$sKey)
"Server to remove is : "+$sServer+@CRLF
EndIf
Next

For Each $sKey In Split(ReadProfileString($sINIFile,"AddServers",""),Chr(10))
If $sKey
$sServer=ReadProfileString($sINIFile,"AddServers",$sKey)
"Server to add is : "+$sServer+@CRLF
EndIf
Next



Using your sample file I got:
Quote:

Server to remove is : UK0034
Server to remove is : UK0098
Server to add is : DR_SC0022
Server to add is : DR_SC9625