How to get username in a page?

Ronny Chan

New member
I have an iframe pointing to an IRC webclient, I want the nick supplied to the iframe to be the username of the currently logged in user.

I've tried
<iframe seamless src="{$user}&channels=mystia&prompt=1" width="100%" height="550px" scrolling="no"></iframe>

But that doesn't seem to work. How would I do this?