but, like said, in ini format, it would be as simple as:
Code:

$macMatch = readprofilestring("myiniFile.ini","MACs",@mac)
if len($macMatch) and $macMatch<>@wksta
$=writeprofilestring("myiniFile.ini","Conflicts",@mac,@wksta)
else
$=writeprofilestring("myiniFile.ini","MACs",@mac,@wksta)
endif



I think you see the difference
_________________________
!

download KiXnet