[Tkabber] Autojoin to chatrooms

Robert Cernansky hslists at zoznam.sk
Tue Mar 15 22:05:48 MSK 2005


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 {kihnet at conference.jabber.kihnet.sk} {
        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: hslists at zoznam.sk
Jabber: HS at jabber.sk

More information about the Tkabber mailing list