2014-02-27 15:35
dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
00:05
Azure has joined #cinch
00:37
kith has joined #cinch
04:57
rikai has quit [Ping timeout: 255 seconds]
04:59
rikai has joined #cinch
08:57
rikai has quit [Ping timeout: 240 seconds]
09:02
rikai has joined #cinch
09:30
iamayam has quit [Ping timeout: 240 seconds]
09:32
iamayam has joined #cinch
10:59
rikai has quit [Ping timeout: 240 seconds]
11:28
thews has joined #cinch
11:34
rikai has joined #cinch
11:39
rikai has quit [Ping timeout: 245 seconds]
11:53
postmodern has joined #cinch
12:09
rikai has joined #cinch
12:30
rikai has quit [Ping timeout: 272 seconds]
12:45
rikai has joined #cinch
13:50
xeviox|afk is now known as xeviox
14:02
Rylee_ has quit [Remote host closed the connection]
14:03
postmodern has quit [Quit: Leaving]
14:12
Rylee has joined #cinch
14:31
literal has quit [Ping timeout: 252 seconds]
15:02
literal has joined #cinch
17:53
Edelwin has joined #cinch
17:55
<
Edelwin >
I don't understand this part of the documentation : rubydoc.info/github/cinchrb/cinch/Cinch/Target:safe_notice
17:55
<
dominikh >
what about it do you not understand?
17:55
<
Edelwin >
well, I'm not that good in ruby, and I just don't see how to send a notice :x
17:55
<
Edelwin >
what would be the code to write
17:57
<
Edelwin >
my point is to send a notice to a list (an array) of nicks when the bot matches a word (in this case !help) on the channel
17:57
<
Edelwin >
So I've set c.plugins.prefix = /^!/
17:58
<
dominikh >
my_array.each { |n| User(n).notice("Hi.") }
17:59
<
Edelwin >
so, n is an element of the array
17:59
<
Edelwin >
thank you =)
18:05
<
leftylink >
I have a thought in the back of my mind to take advantage of NOTICE user1,user2 at some point, but bot would have to detect max number of targets from ISUPPORT
18:05
<
leftylink >
and not that common use case to simultaneously message or notice multiple targets
18:06
<
dominikh >
we already parse ISUPPORT, that's the least of your problems
18:06
<
dominikh >
integrating it with the round robin rate limiting is.
18:08
<
leftylink >
ah, indeed
18:08
<
leftylink >
I will think about it at some point
18:14
xeviox is now known as xeviox|afk
18:16
<
Edelwin >
my bot is fully functional \o/
20:23
rikai has quit [Ping timeout: 245 seconds]
20:50
rikai has joined #cinch
21:40
postmodern has joined #cinch
22:15
rikai has quit [Ping timeout: 240 seconds]
22:59
rikai has joined #cinch
23:42
Azure has quit [Quit: My MBP went to sleep.]