dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.11
davido has joined #cinch
davido has quit [Ping timeout: 256 seconds]
kidjan has joined #cinch
kidjan has quit [Remote host closed the connection]
davido has joined #cinch
davido has quit [Ping timeout: 252 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 252 seconds]
sabfer has quit []
davido has joined #cinch
davido has quit [Ping timeout: 252 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 256 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 256 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 252 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 252 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 252 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 256 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 252 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 252 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 256 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 240 seconds]
robonerd has quit [Read error: Connection reset by peer]
robonerd has joined #cinch
<CM-Punk> Other than an "on" block how do I make the bot respond to actions?
davido has joined #cinch
davido has quit [Ping timeout: 248 seconds]
davido has joined #cinch
davido has quit [Ping timeout: 260 seconds]
Spami has quit [Quit: This computer has gone to sleep]
Azure has quit [Quit: My MBP went to sleep.]
Azure has joined #cinch
rikai has quit [Ping timeout: 272 seconds]
rikai has joined #cinch
CM-Punk has quit [*.net *.split]
Dwarf has quit [*.net *.split]
robonerd has quit [Remote host closed the connection]
robonerd has joined #cinch
robonerd has joined #cinch
robonerd has quit [Changing host]
Dwarf has joined #cinch
CM-Punk has joined #cinch
Dwarf has quit [Max SendQ exceeded]
Dwarf has joined #cinch
kludge` has quit [Ping timeout: 265 seconds]
kludge` has joined #cinch
xeviox|afk is now known as xeviox
<somasonic> is there any way that c.channels could be shared across multiple instances of Cinch running in one ruby script? I have 9 or so Cinch bots in one script, and only one is configured to join a specific channel, but they all do
<somasonic> and I just can't figure out why
<dominikh> if you have multiple Cinch::Bot instances, there should be no way it's shared
<somasonic> yeah I do
* somasonic very confused
<dominikh> you'll want to show code.
* somasonic is just triple checking he is not an idiot somehow
<somasonic> lines 26-62 I guess most relevant
<somasonic> wait wtf
<somasonic> this code is really out of date
<somasonic> this might explain my problem, lol
<somasonic> fucking github
<dominikh> and really using the same config for all c.channels
<somasonic> dominikh, ignore that code
<somasonic> it's old and irrelevent
<somasonic> you think same problem there?
<dominikh> how do you expect $config["bot"]["channels"] to differ for different servers?
<dominikh> you load a single config, once, and for all servers in that config you use the same channels setting
<somasonic> i dont
<somasonic> however the code that is producing weirdness is
<somasonic> if $config["admin"]["network"] == name
<somasonic> c.channels << $config["admin"]["channel"]
<somasonic> end
<somasonic> because name is not the same for each iteration of the loop
<somasonic> they are all joining the admin channel
<somasonic> despite it definitely only being added for one bot
<somasonic> or one iteration
<dominikh> so humour me and add a `p $config["admin"]["network"] == name` before it.
<somasonic> alright
<somasonic> dominikh, http://pastie.org/8555666
<Cinchy> [pastie] #8555666 - Pastie (at pastie.org, on 2013-12-16 16:04)
<somasonic> the one in quotes is `p name`
<dominikh> I cannot reproduce it with http://pastebin.com/ww8wrkLY
<dominikh> ah, fuck
<dominikh> I see it. and it's a bug in your code
<dominikh> somasonic: you are doing this: http://pastebin.com/CFRV05Ga
<dominikh> (`a` being your config, `b` being your c.channels)
<somasonic> sorry, door went
<somasonic> dominikh, thanks
<somasonic> that explains it well
<somasonic> I knew it was something like that but wasn't quite sure what
<somasonic> :)
<somasonic> easy fix :P
<somasonic> thanks a lot for your advice
<dominikh> you're welcome
dominikh1 has joined #cinch
dominikh has quit [Disconnected by services]
cyrusdav- has joined #cinch
bukatov has joined #cinch
cyrusdavid has quit [*.net *.split]
Zackio has quit [*.net *.split]
Zackio has joined #cinch
xeviox is now known as xeviox|afk
bukatov has quit [Ping timeout: 248 seconds]
rikai_ has joined #cinch
somasonic_ has joined #cinch
UberDragon has joined #cinch
somasonic has quit [Disconnected by services]
somasonic_ is now known as somasonic
habhooB__ has joined #cinch
habhooB_ has quit [Ping timeout: 264 seconds]
rikai has quit [Ping timeout: 264 seconds]
dominikh has joined #cinch
Azure has quit [Ping timeout: 264 seconds]
Azure has joined #cinch
Spami has joined #cinch
dominikh1 has quit [*.net *.split]
Dwarf has quit [*.net *.split]
CM-Punk has quit [*.net *.split]
Dwarf has joined #cinch
CM-Punk has joined #cinch
ckrailo_ has joined #cinch
Rennex_ has joined #cinch
ayonix_ has joined #cinch
RedDwarf has joined #cinch
kimoto__ has joined #cinch
cyrusdav- is now known as Apathetic
Apathetic is now known as cyrusdavid
Rennex has quit [Ping timeout: 248 seconds]
ckrailo has quit [Ping timeout: 248 seconds]
ckrailo_ is now known as ckrailo
Zackio has quit [Ping timeout: 248 seconds]
ayonix has quit [Ping timeout: 248 seconds]
kimoto_ has quit [Ping timeout: 248 seconds]
kludge` has quit [Ping timeout: 260 seconds]
Rennex_ is now known as Rennex
kludge` has joined #cinch
xevioxl has joined #cinch
xevioxl is now known as xeviox
ayonix_ is now known as ayonix
Zackio has joined #cinch
RedDwarf has quit [*.net *.split]
xeviox|afk has quit [*.net *.split]
tempesta1 has quit [*.net *.split]
literal has quit [*.net *.split]
thenut has quit [*.net *.split]
cout has quit [*.net *.split]
nickrw has quit [*.net *.split]
Dwarf has quit [*.net *.split]
CM-Punk has quit [*.net *.split]
FiXato has quit [*.net *.split]
oddmunds has quit [*.net *.split]
kimoto__ has quit [*.net *.split]
Rennex has quit [*.net *.split]
dominikh has quit [*.net *.split]
UberDragon has quit [*.net *.split]
mpapis has quit [*.net *.split]
sindork_ has quit [*.net *.split]
tempestas has joined #cinch
Dwarf has joined #cinch
CM-Punk has joined #cinch
thenut has joined #cinch
kimoto__ has joined #cinch
Rennex has joined #cinch
FiXato has joined #cinch
mpapis has joined #cinch
dominikh has joined #cinch
UberDragon has joined #cinch
sindork_ has joined #cinch
nickrw has joined #cinch
cout has joined #cinch
oddmunds has joined #cinch
ckrailo has quit [Ping timeout: 264 seconds]
Naski has quit [Ping timeout: 264 seconds]
ckrailo_ has joined #cinch
Naski has joined #cinch
ckrailo_ has quit [Ping timeout: 240 seconds]
ckrailo_ has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
sabfer has joined #cinch
gennadevich has joined #cinch
gennadevich has quit [Remote host closed the connection]
Spami has joined #cinch
bioinfo has joined #cinch
bioinfo has quit [Remote host closed the connection]
literal has joined #cinch
neulovimowa has joined #cinch
neulovimowa has quit [Remote host closed the connection]
sabfer has left #cinch [#cinch]
sveetaaa has joined #cinch
sveetaaa has quit [Remote host closed the connection]
pipper has joined #cinch
waxjar has quit [Quit: ZNC - http://znc.in]
pipper has quit [Ping timeout: 252 seconds]
waxjar has joined #cinch
<CM-Punk> Other than an "on" block how do I make the bot respond to actions?
<dominikh> the plugin system (take a look at the examples.)
<CM-Punk> I don't see an example that has the bot responding to a /me
<dominikh> what's wrong with "on"? why are you asking for something other than "on"?
<dominikh> `on :action` or, in a plugin, `listen_to :action`
<CM-Punk> Because I want to create a plugin, is there a way to incorporate "on" in a plguin?
<CM-Punk> s/plguin/plugin
<dominikh> listen_to :action
<dominikh> I'm going to bed now though
<CM-Punk> Alright, that makes sense.
<CM-Punk> Thanks dominikh.
postmodern has joined #cinch
rikai_ has quit [Remote host closed the connection]
rikai_ has joined #cinch
rikai_ is now known as rikai
rikai has quit [Changing host]
rikai has joined #cinch
xeviox is now known as xeviox|afk
ckrailo_ is now known as ckrailo
sabfer has joined #cinch
sabfer has left #cinch [#cinch]