Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

LtRammstein

macrumors 6502a
Original poster
Jun 20, 2006
570
0
Denver, CO
All, if you use Adium you know what I'm doing, if not, view www.adiumxtras.com.

Anyways, I wrote a script to broadcast a message to all open chats. I will add a few addons to it when it works, but currently it repeats itself 5 times! I wonder if Adium is calling it 5 times or something.

Code:
on substitute(input_phrase)
	tell application "Adium"
		send every chat message input_phrase
	end tell
end substitute

Any reason why it would that in Adium? In Script Editor it works great! Any help will be greatful.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.