Code: Select all
/import flash/MTM/Facts.rsc;
:global MtmFacts;
:local strTool [($MtmFacts->"execute") nsStr="getTools()->getStrings()"];
/ip arp print where $dynamic=true and !complete and [($strTool->"toLower") $interface] =[($strTool->"toLower") "PublicDMZ"]; #perfect
/ip dhcp-server lease print where host-name ~"NurseSmurf.server"; #perfect
/ip dhcp-server lease print where [($strTool->"toLower") host-name] ~[($strTool->"toLower") "NurseSmurf.server"]; #is null
why not return the last query result ...
I guess it's not the Tool's fault but I can't figure out what the problem may be.