dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
Azure has joined #cinch
kith has joined #cinch
thews_ has quit []
rikai has quit [Ping timeout: 255 seconds]
rikai has joined #cinch
rikai has quit [Ping timeout: 240 seconds]
rikai has joined #cinch
iamayam has quit [Ping timeout: 240 seconds]
iamayam has joined #cinch
rikai has quit [Ping timeout: 240 seconds]
thews has joined #cinch
rikai has joined #cinch
rikai has quit [Ping timeout: 245 seconds]
postmodern has joined #cinch
rikai has joined #cinch
rikai has quit [Ping timeout: 272 seconds]
rikai has joined #cinch
xeviox|afk is now known as xeviox
Rylee_ has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
Rylee has joined #cinch
literal has quit [Ping timeout: 252 seconds]
literal has joined #cinch
Edelwin has joined #cinch
<Edelwin> hello
<Edelwin> I don't understand this part of the documentation : rubydoc.info/github/cinchrb/cinch/Cinch/Target:safe_notice
<dominikh> what about it do you not understand?
<Edelwin> well, I'm not that good in ruby, and I just don't see how to send a notice :x
<Edelwin> what would be the code to write
<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
<Edelwin> So I've set c.plugins.prefix = /^!/
<dominikh> my_array.each { |n| User(n).notice("Hi.") }
<Edelwin> so, n is an element of the array
<Edelwin> thank you =)
<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
<leftylink> and not that common use case to simultaneously message or notice multiple targets
<dominikh> we already parse ISUPPORT, that's the least of your problems
<dominikh> integrating it with the round robin rate limiting is.
<leftylink> ah, indeed
<leftylink> I will think about it at some point
xeviox is now known as xeviox|afk
<Edelwin> my bot is fully functional \o/
<Edelwin> :D
rikai has quit [Ping timeout: 245 seconds]
rikai has joined #cinch
postmodern has joined #cinch
rikai has quit [Ping timeout: 240 seconds]
rikai has joined #cinch
Azure has quit [Quit: My MBP went to sleep.]