Quote:
Anyone know where would I get started learning how to do that in AppleScript?

Open Script Editor and type Cmd-?

As I mentioned in another post, you'll almost always be pleasantly surprised at how good Apple's Docs are for their programs. To see the library of commands available for Adium, in the Script Editor type Cmd-Shift-L to open the Library window, then click the Plus sign and find the Adium application. Once it's added to the Library, Double click it to see all available commands for it in Applescript along with explanations. Super sweet.

You might also Google "Adium Applescripts" to find some examples.
_________________________
|| loren ||