dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.0.5
v1n has quit [Read error: Operation timed out]
v1n has joined #cinch
v1n has quit [Ping timeout: 248 seconds]
elfurbe has quit [Quit: elfurbe]
v0n has joined #cinch
jonahR has quit [Ping timeout: 256 seconds]
jonahR has joined #cinch
sleetdrop has joined #cinch
sleetdrop has quit [Quit: Computer has gone to sleep.]
jonahR has quit [Ping timeout: 240 seconds]
jonahR has joined #cinch
sindork has joined #cinch
jonahR has quit [Ping timeout: 264 seconds]
sleetdrop has joined #cinch
sleetdrop has quit [Max SendQ exceeded]
jonahR has joined #cinch
sleetdrop has joined #cinch
ayonix has quit [Quit: cya]
ayonix has joined #cinch
postmodern has joined #cinch
v0n has quit [Ping timeout: 276 seconds]
Spami has joined #cinch
Spami has joined #cinch
Spami has quit [Changing host]
postmodern has quit [Quit: Leaving]
framling_ has joined #cinch
aytch_ has joined #cinch
aytch has quit [*.net *.split]
framling has quit [*.net *.split]
aytch_ is now known as aytch
Spami has quit [Quit: This computer has gone to sleep]
jonahR has quit [Quit: jonahR]
sleetdrop has quit [Ping timeout: 264 seconds]
Spaceghost has quit [Read error: Connection reset by peer]
Spaceghost has joined #cinch
Spaceghost is now known as Guest87357
Guest87357 has quit [Remote host closed the connection]
space has joined #cinch
space is now known as Guest85240
Guest85240 is now known as Spaceghost
Spaceghost has quit [Changing host]
Spaceghost has joined #cinch
Spami has joined #cinch
sleetdrop has joined #cinch
sleetdrop has quit [Remote host closed the connection]
_whitelogger_ has joined #cinch
_whitelogger has quit [*.net *.split]
v0n has joined #cinch
_whitelogger__ has joined #cinch
aytch_ has joined #cinch
_whitelogger_ has quit [*.net *.split]
aytch has quit [*.net *.split]
aytch_ is now known as aytch
catepill1r has joined #cinch
aytch has quit [*.net *.split]
v0n has quit [*.net *.split]
waxjar has quit [*.net *.split]
mlue has quit [*.net *.split]
catepillar has quit [*.net *.split]
waxjar has joined #cinch
aytch has joined #cinch
mlue has joined #cinch
v0n has joined #cinch
v0n has quit [Ping timeout: 268 seconds]
v0n has joined #cinch
jonahR has joined #cinch
jonahR has quit [Ping timeout: 240 seconds]
kx has joined #cinch
<kx>
can I use on :message to redirect a message to a method?
<dominikh>
on :message, /.../, &someMethod; probably
<kx>
hm, wait, can't I use "on" in plugins?
<dominikh>
why would you.
<kx>
well, I'm just beginning to fool around with cinch. why is "on" used in bot, and "match" in plugin?
<dominikh>
because on is a primitive, mostly akin to "get" in sinatra. useful for some 1-2 handler stuff, not intended for proper plugins
<dominikh>
and plugins use a proper OO approach
<kx>
can't I neatly handle two different text triggers from one plugin then?
<dominikh>
why couldn't you?
<kx>
match invariably leads me to "execute" method, if I understand it right
<dominikh>
only if you don't tell it which method to call. see examples/plugins/multiple_matches.rb
<kx>
I would have to first match both text triggers, route them to execute, and in execute check the text again, and make an ugly switch
<kx>
alright, thanks
<kx>
ah, that's neat
<kx>
great
<kx>
I want to add a bot-wise authorization/privileges system that would work on all plugins. Can I extend some class (e.g. user) easily to include such functionality and have it work on all plugins?
<kx>
ah nevermind
<kx>
got it
<kx>
my first try had a typo
postmodern has joined #cinch
Spaceghost has quit [Ping timeout: 240 seconds]
ex0a has quit [*.net *.split]
ex0a has joined #cinch
ex0a has quit [Ping timeout: 260 seconds]
kx has quit [*.net *.split]
aytch has quit [*.net *.split]
catepill1r has quit [*.net *.split]
ayonix has quit [*.net *.split]
sindork has quit [*.net *.split]
literal has quit [*.net *.split]
dominikh has quit [*.net *.split]
mlue has quit [*.net *.split]
waxjar has quit [*.net *.split]
rikai has quit [*.net *.split]
tempestas has quit [*.net *.split]
FiXato has quit [*.net *.split]
Rennex has quit [*.net *.split]
Cinchy has quit [*.net *.split]
v0n has quit [*.net *.split]
nickrw has quit [*.net *.split]
sacc91 has quit [*.net *.split]
petru has quit [*.net *.split]
Azure has quit [*.net *.split]
txdv_ has quit [*.net *.split]
Dwarf has quit [*.net *.split]
Spami has quit [*.net *.split]
framling_ has quit [*.net *.split]
bhaak has quit [*.net *.split]
oddmunds has quit [*.net *.split]
davidboy has quit [*.net *.split]
Netfeed has quit [*.net *.split]
postmodern has quit [*.net *.split]
cout has quit [*.net *.split]
rikai has joined #cinch
framling_ has joined #cinch
Spaceghost has joined #cinch
oddmunds has joined #cinch
bhaak has joined #cinch
davidboy has joined #cinch
FiXato has joined #cinch
sacc91 has joined #cinch
txdv_ has joined #cinch
mlue has joined #cinch
Azure has joined #cinch
catepill1r has joined #cinch
nickrw has joined #cinch
Spami has joined #cinch
exoa has joined #cinch
aytch has joined #cinch
dominikh has joined #cinch
Netfeed has joined #cinch
petru has joined #cinch
sindork has joined #cinch
postmodern has joined #cinch
kx has joined #cinch
ayonix has joined #cinch
tempestas has joined #cinch
literal has joined #cinch
Cinchy has joined #cinch
Dwarf has joined #cinch
Rennex has joined #cinch
cout has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]