I'm not sure of the code, to tell you the truth. But I do remember a friend of mine using: http://www.onlinestatus.org/
Try it out.
Does anyone have the script necessary for posting an IM presence on a personal website. I have Yahoo and AIM but can?t find one for MSN Messenger.
<a href="aim:goim?screenname=AOL SCREEN NAME&message=hi.+are+you+there?"></a>
<a href=http://edit.yahoo.com/config/send_webmesg?.target=YAHOO SCREEN NAME&.src=pg></a>