set c to count chat windows tell account (HandyAdiumScripts's
defaultAccount) set newChat to make new chat with contacts {contact (HandyAdiumScripts's
defaultParticipant)} with new chat window set newChatWindow to (get window of newChat) if (count chat windows of application "Adium") is not c + 1 then close newChatWindow --restore if (count chats of application "Adium") is not c2 + 1 then close newChatWindow --restore if (count chats of newChatWindow) is not 1 then close newChatWindow --restore set newChat2 to make new chat with contacts {contact (HandyAdiumScripts's
otherParticipant)} at end of chats of newChatWindow if (count chat windows of application "Adium") is not c + 1 then if (count chats of application "Adium") is not c2 + 2 then if (count chats of newChatWindow) is not 2 then