dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.10
space has quit [Ping timeout: 240 seconds]
space has joined #cinch
UberDragon has quit [Quit: UberDragon]
postmodern has joined #cinch
WeirdThall has joined #cinch
<WeirdThall>
Hi, was wondering if I could get a bit of assistance with some syntax. Im using cinch with zwily's bitbot and I want it to check against a users nick not the freenode 'number'. For example use WeirdThall instead of b0192692 that it gets from WeirdThall!b0192692.
<abolishme>
I don't think this room is as active as it should be
<abolishme>
i doubt you'll get an answer. try stack overflow
Spami has quit [Quit: This computer has gone to sleep]
space has quit [Read error: Connection reset by peer]
AJ-Lee has joined #cinch
sindork_ has quit [Read error: Operation timed out]
<AJ-Lee>
http://pastebin.com/VYb4zZjS Can someone tell me why this isn't greeting users when they join? I'm not getting an exception.
sindork has joined #cinch
<AJ-Lee>
It makes no sense to me, but I'm a n00b
anothernick has joined #cinch
<anothernick>
any idea how do i connect with ssl ?
<anothernick>
connecting to the irc server with ssl ?
anothernick has quit [Ping timeout: 250 seconds]
<Netfeed>
AJ-Lee: does that code even work? isn't that just a free unless-statement and then there's a reply? shouldn't it be something like: m.reply "msg" unless m.user_nick == bot.nick?
<Netfeed>
and i doubt you actually need that check, the bot's actions doesn't cause events afaik
<Netfeed>
oh, there where an extra end there, missed that
<Netfeed>
strange formating
<AJ-Lee>
Yeah the code worked for when the bot joins, it says what it's supposed to, it worked for a single static line on join of another user...
<AJ-Lee>
BUT it's not working since I added the randomizer.
<Netfeed>
because the method is on the object and not on m
<ayonix>
yeah, just wanted to ask where m.greets is defined :S
<ayonix>
also, you're missing an m.user.nick in the first greeting i think