dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.9
UberDragon has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
UberDragon has joined #cinch
Space has joined #cinch
Myconix has joined #cinch
<Myconix>
hey guys, complete newbie here
<Myconix>
how do I make bots use commands? (e.g. "/me")
<dominikh>
with the action method that's defined on channels/users.
<Myconix>
so just "m.action("command") then?
<dominikh>
m is a message, not a channel or a user. m.target.action(...)
<Myconix>
ah, okay
Spami has joined #cinch
<UberDragon>
dominikh: just wanted to say thanks for taking the time to cook up cinch. I've been having a blast working with it to create my little ruby bot :)
Myconix has left #cinch ["Please send your complaints to /dev/null"]
<dominikh>
UberDragon: :) you're welcome.
<UberDragon>
that issue I had running two bots, you were right of course.. it was my sinatra hooks (I'm working on a webhook plugin that allows bot control, statistic views.. maybe even channel relay hehe)
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #cinch
Spami has joined #cinch
Spami has quit [Client Quit]
<UberDragon>
is there a method buried in the bot object for showing the server it's connected to (similar to how you can bot.irc.network.name)
<dominikh>
uh, what for? it's your bot, you should know where it's connected to. also, bot.config.server
<UberDragon>
lol
<UberDragon>
for the statistics info that will be relayed on protected web page
<UberDragon>
and thanks
<UberDragon>
hmm as the method would indicate.. thats the configured server
<dominikh>
correct.
<UberDragon>
but is there a way to get the actual server?
<UberDragon>
ie the server you connect to after the round robin dns trip?
<dominikh>
let me check
<dominikh>
nope
<dominikh>
surprisingly, at that. we could get it from WHOIS, but the current version of Cinch doesn't store that value anywhere
<UberDragon>
hmm ok thanks
<dominikh>
bot.irc.socket.<some_magic_method> would probably work
<dominikh>
where #socket returns a TCPSocket
<dominikh>
so probably #peeraddr on that, third element in the array it returns
<dominikh>
be warned, though, that IRC#socket is part of the private API, so there's no guarantee it'll exist in future versions of Cinch. realistically speaking, however, it'll probably stick around
<UberDragon>
k
Spami has joined #cinch
maetrik has quit [Ping timeout: 245 seconds]
sindork has quit [Quit: No Ping reply in 180 seconds.]
Dwarf has quit [Ping timeout: 264 seconds]
sindork has joined #cinch
maetrik has joined #cinch
maetrik has quit [Excess Flood]
Dwarf has joined #cinch
maetrik has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #cinch
Space has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
v1n has joined #cinch
UberDragon has quit [*.net *.split]
v0n has quit [*.net *.split]
dyoung522 has quit [*.net *.split]
rikai_ has quit [*.net *.split]
waxjar_ has quit [*.net *.split]
postmodern has quit [*.net *.split]
kludge` has quit [*.net *.split]
Apathetic has quit [*.net *.split]
Dwarf has quit [*.net *.split]
kx has quit [*.net *.split]
UberDrag_ has joined #cinch
kx has joined #cinch
Dwarf has joined #cinch
Dwarf has quit [Max SendQ exceeded]
Dwarf has joined #cinch
rikai_ has joined #cinch
dyoung522 has joined #cinch
waxjar_ has joined #cinch
postmodern has joined #cinch
kludge` has joined #cinch
Apathetic has joined #cinch
kludge` has quit [Ping timeout: 260 seconds]
kludge` has joined #cinch
sleetdrop has joined #cinch
Space has joined #cinch
sleetdrop has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
Space has quit [Remote host closed the connection]
maetrik has quit [Quit: Bye Bye!]
UberDrag_ has quit [Remote host closed the connection]