dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
<
Liru>
Is :message supposed to fire on an action as well? Not that I need it, but it's something I noticed
<
Liru>
On the other hand, is there a built-in way to convert a detected action to a regular message? Like, "/me does stuff" would return "does stuff"
<
Liru>
when an event is triggered through an action
<
rails>
gimme 2 more secs
<
Liru>
"\u0001ACTION asds\u0001"
<
rails>
if m.action?
<
rails>
strip \u0001
<
rails>
(pseudocode
<
Liru>
Yeah, I'm aware of that
<
Liru>
I'm just wondering if there was something like m.message.remove_ulgy_crap
<
Liru>
don't worry about it
<
rails>
# @return [String, nil] the CTCP message, without \001 control characters
<
rails>
attr_reader :ctcp_message
<
rails>
m.ctcp_message
<
rails>
or maybe it's m.action_message
<
rails>
one of those two
<
leftylink>
but I just tested on my bot, and ACTION does not trigger my matchers? However, I am using plugin match isntead of an on-handler
<
leftylink>
maybe that's the difference?
<
Liru>
Yeah, that seems to be the trick
<
Liru>
23:14 * Liru asdasd
<
Liru>
23:14 < Wolfypet> ACTION asdasd
<
Liru>
23:15 * Liru moos
<
Liru>
23:15 < Wolfypet> moos
<
Liru>
Thanks, that's the one
<
rails>
leftylink: what kind of matcher? :messahe or :channel or what?
<
leftylink>
uh whatever the default for match is
<
leftylink>
I really need a symlink into the cinch source
<
leftylink>
so I can look at it in times like these
<
Liru>
leftylink: It could be a problem with your matchers, maybe?
<
leftylink>
well in my view it's not a problem, so I'm happy
<
rails>
i dont have any of my old bots around
<
leftylink>
this is the behavior I expected and intended
<
rails>
so i cant remember
* rails
has written two irc services in ruby since finding cinch
<
rails>
pun intended
<
leftylink>
I pretty much have gripes with all languages, but currently find ruby the least objectionable
<
rails>
after attempting to write it in python i gave up
<
rails>
because the framework was crud
<
leftylink>
at some point I want to find a statically type language that i like enough to add to the toolbox, but this is hard
<
leftylink>
I'll give it some more time. but it's a very practically designed language, and I appreciate that
<
leftylink>
my workplace is starting to use it
<
rails>
i dictate what my workplace uses
<
rails>
which is great
<
rails>
so everything is in bash
<
rails>
i wrote my own ruby framework
<
rails>
for connecting to irc
<
rails>
its so stupid, but it works
<
leftylink>
eventual successor to cinch detected!
<
rails>
mines built to connect as a server
<
dominikh>
also I wouldn't allow for a successor to exist :-P
<
rails>
dominikh: i wouldnt be the one makin it, long live cinch
<
dominikh>
I'm working on a Go version though :-D
<
dominikh>
well, an IRC library in Go. it won't look anything like cinch
xeviox|afk is now known as xeviox
xeviox is now known as xeviox|afk
kludge` has quit [Ping timeout: 252 seconds]
kludge` has joined #cinch
Dwarf has quit [Ping timeout: 255 seconds]
Dwarf has joined #cinch
nkr has joined #cinch
aclearman037 has joined #cinch
awkisopen has quit [Ping timeout: 265 seconds]
awkisopen has joined #cinch
geopet has joined #cinch
thews has quit [Remote host closed the connection]
geopet has joined #cinch
heru has joined #cinch
aclearman037 has quit []
postmodern has joined #cinch
thews has joined #cinch
thews has joined #cinch