show the comment instead of username in status.html

I have mikrotik RouterOS v3.22 level 6. with hotspot accounts. I have in the status page the fallowing

“wlecome $(username)!” which will show the username of the user.

I have put the full name of the user in the comment section in Winbox. Can I show the comment instead of the username

No, you cannot - unless an undocumented parameter has been added.

http://www.mikrotik.com/testdocs/ros/3.0/pnp/hotspot.php - this is unfortunately not on the wiki yet. Look at the section about customizing HTTP servlet pages, it contains valid variables that you can use, there is no access to the comment field. It’s unlikely this can be made accessible as the Hotspot pages should be agnostic on whether the user is stored in the local database or a RADIUS server that may not have a corresponding field.