Hellooo,
So, I am trying to make an AppleScript that sends a message to userA when userB signs on. Since I am new to AppleScript, problems popped up pretty quickly.
Heres what I got:
Since I want it hardwired to a specific configuration of people I can just change out the "userA" and "userB" for their actual screennames.
When I run the script it waits till userA has come online then says it cant continue to go (the send message part of the script)...any ideas?
Thanks!
Edit: To test it out I have been using the bots "Smarterchild" and "Infocombot" as the users if that helps
So, I am trying to make an AppleScript that sends a message to userA when userB signs on. Since I am new to AppleScript, problems popped up pretty quickly.
Heres what I got:
property watchedUser : ""
on idle
tell application "iChat"
if status of account "userA" is available then
go(watchedUser)
quit
end if
end tell
return 10
end idle
on go(watchedUser)
set message to "online!"
tell application "iChat"
send message to account "userB"
end tell
end go
Since I want it hardwired to a specific configuration of people I can just change out the "userA" and "userB" for their actual screennames.
When I run the script it waits till userA has come online then says it cant continue to go (the send message part of the script)...any ideas?
Thanks!
Edit: To test it out I have been using the bots "Smarterchild" and "Infocombot" as the users if that helps