dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.9
v0n has joined #cinch
v0n has quit [Ping timeout: 260 seconds]
[Rickmasta] has joined #cinch
rickmasta has quit [Read error: Connection reset by peer]
v0n has joined #cinch
[Rickmasta] has quit [Quit: Leaving...]
rickmasta has joined #cinch
v0n has quit [Ping timeout: 248 seconds]
rickmasta has quit [Quit: Leaving...]
Spami has quit [Quit: This computer has gone to sleep]
sacc91 has quit [Read error: Connection reset by peer]
sacc91 has joined #cinch
postmodern has quit [Quit: Leaving]
postmodern has joined #cinch
leftylink has quit [Remote host closed the connection]
<awkisopen>
I know you can say "on :event" outside of a plugin, but what if I want to do it inside of a plugin? i.e. a method that is called whenever an event :leaving takes place
<dominikh>
you'd use the listen_to class method
<dominikh>
as in `listen_to :leaving, method: :hes_gone; def hes_gone(m); ...; end`
<awkisopen>
awesome!
<awkisopen>
ty
Spami has joined #cinch
kludge` has quit [Read error: Operation timed out]
leftylink has joined #cinch
v0n has joined #cinch
jonahR has joined #cinch
kludge` has joined #cinch
v0n has quit [Read error: Operation timed out]
space_ has joined #cinch
Space has quit [Ping timeout: 248 seconds]
space_ has quit [Remote host closed the connection]
waxjar has quit [Ping timeout: 240 seconds]
waxjar has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
jonahR has quit [Quit: jonahR]
kludge` has quit [Ping timeout: 245 seconds]
kludge` has joined #cinch
kludge` has quit [Ping timeout: 248 seconds]
kludge` has joined #cinch
kludge` has quit [Changing host]
kludge` has joined #cinch
davidboy has quit [Ping timeout: 246 seconds]
postmodern has quit [Quit: Leaving]
UberDragon has joined #cinch
Spami has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #cinch
davidboy has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]