Hello I am working on a chat room script and I am needing to find out how to find all buddies chatting and send them the message that was received.
this is my script so far
using terms from application "iChat"
on received text invitation theMessage from theBuddy for theChat
accept theChat
send "Welcome to the Chat Room" to theBuddy
end received text invitation
on message received theMessage from theBuddy for theChat
set buddyName to first name of theBuddy
send "[" & buddyName & "] " & theMessage to theBuddy
end message received
end using terms from
thanks for the help,
Mr. Gecko