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/
crackedmind has joined #cinch
sacc91 has joined #cinch
kith_ has quit [Ping timeout: 250 seconds]
postmodern has quit [Quit: Leaving]
rickmasta has joined #cinch
postmodern has joined #cinch
Rennex has quit [Read error: Operation timed out]
Rennex has joined #cinch
v0n has joined #cinch
jhaals has joined #cinch
jhaals has quit [Client Quit]
v0n has quit [Ping timeout: 248 seconds]
kith has joined #cinch
jhaals has joined #cinch
jhaals has quit [Ping timeout: 255 seconds]
catepillar has joined #cinch
bhaak has quit [Ping timeout: 245 seconds]
bhaak has joined #cinch
jhaals has joined #cinch
<maetthew> dominikh: is it possible to strip colour codes from a match?
v0n has joined #cinch
<catepillar> maetthew: currently, not yet
<catepillar> we were discussing it a 2 weeks ago
<catepillar> well, you can if it happens after the !
<catepillar> or whatever you have set to be your prepended match
<catepillar> prefix, that's the word
<crackedmind> what about variadic args in plugin marcher?
v0n has quit [Ping timeout: 260 seconds]
jhaals has quit []
v0n has joined #cinch
jhaals has joined #cinch
jhaals has quit []
jhaals has joined #cinch
jhaals has quit [Client Quit]
jhaals has joined #cinch
jhaals has quit []
jhaals has joined #cinch
jhaals has quit [Client Quit]
<crackedmind> ok
<maetthew> catepillar, hmm ok. In this particular case I have no prefix :/
v0n has quit [Ping timeout: 240 seconds]
<lagweezle> Is it possible to use a lambda for a plugin's prefix? If so, er, how?
<lagweezle> Alternatively…
<lagweezle> match lambda {|m| m.bot.nick} <-- how would I have that also have retained match portions? Can I, or do I just have to parse the entire message?
<waxjar> lagweezle: you can use lambdas as a prefix
brokenbit has joined #cinch
<crackedmind> !stackoverflow you can use lambdas as a prefix
<brokenbit> Lambda slower with g++ 4.7 - faster with g++ 4.6 - http://stackoverflow.com/q/13220623
<brokenbit> What can Lisp do that Lua can&#39;t? - http://stackoverflow.com/q/325341
<brokenbit> Can you remove the HTML Field Prefix from strongly typed models in MVC 3? - http://stackoverflow.com/q/9027032
<crackedmind> sorry
<waxjar> you should test your bots in another channel, dominikh doesn't like it
<crackedmind> it's not a test
<waxjar> that's not the point really, is it
<crackedmind> ok
<crackedmind> sorry guys
brokenbit has quit [Remote host closed the connection]
<lagweezle> Neat behavior, though!
<lagweezle> crackedmind: You have the stack overflow bit somewhere I can look, drool, and blatantly copy? ;)
<lagweezle> waxjar: Also, tyvm!
<lagweezle> waxjar: Oh wow! That example actually answers a number of questions!
<crackedmind> lagweezle, only about search on stackoverflow?
<lagweezle> crackedmind: Er, I'm making an assumption that the stackoverflow bit is a plug in for a cinch bot you run.
<crackedmind> lagweezle, https://gist.github.com/crackedmind/5125726 but, i patched serel for 2.1 api
<Cinchy> [gist] gist:5125726 (at gist.github.com, crackedmind on 2013-03-09 20:58)
<crackedmind> lagweezle, https://gist.github.com/crackedmind/5125730 this is patch for serel
<Cinchy> [gist] gist:5125730 (at gist.github.com, crackedmind on 2013-03-09 21:00)
<crackedmind> yeah
<lagweezle> Thankee! *stashes for when his brain works better*
<crackedmind> I am glad you will need it
_whitelogger has joined #cinch
catepillar has quit [Quit: I generally avoid temptation.. unless I can't resist it.]
crackedmind has quit [Ping timeout: 264 seconds]
<dominikh> if you use a lambda for the match (or the prefix/suffix), it's expected to return a string or regexp, which is then used instead. so that's how you'd do capture groups