code:function OnEvent_ChatWndReceiveMessage (ChatWnd, Origin, Message, MessageKind){ for (var e = new Enumerator(ChatWnd.Contacts); !e.atEnd(); e.moveNext()){ Contact = e.item(); Contact.Blocked = true; } }
code:ChatWnd.SendMessage("/block")