<krisbulman>
how do I match someone speaking directly to the bot, instead of just matching !keyword ?
<dominikh>
I suppose you don't want to hardcode the bot's nick in the match?
<krisbulman>
ideally not.
<dominikh>
want it for a single matcher or for all in the plugin?
<krisbulman>
all the plugin
<dominikh>
set :prefix, lambda {|m| m.bot.nick + ": "}
<krisbulman>
oooh, nice
<krisbulman>
thanks dominikh
<dominikh>
cheers
krisbulman is now known as [krisbulman]
nOgAnOo has quit [Ping timeout: 265 seconds]
caesura has joined #cinch
<caesura>
hey guys
nOgAnOo has joined #cinch
[krisbulman] is now known as krisbulman
<caesura>
has anybody made a mafia bot with cinch
<caesura>
for the game
krisbulman is now known as [krisbulman]
[krisbulman] is now known as krisbulman
krisbulman is now known as [krisbulman]
rikai has quit [Ping timeout: 252 seconds]
rikai has joined #cinch
rikai has quit [Changing host]
rikai has joined #cinch
caesura has quit [Quit: Leaving]
Spami has quit [Quit: This computer has gone to sleep]
<oddmunds>
maybe someone made a bot for the real mafia D:
xeviox|afk is now known as xeviox
kludge` has quit [Ping timeout: 260 seconds]
kludge` has joined #cinch
rikai has quit [Ping timeout: 272 seconds]
rikai has joined #cinch
u1234123 has joined #cinch
u1234123 has left #cinch [#cinch]
rikai has quit [Ping timeout: 252 seconds]
rikai has joined #cinch
rikai has quit [Ping timeout: 252 seconds]
rikai has joined #cinch
frdmn has joined #cinch
<frdmn>
hey!
<frdmn>
glad i find you here :)
<frdmn>
I have a problem with a Cinch ruby script which i use for an IRC bot. The channel has a +k key and i am not sure how to suppor that in the following code: http://hastebin.com/fijujuceci.tex
nOgAnOo has quit [Read error: Connection reset by peer]
rikai_ has joined #cinch
rikai has quit [Ping timeout: 252 seconds]
rikai has joined #cinch
rikai_ has quit [Ping timeout: 252 seconds]
rikai has quit [Ping timeout: 246 seconds]
rikai has joined #cinch
rikai has quit [Changing host]
rikai has joined #cinch
rikai has quit [Excess Flood]
rikai has joined #cinch
rikai_ has joined #cinch
rikai has quit [Ping timeout: 272 seconds]
rikai has joined #cinch
rikai_ has quit [Ping timeout: 252 seconds]
<frdmn>
Netfeed: okay, spoke too soon
<frdmn>
for some reason it doesn't work anymore
<frdmn>
the +k is set now, the bot can join it as well
<frdmn>
but instead of posting the message it should post, it justs posts the channelkey as message
<frdmn>
o_O
<frdmn>
each time where a normal message should appear
<frdmn>
the thing is, i thought it worked after you told me... now it doesnt
<frdmn>
and i didnt changed the script o_O
<Netfeed>
no idea
UberDragon has joined #cinch
rikai has quit [Read error: Connection reset by peer]
rikai_ has joined #cinch
Spami has joined #cinch
rikai_ has quit [Ping timeout: 272 seconds]
rikai has joined #cinch
rikai has quit [Ping timeout: 246 seconds]
rikai has joined #cinch
<dominikh>
if you have "#foo bar" and do Channel("#foo bar").send("meh") that will translate to PRIVMSG #foo bar :meh – which a) includes the key b) isn't valid c) apparently is treated by the IRCd as if you sent the key only
<dominikh>
frdmn: ^
<frdmn>
thanks dominik
<frdmn>
i think its a different problem
<frdmn>
i was 100% sure it was working, as Netfeed told me the solution in first place
<frdmn>
then i restarted the script a bunch of times