dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
Azure has quit [Quit: Blue Sky Fish]
Azure has joined #cinch
Azure has quit [Quit: Blue Sky Fish]
Azure has joined #cinch
sarkyniin has quit [Ping timeout: 245 seconds]
jackdempsey has joined #cinch
jackdempsey has quit [Ping timeout: 246 seconds]
Azure has quit [Ping timeout: 250 seconds]
Azure has joined #cinch
djbkd has joined #cinch
djbkd has quit [Quit: My people need me...]
sarkyniin has joined #cinch
postmodern has joined #cinch
quaxim has quit [Ping timeout: 250 seconds]
quaxim has joined #cinch
sarkyniin has quit [Ping timeout: 240 seconds]
sarkyniin has joined #cinch
sarkyniin has quit [Quit: Quitte]
sarkyniin has joined #cinch
djbkd has joined #cinch
<leftylink>
dominikh: hmm, you said groups have plugin scope, what do you mean by that? If you mean in PluginOne I have a matcher in group_a, and in PluginTwo I have a matcher in group_a, and you expect them not to be in the same group... my current experience is that they do in fact end up in the same group
<dominikh>
if PluginOne has a group_a and PluginTwo has a group_a, those will be two different group_a's and both handlers can execute for the same message
djbkd has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
<dominikh>
will have to work around it, I guess
<dominikh>
right now, group names are globally scoped.
<dominikh>
maybe one day I'll write Cinch 3 after all…
djbkd has joined #cinch
postmodern has quit [Ping timeout: 260 seconds]
postmodern has joined #cinch
<sarkyniin>
hey, how hard would it be to write a "!recap" function in cinch?
<sarkyniin>
basically, a function that displays the 20 lines of text/joins before you joined
<dominikh>
relatively easy; the only thing to look out for is to order the messages correctly
<sarkyniin>
is there some kind of logging function in cinch?
<dominikh>
you'd simple write handlers for the events you want to log (channel messages, joins, parts, quits), record them in an appropriate data structure, and provide a handler for !recap to send the user the contents of that data structure.
<dominikh>
*simply
<sarkyniin>
oh, so it's pretty easy
<dominikh>
I could probably write it in ~10 minutes, so yeah, rather easy.
<sarkyniin>
dominikh: should I use the Logger cinch class for this?
<dominikh>
no.
<dominikh>
you should be writing normal plugins
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch
postmodern has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]