Adium chat message

Anyone using Adium know how to get the chat message from people who message u?

Take a look at these scripts.

What program do i use with these??

Sorry about that. They are for Salling Clicker and I didn’t realize that Clicker scripts come in these .cgz packages. I copied the Read Messages script here, so you’ll get the idea:

--created by junkiesxl, feel free to use them and if youve got any suggestions, just post it on the adium forum or mail me, junkiesxl@hotmail.com

property chatList : {}
property theID : ""
property n : number
tell application "Adium"
	set chatList to ID of (every chat)
end tell

tell application "SEC Helper" to enter list mode title "Set Message" items chatList item selected "chat_was_selected"
end

on chat_was_selected(item_index)
	tell application "SEC Helper"
		set theID to item item_index of chatList
		--Tell adium to get the messages
		tell application "Adium"
			set theMessages to plainText message of (every content) of (every chat where ID contains theID)
		end tell
		--List to string seperated by /
		set newMessages to text items of theMessages
		set newMessages to newMessages as text
		set AppleScript's text item delimiters to {"/"}
		enter messagebox mode title "Chat" text newMessages
	end tell
end chat_was_selected

I get an error here
set theMessages to plainText message of (every content) of (every chat where ID contains theID)

The error is ‘Expected end of line but found property.’

What should I do to get it to work?