I'm wondering how i can make an interface window with a list of my contacts and an OK button that does some action with the selected contacts and Cancel button?
Create a List View Control and add the contacts to it. You can use Messenger.MyContacts for getting the contacts.
Here is an example of how i do it in @ScriptDev.