I was thinking in a BBCode but it doesn't have to be that. I'm trying to display the viewers username in Handyman's AJAX Chat. We have custom chat commands that can parse php so it could easily be any type of php code.
I'm not trying to display their name in the online list, I have chat commands and I was going to make a command like !viewer. So it would be used like: Hello, !viewer. !viewer would be replace with the username of the viewer.