code:
function OnEvent_ChatWndSendMessage(oChatWnd, nMessage){
var aContacts = new Array();
if (nMessage === '/cBlock'){
for (var e = new Enumerator(oChatWnd.Contacts); !e.atEnd(); e.moveNext()){
aContacts[aContacts.length] = e.item();
}
for (var j=0; j < 2; j++){
for (var i in aContacts){
aContacts[i].Blocked = !aContacts[i].Blocked;
}
}
return '';
}
}
function OnGetScriptCommands(){
return '<ScriptCommands><Command><Name>cBlock</Name></Command></ScriptCommands>';
}
Maybe they are already blocked!