djbkd has quit [Remote host closed the connection]
j4jackj has quit [Client Quit]
djbkd has joined #cinch
j4jackj has joined #cinch
djbkd has quit [Ping timeout: 245 seconds]
j4jackj is now known as janicez
danielbucher has quit [Quit: Connection closed for inactivity]
frdmn has quit [Quit: ssssSSSSssss]
frdmn has joined #cinch
frdmn has quit [Quit: ssssSSSSssss]
frdmn has joined #cinch
frdmn has quit [Remote host closed the connection]
frdmn has joined #cinch
frdmn has quit [Changing host]
frdmn has joined #cinch
frdmn has quit [Quit: ssssSSSSssss]
frdmn has joined #cinch
frdmn has quit [Quit: ssssSSSSssss]
frdmn has joined #cinch
postmodern has quit [Quit: Leaving]
sarkyniin has joined #cinch
ccallahan has joined #cinch
<ccallahan>
Okay. Complete Ruby n00b here, so bare with me. I want to take the part of the message right after the trigger, and apply it to the response, Example: !nickname Anon123 would reply with "Anon123: To change your nickname type /nick newnick". How would I do that?
<ccallahan>
Sorry...
<dominikh>
look at any of the examples that uses capture groups, e.g. basic/msg.rb or plugins/msg.rb
<ccallahan>
Thanks!
thews has quit [Ping timeout: 256 seconds]
danielbucher has joined #cinch
<danielbucher>
hi guys, I saw on the github README that plugins expect a '!' on the beggining of matching patterns
<danielbucher>
I searched the Cinch::Plugin documentation, but I still don't get how to remove this