ChanServ changed the topic of #cinch to: The IRC Framework | http://groups.google.com/group/cinch-ruby/ | Latest version: Cinch 2.0.4 – Change log at http://bit.ly/14Q4s6Z – Migration guide at http://bit.ly/GO4qkW | This channel is being publicly logged at http://irclog.whitequark.org/cinch/
Spami has quit [Quit: This computer has gone to sleep]
sleetdrop has joined #cinch
sleetdrop has quit [Quit: Textual IRC Client: www.textualapp.com]
sleetdrop has joined #cinch
sleetdrop has quit [Max SendQ exceeded]
sleetdrop has joined #cinch
rickmasta has quit [Quit: Leaving...]
sleetdrop has quit [Quit: Computer has gone to sleep.]
Spami has joined #cinch
Spami has joined #cinch
jhaals has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #cinch
sleetdrop has joined #cinch
bhaak has quit [Ping timeout: 252 seconds]
bhaak has joined #cinch
waxjar has quit [Ping timeout: 264 seconds]
<jmaister> Got the reloading plugin code working nicely. Also added a trigger to reload all files in the plugin folder, so now I can add entirely new plugins without restarting the bot :D
waxjar has joined #cinch
<jmaister> on :message, /^.reload plugins/ do Dir["./lib/cinch/plugins/*.rb"].each {|file| require file } end
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 264 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 264 seconds]
waxjar has joined #cinch
sleetdrop has quit [Ping timeout: 256 seconds]
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 264 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 245 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 245 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
Spami has quit [Quit: Leaving]
waxjar has joined #cinch
Spami has joined #cinch
Spami has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
postmodern has quit [Quit: Leaving]
waxjar has quit [Ping timeout: 264 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 264 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 245 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 264 seconds]
waxjar has joined #cinch
bhaak has quit [Ping timeout: 252 seconds]
waxjar has quit [Ping timeout: 264 seconds]
waxjar has joined #cinch
bhaak has joined #cinch
waxjar has quit [Ping timeout: 245 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
jhaals has quit [Ping timeout: 245 seconds]
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 245 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
v0n has joined #cinch
Spami has quit [Ping timeout: 248 seconds]
Spami has joined #cinch
Spami has joined #cinch
Spami has quit [Changing host]
jhaals has joined #cinch
jhaals has quit [Quit: jhaals]
flexd has quit [Ping timeout: 276 seconds]
flexd has joined #cinch
centracore_ has joined #cinch
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
jhaals has joined #cinch
waxjar has quit [Ping timeout: 264 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 245 seconds]
waxjar has joined #cinch
<centracore_> does anyone know of a cinch plugin that awards a point to a user for every x minutes said user is in a channel?
<dominikh> none I'd have seen
<centracore_> dominikh: thanks! i guess i will have to try and write something from scratch
waxjar has quit [Ping timeout: 264 seconds]
<dominikh> shouldn't be that hard :)
<centracore_> yeah, from what i've seen cinch looks pretty awesome :D
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
<Igneous> centracore_: look at the 'timer' and 'seen' plugin examples. Those should get you half way there, at least.
<Igneous> out of curiosity.. trying to make an idlerpg on top of cinch?
<centracore_> thanks Igneous!
waxjar has joined #cinch
<centracore_> kind of sort of, want to make a twitch.tv bot with cinch.. the twitch.tv chat system runs on irc and lots of streamers want to have a bot in their channel that awards points to viewers every x minutes that the viewers can then use for item giveaways, etc
<centracore_> kind of like a viewer loyalty program, i guess
<Igneous> ah cool, well good luck! It sounds like a fun little plugin to write.
<centracore_> there are some streamers who have made their own but i want to make one open source for everyone to have the option of using - after doing my research cinch seems like /the/ framework to use
<dominikh> oh twitch, the lovely guys with the crippled thing they call "IRC" :)
<centracore_> haha ya, their irc implementation sucks but it's better than nothing i suppose
jhaals has quit [Quit: jhaals]
waxjar has quit [Ping timeout: 264 seconds]
<Igneous> I have a question since the channel is kinda active right now. Is there a way to re-evaluate an event in the context of cinch. If I wanted to implement a /give (?<username>.*?)\s(?<cmd>.*)/, where <cmd> was "!google cinchrb".. what would be the most efficient way of reposting <cmd> to the plugins listening to that message?
waxjar has joined #cinch
<dominikh> hm.
<dominikh> construct a Message object and dispatch that
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
v0n has quit [Read error: Operation timed out]
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
centracore_ has quit [Quit: leaving]
Spami has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
centracore has joined #cinch
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
v0n has joined #cinch
waxjar has joined #cinch
<Igneous> dominikh: Actually, it just occured to me that I need to get the result back, so I can give it to the username.
<dominikh> well, "get the result back" is a bit problematic, since !google foo will probably send its result to the IRC server :)
<Igneous> yeah exactly.. since I'm using m.reply everywhere.. hm :(
v0n has quit [Ping timeout: 245 seconds]
<Igneous> is there any way to change the reply destination to an event object?
<dominikh> nope
waxjar has quit [Ping timeout: 240 seconds]
<Igneous> I wonder if I could monkeypatch Cinch::Channel.msg and add a loopback channel to the ChannelList
<dominikh> maybe, but I won't help with monkeypatching ;)
<Igneous> will you take a real patch? :P
<dominikh> I'd suggest designing the whole thing differently
<Igneous> how would you design it?
<dominikh> have each concrete plugin specify the give command itself would be one way
waxjar has joined #cinch
<dominikh> "output redirection" isn't something you could possibly design reliably thanks to Cinch's threaded nature
<centracore> dominikh: does cinch work with twitch.tv irc? i saw an old issue saying it didn't, just wondering if that's still the case
<dominikh> what's the issue id?
waxjar has quit [Ping timeout: 264 seconds]
<centracore> started writing my plugin but can't actually try it out until i get home
<centracore> issue #91
<Igneous> Hah, that's actually the way that I first wanted to build it. The only drawback there is that I have to implement a give match for each existing/new plugin that I add... it doesn't feel very DRY. Oh well, better than monkeypatching I guess.
waxjar has joined #cinch
v0n has joined #cinch
<dominikh> centracore: if twitch hasn't implemented WHOIS by now, then no, Cinch will not work with twitch
waxjar has quit [Ping timeout: 240 seconds]
<dominikh> and now I got to go. bye.
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 245 seconds]
waxjar has joined #cinch
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
_whitelogger has joined #cinch
v0n has quit [Ping timeout: 248 seconds]
<Igneous> How I ended up implementing .give. It's a little monkeypatched, but it doesn't have to be. http://sprunge.us/OFic?rb
<Igneous> dominikh: is that to_nick addition to Cinch::Message something you'd add, maybe?
<dominikh> that really doesn't belong there, so no. it's also broken in too many contexts
<Igneous> meh.. if only there was a way to set prefix to true without needing to set it directly from reply.. then I wouldn't even need to do that, I could just rebuild the message with a different user :/
postmodern has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]