Skip to content

Instantly share code, notes, and snippets.

@raws
Created September 8, 2009 16:16
Show Gist options
  • Save raws/183046 to your computer and use it in GitHub Desktop.
Save raws/183046 to your computer and use it in GitHub Desktop.
# Global Away.scpt
#
# This Colloquy plugin takes over the "/away" command and sets your away and
# back status for all connections at once.
#
# Version: 1.0 (8 September 2009)
# Author: Ross Paffett ([email protected])
# License: Distributed under the same terms as Colloquy.
using terms from application "Colloquy"
on process user command theCmd with theArgs for theView
repeat with theConnection in (the first item of every connection)
try
set theConnection's away message to theArgs
end try
end repeat
return true
end process user command
end using terms from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment