[email protected]
[Top] [All Lists]

[Tkabber] Autojoin to chatrooms

Subject: [Tkabber] Autojoin to chatrooms
From: Robert Cernansky
Date: Tue, 15 Mar 2005 20:05:48 +0100 CET

I've searched for autojoin to conference rooms after login. I've found some
(http://lists.jabber.ru/pipermail/tkabber/2003-November/000244.html) but it
have not support for multiple logins (it tries to join to same conferences
for each login).

I've improved it slightly to support multiple logins. So if you want use
it, add this to your config.tcl:

proc join_conferences {connid} {
    foreach conf {[email protected]} {
        if {[string first $jlib::lib($connid,server) $conf] != -1} then {
            join_group $conf -nick HS -connection $connid
hook::add connected_hook join_conferences 1000



Robert Cernansky
E-mail: [email protected]
Jabber: [email protected]

Tkabber mailing list
[email protected]

<Prev in Thread] Current Thread [Next in Thread>