txdv has quit [Read error: Connection reset by peer]
txdv has joined #cinch
postmodern has joined #cinch
ColdBlooder has joined #cinch
postmodern has quit [Quit: Leaving]
aytch has quit [Remote host closed the connection]
<ColdBlooder>
hi
<dominikh>
hi.
aytch has joined #cinch
<ColdBlooder>
Does anyone know how i can get my bot to join a channel with a key on it? (+k)
<dominikh>
c.channels = ["#channel key"]
<dominikh>
if done interactively, the join method takes two arguments
<ColdBlooder>
Wow thanks. I tried everythink like "," and ";" but not just leaving a space, lol
<ColdBlooder>
Works now
<dominikh>
:)
<ColdBlooder>
This is a bit moce complicated (And for days when i have a better understanding of cinch/ruby) but can i get the ip of any user with the bot? So far i can only get the hostmask
<dominikh>
with a reverse dns lookup, sure
<ColdBlooder>
is there a tutorial/example somewhere?
<dominikh>
google, probably?
<ColdBlooder>
google for cinch get me like the sams 5-10 pages. Its not very wide spread....
<ColdBlooder>
*same
<dominikh>
doing a reverse dns lookup has nothing to do with Cinch
<Cinchy>
[URL] sockets - Reverse DNS in Ruby? - Stack Overflow
<ColdBlooder>
Oh ok. First day actually using cinch/ruby. Imressed how easy and beginner friendly it is.
<ColdBlooder>
thanks for the link :)
<dominikh>
that could be attributed to Ruby then :)
<dominikh>
(the easy part)
<ColdBlooder>
First i need to work more with my early and still simple bot. Need more experience. But Ruby seems to be easy to learn. IMO looks like Visual Basic 6 + .net with a hint of c sprinkeled over it
<dominikh>
can't say I can agree with that, but oh well ;)
aytch has quit [Remote host closed the connection]
<ColdBlooder>
Its been a while since visual basic, so my memory might be failing.
waxjar has quit [Ping timeout: 264 seconds]
cmartin123 has joined #cinch
waxjar has joined #cinch
<cmartin123>
Is there an easy way to bind events to private messages from a particular user?
<Netfeed>
if m.user == "SomeUser"?
<Netfeed>
m.user.nick even
<cmartin123>
Instead of binding just one event for all private messages, isn't there a nicer way of doing it?
<cmartin123>
Like how you can specify events to respond to messages with certain content
<waxjar>
nope
<ColdBlooder>
How can i make a bot command only useable by admins/ops?