[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Irssi-xmpp-dev] Triggering Irssi Events



On Sat, Dec 29, 2007 at 02:08:27AM +0100, Colin Didier wrote:
> * Erik <irssi-xmpp@domain.hid> [2007-12-28 16:21:22 -0600]:
> > Hello,
> 
> Hi Erik,
> 
> > I'm trying out irssi-xmpp, and it seems pretty fantastic.  My one
> > wish for it is that it would trigger Irssi events so that Perl
> > scripts would be able to act on input from XMPP servers.  Would it
> > be possible to add this to future versions?
> 
> This isn't my priority right now, but of course it would be nice to
> have perl scripting fully supported by irssi-xmpp. Currently,
> everything that isn't irssi-xmpp specific, should work with perl
> scripts. So some basic events should work like "message private",
> "message public", and many others... You should also be able to send
> messages to a jid.
> 
> But I have not tested these things. 
> 
> Colin
 
Ah, so you can.  I'd been trapping the wrong message.  Irssi's site (
http://irssi.org/documentation/perl ) mentions "event privmsg", but as
you suggest, "message private" works.

Thanks!
Erik