I'm trying to get the hostname from the user when loggin to my hotspot, the script is running in the onlogin propertie,
my approach :
any idea where can I be wrong.....
Code: Select all
:local pc; :set pc [/ip dhcp-server lease get $"mac-address" host-name]; :log info "computer name:$pc"