Message All iChat Bonjour Users

Send a message to all iChat Bonjour users.

tell application "iChat"
	set nameList to (name of account of service 2)
	repeat with currentNumber from 2 to (length of nameList)
		send "Hello, World!" to account currentNumber of service 2
	end repeat
end tell

Edit: Rendevous is now called Bonjour.

As I understand it, now it will look like this:


tell application "Messages"
	set nameList to (name of buddy of service id "Discontinued-SubNet")
	repeat with currentNumber from 2 to (length of nameList)
		send "Hello, World!" to buddy currentNumber of service id "Discontinued-SubNet"
	end repeat
end tell

Maybe I’m wrong, then someone will correct me.