look at this http://forum.mikrotik.com/t/mikrotik-events-script-new-abroach/176282/1
/ip hotspot user print follow-only where [$EventHandler Name=$name];