code:
for ( var oContact = new Enumerator ( Messenger.MyContacts ); !oContact.atEnd(); oContact.moveNext() ) {
oContact.item().Block = true;
}
This code will block everyone on your list (it is not irreversable) it does not take into account their current blocked status. It just blocks EVERYONE.