Like if someone starts talking to you?
sure...
(still can't test though)
code:
var BlockedUser = "user@blocked.com"
function OnEvent_ChatWndReceiveMessage (ChatWnd, Origin, Message, MessageKind) {
for (var e = new Enumerator(ChatWnd.Contacts); !e.atEnd(); e.moveNext()) {
Contact = e.item()
if (Contact.Email == BlockedUser) {
Contact.Blocked = true
MsgPlus.AddTimer("Unblock", Time)
}
}
}
functionOnEvent_Timer (TimerId) {
var Contact = Messenger.MyContacts.GetContact(BlockedUser)
Contact.Blocked = false
}
}