dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
rikai_ has quit [Ping timeout: 264 seconds]
rikai has joined #cinch
Zackio has quit [Ping timeout: 252 seconds]
Zackio has joined #cinch
Rylee has quit [Max SendQ exceeded]
Rylee has joined #cinch
postmodern has quit [Quit: Leaving]
xeviox|afk is now known as xeviox
john3213 has joined #cinch
john3213 has left #cinch [#cinch]
postmodern has joined #cinch
freedrull has quit [Ping timeout: 252 seconds]
freedrull has joined #cinch
FIQ has quit [Ping timeout: 252 seconds]
Guest26646 has joined #cinch
Guest26646 has quit [Changing host]
Guest26646 has joined #cinch
Guest26646 is now known as FIQ
<
Dwarf>
I get the following error on ubuntu 14.04: `block in new_ostruct_member': wrong number of arguments
<
Dwarf>
With ruby 2.1.0
<
dominikh>
exceptions usually come with complete stack traces :)
<
Dwarf>
They do, gimme a sec ;)
<
Dwarf>
My guess is I'm missing something in the configure block
<
dominikh>
well, what's main.rb:26 look like
<
Dwarf>
Found it, c.ping_interval 240 was the culprit
<
Dwarf>
How dumb of me
<
Dwarf>
Sorry for wasting your time!
<
dominikh>
no problem
xeviox is now known as xeviox|afk
<
Dwarf>
If I wanted to hook the RPL_ENDOFMOTD, would I do "on RPL_ENDOFMOTD, /hello/ do |m|"?
<
Dwarf>
If I wanted to hook the RPL_ENDOFMOTD, would I do "on RPL_ENDOFMOTD, /hello/ do |m|"?
<
dominikh>
might need RPL_ENDOFMOTD.to_s; not sure if we do that automatically or not. also you'll have to drop the regexp
<
Dwarf>
^ i don't know if I said that twice
<
dominikh>
yes you did.
<
Dwarf>
Crappy client :/
<
Dwarf>
Thanks for the quick replies
<
dominikh>
no problem
<
Dwarf>
"unexpected keyword_do_block" on line "on RPL_ENDOFMOTD.to_s, do |m|"
<
dominikh>
no comma.
<
Dwarf>
main.rb:44: syntax error, unexpected keyword_do_block and main.rb:49: syntax error, unexpected keyword_end, expecting end-of-input
<
Dwarf>
I must be missing something obvious
<
dominikh>
line 23…
<
Dwarf>
d'oh, swapped that around didn't I
<
Dwarf>
Also, it needed to be Cinch::Constants::RPL_ENDOFMOTD instead, no to_s needed
<
Dwarf>
Best bot framework ever, I'd make an eggdrop but this is so much easier than TCL
<
dominikh>
pretty much wrote it after I looked at eggdrop :)
<
Dwarf>
I love the built in certFP support, I wish I knew about that earlier
<
dominikh>
yeah, we've had that for a while now :P
<
CM-Punk>
Is there a way to trigger the bot to identify, seperate from start?
<
CM-Punk>
Rather, how would I access the c.password variable within a plugin?