Code: Select all
put [ip dhcp-server lease get [find mac-address=B0:6E:BF:1D:A1:2D] address]
put [ip dhcp-server lease get [find mac-address=B0:6E:BF:1D:A1:2D] address]
i tried like thisYou can use regular expressions with "~" operator -- https://wiki.mikrotik.com/wiki/Manual:S ... _Operators
thats it! THANKS!!!!No, "~" is a matching operator. Use it instead of "=", not as a part of the expression - which may be as simple as "^B0:6E:BF", meaning any string that begins with "B0:6E:BF".