2015-11-01 13:55
dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.3.1
01:44
catepillar has quit [Quit: WeeChat 1.0.1]
01:45
catepillar has joined #cinch
06:33
Azure has quit [Ping timeout: 252 seconds]
14:01
Ch4mp has joined #cinch
14:05
<
Ch4mp >
It should work that I type !1v1 something
14:05
<
Ch4mp >
but it doesn't do anything
14:05
<
Ch4mp >
I'm new to this..
14:06
<
Ch4mp >
and it's like my very first Ruby program :)
14:48
<
Gizmokid2005 >
Ch4mp: you might want to look at some of the examples
14:48
<
Gizmokid2005 >
Ch4mp: are you trying to use this as a plugin?
14:57
<
Ch4mp >
thanks il try it
15:01
<
Ch4mp >
on:message, /^!1v1 (.+?) (.+)/ do |m, who| m.reply "#{m.user.nick} nexes " + User(who).send + "..." m.reply "DMG taken:" + rand(0..100) end
15:03
<
Ch4mp >
it doesn't work
16:36
<
leftylink >
Ch4mp: don't forget to look at the window in which you run your bot for helpful info as to why it doesn't work
16:39
<
leftylink >
Ch4mp: with two captures in the regex, the block should take three arguments (since the block will always take the Message as an argument, plus any captures)
17:05
<
Ch4mp >
yeah ok il study regex
17:30
Ch4mp has left #cinch [#cinch]
17:57
bosma has left #cinch [#cinch]
21:34
irsol has quit [Ping timeout: 244 seconds]
21:35
irsol has joined #cinch
21:36
Azure has joined #cinch