What is it?

jabber_away is a script for irssi. Its goal is to reflect on IRC your presence on Jabber: for example, when you go away on Jabber, you are automatically set away on irssi. When you come back on Jabber, you are marked as back on irssi as well. This way, you don't have to bother with saying it everywhere when you are away :)

Variables

jabber_id and jabber_password are the only mandatory parameters.

Name Description Default value
jabber_idThe jabber account to use (laura@hello.net, alfonso@foo.org/Home)
jabber_passwordThe password of the jabber account
jabber_serverManually specify a different server (foo.com, foo.com:4242)(server part of jabber_id)
jabber_server_reconnect_timeTime to wait if connection fails(server_reconnect_time)
jabber_id_to_watchThe JID to watch.(jabber_id)
jabber_away_listenWhich states should be reflected. Possible values are: online,chat, away, xa (extended away), dnd (do not disturb), unavailable.online unavailable away xa dnd chat
jabber_away_refreshThe time between two checks of incoming Jabber packets. You will have to unload then reload for changes to take effect2sec

Notes

Installation

  1. Of course, you need Irssi.
  2. Download the script in your ~/.irssi/scripts directory.
  3. Back in Irssi, set the variables appropriately (at least jabber_id and jabber_password)
  4. Type /script load jabber_away

Troubleshooting

The jabber_away_refresh value is badly defined and prevents the script from loading
The format of this parameter was recently changed from 'int' to 'time', which causes irssi to bug on it. You will have to:
  1. /save
  2. remove 'jabber_away_refresh' manually from '~/.irssi/config'
  3. /reload

Authors

This script is being written by David Ammouial.