1 global HandyAdiumScripts
4 tell application "Adium"
5 set newChatWindow
to HandyAdiumScripts's
makeNewChatWindow()
6 set c
to count of chat
windows
9 if (
count of chat
windows)
is not c -
1 then error (
"Count of chat windows is " & (
count of chat
windows) &
" when it should be " & (c -
1))