code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind)
{
if (Message == "tellmeyourip")
{
ChatWnd.SendMessage("(!IP)");
}
}
No login or whatever, but it works. (I don't really see the need for a login anyway, if you're worried about people triggering it, just set the trigger to something really obscure. I just don't think the login system is worth it.
)