dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.3.1 | You're being logged at https://irclog.whitequark.org/cinch/
Azure has quit [Ping timeout: 255 seconds]
Azure has joined #cinch
Azure has quit [Read error: Connection reset by peer]
Azure has joined #cinch
Mackerel has quit [Ping timeout: 276 seconds]
Cool_mane has joined #cinch
<Cool_mane> hey guys i am working on re-coding an old mirc bot into ruby
<Cool_mane> a few mirc specific things im getting a little stuck on re-doing though
<Cool_mane> for example heres a line i had
<Cool_mane> on *:TEXT:!everybody:#:msg $chan !!! GAME STARTING !!! $regsubex($str(@, $nick($chan, 0)), /./g, $nick($chan, \n) $chr(32))
<Cool_mane> i found this but not sure if its doing what i want really? http://www.rubydoc.info/github/cinchrb/cinch/Cinch%2FChannel:users
<Cool_mane> that mirc script line i posted would have the bot say "game starting" and then list all the users in the channel with a space between the nicks
<rails> Cool_mane: same thing really, on message !everyone, m.channel.users.each Array.push(this) end m.reply "game starting #{Array.join(' ')}"
<rails> probably a nicer way of doing it, but im not your programmer ;)
<Cool_mane> Thanks rails! My ruby knowledge is extremely rusty.
<dominikh> m.channel.users.keys.join(" ")
<Cool_mane> thanks dominikh, lemme toss it in my bot and see what happens.
Azure has quit [Read error: Connection reset by peer]
Azure has joined #cinch
Mackerel has joined #cinch
Mackerel has quit [Quit: That shouldn't have happened..]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #cinch
Mackerel has joined #cinch
Azure has quit [Read error: Connection reset by peer]
Azure has joined #cinch
FiXato has quit [Remote host closed the connection]
FiXato has joined #cinch
Cool_mane has quit []
Azure has quit [Remote host closed the connection]
Azure has joined #cinch