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/
waxjar has quit [Ping timeout: 245 seconds]
<rikai> Igneous: hah, i was actually thinking of doing something quite similar to that myself... :)
<rikai> My only real critique would be perhaps to use "#{@match[:nick]} meant: #{@match[:msg]}" instead of "#{@match[:nick]}: #{@match[:msg]}" :)
waxjar has joined #cinch
<Igneous> good idea
EatFoot has joined #cinch
<Igneous> so now, it should wrok like that
<Igneous> s/ro/or/
<EatFoot> Igneous meant, "so now, it should work like that"
<Igneous> I've also got a grep function, for going back through $log
<Igneous> .grep function
<EatFoot> (19:16:57 - 05/13/2013) Igneous: I've also got a grep function, for going back through $log
<Igneous> It's a testiment to both the simplicity of ruby and cinch, that I can implement a full (to-memory) channel logger in like, three lines of code
<rikai> Mmm, i think you can save a few characters sticking with the other output syntax. The : instead of the , i mean that way you dont need the quotes. Gives a whole two more characters for displaying the message. :P
<rikai> And agreed.
<rikai> Your bot source available somewhere? :)
<Igneous> probably tomorrow, I'm a little ashamed of it right now
<Igneous> it'll be up at http://github.com/igneous
<rikai> Hah. Dont be, can almost guarantee your code is better than mine. :P
* rikai follows
<rikai> for example, my messy modifications of mutewinter's showbot to add in i18n...: https://github.com/mutewinter/Showbot/pull/55/files
<rikai> :P
<EatFoot> ^ Mass-restructuring of bot configuration. by rikai · Pull Request #55 · mutewinter/Showbot · GitHub
<rikai> Ha! Thats another thing i was thinking about adding xD
fridim__ has joined #cinch
<Igneous> oh and here's another thing that is so stupid and yet so useful
<Igneous> .eval Array.methods.first 10
<EatFoot> [:[], :try_convert, :allocate, :new, :superclass, :json_creatable?, :freeze, :===, :==, :<=>]
<Igneous> IRC repl!
postmodern has quit [Read error: Operation timed out]
Igneous has quit [Quit: leaving]
EatFoot has quit [Remote host closed the connection]
postmodern has joined #cinch
sleetdrop has joined #cinch
fridim__ has quit [Ping timeout: 264 seconds]
<rikai> nice nice
<catepillar> how secure is the .eval?
postmodern has quit [Ping timeout: 256 seconds]
fridim__ has joined #cinch
fridim__ has quit [Ping timeout: 268 seconds]
postmodern has joined #cinch
<zewelor> how can i make bot to keep his nickname after server timeouts and reconnect ? It gets nick with _ on the end as previous session still hangs on the server. Is there some option to set for bot to try to regain his original nickname ?
jhaals has joined #cinch
<sleetdrop> zewelor: I use a loop to wrap up the start / stop of a bot https://gist.github.com/sleetdrop/5574355
<zewelor> what exception is generated when bot reconnects ?
<sleetdrop> zewelor: I don't know
<zewelor> i dont think it generates any, so i need some other solution
<zewelor> i was thinking about some timer plugin to check if the original nick is available yet
<waxjar> you can add a handler for nick changes/quits: if the person with nickname you want changes theirs or if that person quits, change your own to that one
<waxjar> ^ zewelor
<sleetdrop> zewelor: My bot is simple, it just send svn commit notifications, so if somethings unexpected happens, just restart it will be okay. The idea of use a timer plugin to check for the nick will be okay.
<sleetdrop> zewelor: And if there is a nickserv, why not just register the nick, and auth the nick everytime reconnect
<zewelor> sleetdrop: Nickserv isn't on every network, and if it is when old session still doesnt time out, I don't think new session can auth with that nickname ?
<zewelor> waxjar: that could probably work, i will look into it
jhaals has quit [Ping timeout: 246 seconds]
jhaals has joined #cinch
sleetdrop has quit [Ping timeout: 276 seconds]
jhaals has quit [Quit: jhaals]
jhaals has joined #cinch
jhaals_ has joined #cinch
jhaals has quit [*.net *.split]
v0n has joined #cinch
jhaals_ has quit [Ping timeout: 248 seconds]
sleetdrop has joined #cinch
jhaals has joined #cinch
jhaals has quit [Quit: jhaals]
v0n has quit [Ping timeout: 268 seconds]
v0n has joined #cinch
bean has joined #cinch
adrian1 has joined #cinch
Lemtzas_ has joined #cinch
sacc91_ has joined #cinch
davidboy has quit [*.net *.split]
Liru_ has joined #cinch
JC`__ has joined #cinch
catepill1r has joined #cinch
jmaister_ has joined #cinch
sacc91 has quit [*.net *.split]
Liru has quit [*.net *.split]
ayonix has quit [*.net *.split]
Lemtzas has quit [*.net *.split]
jmaister has quit [*.net *.split]
catepillar has quit [*.net *.split]
JC` has quit [*.net *.split]
sacc91_ is now known as sacc91
Lemtzas has joined #cinch
Lemtzas_ has quit [*.net *.split]
postmodern has quit [Quit: Leaving]
Cinchy has joined #cinch
v0n has quit [Ping timeout: 245 seconds]
rickmasta has joined #cinch
davidboy has joined #cinch
sleetdrop has quit [Quit: Computer has gone to sleep.]
rickmasta has quit [Quit: Leaving...]
rickmasta has joined #cinch
rickmasta has quit [Quit: Leaving...]
v0n has joined #cinch
v0n has quit [Quit: WeeChat 0.4.0]
v0n has joined #cinch
bhaak has quit [Ping timeout: 240 seconds]
bhaak has joined #cinch
jhaals has joined #cinch
jhaals has quit [Quit: jhaals]
rickmasta has joined #cinch
bean has quit [Quit: Computer has gone to sleep.]
jmaister_ is now known as jmaister
bean has joined #cinch
bean has quit [Max SendQ exceeded]
bean has joined #cinch
bean has quit [Max SendQ exceeded]
bean has joined #cinch
v0n has quit [Ping timeout: 245 seconds]
bean has quit [Quit: Computer has gone to sleep.]
v0n has joined #cinch
v0n has quit [Ping timeout: 248 seconds]
postmodern has joined #cinch