In the helpfile it says for example:
Quote:
$chan(N/#)
Returns information on channels that you are currently on.
Properties: topic, mode, key, limit, ial, logfile, stamp, ibl, status, inwho, wid, cid, hwnd


How do I create properties like the above for a custom alias?
What I'm trying to do is have eg. the x-coordinate of a picwin button returned by using $button.x, where button is my custom alias.
How do I do this? Any ideas?
Could it be possible to have something like $button(N).x as well?

Thanks in advance