Script hotspot active users to /tool email body=

I can get this to work:
script:
/tool email server=x to=x subject=login body=[/ip hotspot active print count ]

will email me the number of active users.

but i can get anything to email me the actual user names of logged in.

the issue from the command line is im told to run the print command before specifying an item number, you cant do this in a script

any ideas? ive been trying to modify every script i can find on here on in the wiki but i either get no output or an error.


ROS: 2.9.51
thanks

is this even possible? seems the issue is getting the print command to run, but that does not seem to work when in a script

I have spend a few day to figure this put, but till this moment I’m unable to put the output of the /ip hotspot active print details command to body= command…

maybe you already found the solution…
thanks…