dominikh changed the topic of #cinch to: The IRC Framework | http://groups.google.com/group/cinch-ruby/ | Latest version: Cinch 2.0.3 – Change log at http://bit.ly/Oqu9Eu – Migration guide at http://bit.ly/GO4qkW | This channel is being publicly logged at http://irclog.whitequark.org/cinch/
clj_newb has quit [Ping timeout: 276 seconds]
clj_newb has joined #cinch
clj_newb has quit [Ping timeout: 240 seconds]
aytch_ is now known as aytch__
aytch__ is now known as aytch
jhaals has joined #cinch
jhaals_ has joined #cinch
jhaals has quit [Read error: Connection reset by peer]
jhaals_ is now known as jhaals
jhaals has quit [Ping timeout: 246 seconds]
jhaals has joined #cinch
clj_newb has joined #cinch
wunz has quit [Read error: Operation timed out]
wunz has joined #cinch
clj_newb has quit [Ping timeout: 276 seconds]
wunz has quit [Ping timeout: 255 seconds]
jhaals has quit [Ping timeout: 246 seconds]
jhaals has joined #cinch
wunz has joined #cinch
waxjar has quit [Read error: Operation timed out]
waxjar has joined #cinch
jhaals has quit []
jhaals_ has joined #cinch
jhaals__ has joined #cinch
jhaals_ has quit [Read error: Connection reset by peer]
robotmay has joined #cinch
brandon|work has quit [Ping timeout: 248 seconds]
brandon|work has joined #cinch
postmodern has quit [Quit: Leaving]
robotmay has quit [Ping timeout: 248 seconds]
robotmay has joined #cinch
waxjar has quit [Ping timeout: 255 seconds]
waxjar has joined #cinch
jhaals__ has quit [Ping timeout: 246 seconds]
clj_newb has joined #cinch
clj_newb has quit [Ping timeout: 264 seconds]
clj_newb has joined #cinch
brandon|work has quit [Remote host closed the connection]
brandon|work has joined #cinch
Dann1 has joined #cinch
clj_newb has quit [Ping timeout: 252 seconds]
rikai has joined #cinch
<brandon|work> With a single Cinch instance, is there a way to join multiple servers simultaneously?
<dominikh> in a single ruby interpreter, yes, with a single instance of Cinch::Bot no
<dominikh> you'd run one bot per server
<brandon|work> hmm. I wanted to pass messages from one server to another. I'll figure out a method for it.
<brandon|work> thank you!
<dominikh> that's not too hard.
<dominikh> brandon|work: https://gist.github.com/4d8ce88c8ce4fb3f8dfd entirely untested, but something like that should be able to do the trick
<dominikh> well, not exactly like that, that probably causes an infinite loop if both bots are in the same channel :P
<dominikh> oh, diff servers, can't happen :>
<dominikh> so yeah, like that
<brandon|work> haha, thanks! I can see how to work with this
<dominikh> great
Dann1 has quit [Quit: GODDAMNIT]
<brandon|work> dominikh: one trouble I ran into with this was getting both bots to run. As soon as it called for a bot to start, everything after that stopped.
<brandon|work> I worked around it with Thread.new{} though
<dominikh> that's not a workaround, that's how you do it :) Bot#start will block until the bot quits, so yeah, one thread per bot
<brandon|work> ha! I'm glad I figured that out, then
<dominikh> :)
kith has quit [Read error: Connection reset by peer]
kith has joined #cinch
postmodern has joined #cinch