dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.11
v0n has joined #cinch
krisbulman is now known as [krisbulman]
thews_ is now known as thews
thews has quit [Changing host]
thews has joined #cinch
v0n has quit [Ping timeout: 245 seconds]
[krisbulman] is now known as krisbulman
catepillar has quit [Ping timeout: 265 seconds]
catepillar has joined #cinch
krisbulman is now known as [krisbulman]
[krisbulman] is now known as krisbulman
krisbulman is now known as [krisbulman]
leftylink has quit [Quit: no]
leftylink has joined #cinch
housecat has joined #cinch
<housecat> hey guys
<housecat> im having an issue getting cinch to work properly
<housecat> even the basic hello world example on the git isnt working for me
<housecat> i was wondering if i could get some help
<dominikh> the basic one or the plugin one?
<housecat> basic one
<dominikh> show me. bring that bot here
<housecat> k
<housecat> its running
<housecat> isnt in here
<housecat> i was trying it on the cinch-bots channel too
<dominikh> well I'd like it here :)
<housecat> i get that
<housecat> but i just tried it in here
<housecat> but it doesnt connect
<dominikh> why not
<housecat> the output mentions something about a forcible disconnect
<housecat> by the remote host
<dominikh> show me the log then.
<catepillar> log and the config would be nice
<dominikh> I haven't seen the bot in the other channel either, so… yeah
<housecat> heres the log
<housecat> how should i get the config to you
<dominikh> you'll have to consult with either your network operator or freenode. does not look like a cinch-related issue to me
<housecat> cool
<housecat> ive been suspecting that
<catepillar> you can post the config on pastebin
<catepillar> its probably the bot.rb file
<housecat> heres the bot.rb
<dominikh> and seeing that you're using Windows, check that neither your AV nor firewall are interfering
leftylink has quit [Read error: Connection reset by peer]
leftylink has joined #cinch
<housecat> im guessing its an issue with my schools network
<dominikh> might be a possibility
<housecat> actually
<housecat> thats exactly what it is
<dominikh> what made you so sure?
<housecat> i just tried to get on any server on mirc
<housecat> and i couldnt
<dominikh> heh
<dominikh> there you go
<housecat> guess so
leftylink has quit [Client Quit]
<housecat> thanks for the help
<dominikh> np
housecat has left #cinch [#cinch]
leftylink has joined #cinch
leftylink has quit [Client Quit]
leftylink has joined #cinch
<dominikh> darn, should've suggested SSL.
nOgAnOo has quit [Ping timeout: 264 seconds]
xeviox|afk is now known as xeviox
nOgAnOo has joined #cinch
kludge` has quit [Ping timeout: 245 seconds]
kludge` has joined #cinch
nOgAnOo has quit [Quit: Jesus Christ is Lord!]
nOgAnOo has joined #cinch
nOgAnOo has quit [Quit: Jesus Christ is Lord! Also, "AIN'T NOTHING AN OLD COUNTRY BOY LIKE ME CAN'T HACK." - John Denver]
[krisbulman] is now known as krisbulman
leftylink has quit [Ping timeout: 265 seconds]
leftylink has joined #cinch
krisbulman is now known as [krisbulman]
[krisbulman] is now known as krisbulman
v0n has joined #cinch
krisbulman is now known as [krisbulman]
[krisbulman] is now known as krisbulman
xeviox is now known as xeviox|afk
ayonix is now known as ayonix__
ayonix__ is now known as ayonix
krisbulman is now known as [krisbulman]
[krisbulman] is now known as krisbulman
krisbulman is now known as [krisbulman]
v0n has quit [Ping timeout: 245 seconds]
gtech_ has joined #cinch
<gtech_> heyo
<gtech_> Anyone there?
<dominikh> sometimes.
<gtech_> I'm trying to create an Observable IRC bot with notifies on a certain message event
<onewheelskyward> Well, you're in luck.
<gtech_> how do I set that up?
<dominikh> I have no idea what an observable bot is
<deb> is there a way i can change th bindhost to one used by default when i have several ipv6 with all A, AAA, PRT dns records setup and fine by znc and ssh to the ipv6/ipv4 ?
<gtech_> the block from Cinch::Bot.on is run by Callback, not Bot, so I'm stuck
<dominikh> gtech_: there's no need to use the block form
<dominikh> deb: half of your sentence doesn't parse, but: http://rubydoc.info/gems/cinch/file/docs/bot_options.md#localhost
<Cinchy> [URL] File: Bot options — Documentation for cinch (2.0.12)
<deb> dominikh, reading
<dominikh> gtech_: you can just as well do bot = Cinch::Bot.new; bot.config.foo = bar; bot.on(...) {} – the on handlers will execute in Callback though, fwiw – or you can use the plugin architecture.
<gtech_> dominikh: so you're saying
<gtech_> I have to make a plugin to make it work?
<dominikh> probably.
<gtech_> I guess I could make Callback observable...?
<gtech_> ah no I don't have the object for the observer
<dominikh> you shouldn't monkeypatch other people's classes, either.
<gtech_> heh what's the alternative?
<dominikh> write a plugin.
<gtech_> kk
<gtech_> off to rtfm
<dominikh> if I ever rewrote Cinch (I won't) there won't be on handlers in the first place.
<dominikh> they're terrible for properly designed bots
<dominikh> (well, and the Callback idea was terrible, too.)
<onewheelskyward> on :channel, on :message and whatnot you're speaking of?
<dominikh> right.
<onewheelskyward> I haven't used those yet. well, I guess on :channel by default.
<onewheelskyward> I'm about to impl a monitor.
<onewheelskyward> We'll see how it goes.
v0n has joined #cinch
<gtech_> dominikh: woot woot, it works, thanks!
<dominikh> :) great
v0n has quit [Quit: WeeChat 0.4.3]
v0n has joined #cinch