Problem with IP address

The WIKI shows a list of variables that are available for the “on-login” scripts.
https://wiki.mikrotik.com/wiki/Manual:IP/Hotspot/User



List of available variables:

$user
$username (alternative var name for $user)
$address
$“mac-address”
$interface