You could try the folowing code:

code:
Break On
? 'MAC for NIC 1 = ' + GetMac(@IPAddress0)
? 'MAC for NIC 2 = ' + GetMac(@IPAddress1)
? 'MAC for NIC 3 = ' + GetMac(@IPAddress2)
? 'MAC for NIC 4 = ' + GetMac(@IPAddress3)
Get $x

Function GetMac($IpAdr)
Dim $oWMI,$NICs,$NIC,$ChkIP
$IpAdr = Join(Split($IpAdr),'')
$oWMI = GetObject("winmgmts:\\.\root\cimv2")
$NICs = $oWMI.ExecQuery("Select * from Win32_NetworkAdapterConfiguration where IPEnabled=TRUE")
For Each $NIC In $NICs
For Each $ChkIP In $NIC.IPAddress
If $ChkIP = $IpAdr
$GetMac = Join(Split($NIC.MACAddress,':'),'')
EndIf
Next
Next
EndFunction

-Erik