1 global HandyAdiumScripts
4 tell application "Adium"
5 set newChat
to HandyAdiumScripts's
makeNewChat()
6 set n
to (HandyAdiumScripts's defaultService &
"." & HandyAdiumScripts's defaultParticipant)
7 if (
get id
of newChat)
is not n
then
8 close newChat
--restore
11 close newChat
--restore