hotspot specific user log-in

Hello to you all,
i would like to know how can i write the script which would send the email if someone with special username log-in by Hotspot?

any help would be appreciated

Without having tried it myself…

It looks like you could build an /ip hotspot user profile specifically for that user, then set the user with “specialusername” to have that profile. Winbox shows script edit fields for “On Login” and “On Logout” in the IP hotspot User Profile settings.

Like I say, not tested.

nice idea. i tried it and it works!
thanx

It is good to have the positive feedback. Thanks.