dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.7
postmodern has quit [Quit: Leaving]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
postmodern has joined #cinch
head8debian has quit [Ping timeout: 265 seconds]
leftylink has quit [Ping timeout: 265 seconds]
head8debian has joined #cinch
head8debian has quit [Changing host]
head8debian has joined #cinch
leftylink has joined #cinch
FiXato has quit [*.net *.split]
woodruffw has quit [*.net *.split]
Lilian has quit [*.net *.split]
woodruffw has joined #cinch
FiXato has joined #cinch
Zackio has quit [Quit: C-x C-c]
RedDwarf has joined #cinch
Lilian has joined #cinch
Azure|dc has quit [Excess Flood]
Rickmasta has joined #cinch
Azure has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
Azure has quit [Ping timeout: 250 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Greg__ has joined #cinch
Greg__ has left #cinch [#cinch]
govt_official has joined #cinch
<govt_official>
so the on keyword doesnt work in a plugin im trying to use?
<computerman>
ok
<govt_official>
and the YARD doesnt have anything on plugins...?
<computerman>
have you tried turning it off and on again?
<govt_official>
well no
<computerman>
well get back to me if it persists
* computerman
hangs up
<govt_official>
if I want to :catchall every message from a plugin, what should I do?
RedDwarf is now known as Zackio
<govt_official>
ah fuck it. the docs for this are fucking awful, i couldve written some shitty perl to do this by now
govt_official has left #cinch [#cinch]
<dominikh>
:-)
<tinnvec>
I always thought the government ran on shitty perl...
<tinnvec>
if I want to repeat a message X number of times at an interval, while still being able to accept additional commands, is Thread.new the best way?
<leftylink>
but wait, the new commands will already be running in a new thread (cinch handles that)
<leftylink>
so I don't think Thread.new will even be necessary, right?
<tinnvec>
oh I didn't realize that each plugin was running in it's own thread
<tinnvec>
cool then, I'm overthinking it lol
<leftylink>
I've contributed code to a bot that had a race: it was doing something, sleeping, doing something else. if someone sent certain commands while the bot was sleeping it would really mess up the bot when it woke and did the "something else", soooooo yeah
<leftylink>
I've had to deal with that
<tinnvec>
heh yeah, I made a strawpoll plugin and want it to re-announce the poll url a couple times, but didn't want to block other commands
<leftylink>
so yeah just sleeping could do it - another alternative is to use a timer that fires a limited number of times