dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
<Azure> hm
<Azure> I made something like that some time ago.
<Azure> It just caught everything and then parsed it for the keyword and a possible string, matched the keyword to the appropriate line in the YAML file, and then processed the contents depending on if it's a hash or not, while using a somewhat simple token format for inserting triggering nick/random nick/input from the command/current channel, and allowing uppercase/lowercase transformations to said tokens.
<Azure> https://github.com/mseymour/azurebot/blob/master/config/macros.yaml And the actual file that I use for my own bots. (contributed to by friends over the past uh... 4-5 years probably)
jackdempsey has joined #cinch
postmodern has quit [Quit: Leaving]
literal has quit [Ping timeout: 250 seconds]
literal has joined #cinch
jackdempsey has quit [Ping timeout: 250 seconds]
jackdempsey has joined #cinch
jackdempsey has quit [Ping timeout: 246 seconds]
xeviox|afk is now known as xeviox
hobo has joined #cinch
<hobo> how cna i change the cinch prefix to be a . instead of !?
<hobo> nvm found it
xeviox has left #cinch ["Leaving"]
hobo has left #cinch [#cinch]
<rikai> Hm... should https://gist.github.com/dominikh/2179973 still work? I can't seem to get it to actually respond to commands, despite loading perfectly fine...
postmodern has joined #cinch
<mpapis> rikai, code is quite recently updated, it should work ... but I ever played with it ;) maybe dominikh can help
<rikai> Probably something silly going on because the current project uses cinchize, is my only guess as to why it may not work...
<rikai> Figured it out, was a derp on my end.
<rikai> Though, now it seems to be able to load plugins... It's saying the plugins dont exist in the directory, even though they most certainly do. I can even grab the path it says they dont exist at, prepend 'nano ./' and open them fine... So, bit lost there...
djbkd has joined #cinch
<rikai> Hm... it DOES work if i hardcode the full path...
<rikai> I'm guessing because of the way cinchize daemonizes things the pwd isn't the same...?
<rikai> changing ' file_name = "lib/cinch/plugins/#{mapping}.rb" ' to ' file_name = File.join(File.expand_path(File.dirname(__FILE__)), "#{mapping}.rb") '
<rikai> Seems to make it work properly it.
<rikai> Can't really think of a much more elegant solution.
jackdempsey has joined #cinch
iamayam has quit [Ping timeout: 250 seconds]
iamayam has joined #cinch
djbkd has quit [Remote host closed the connection]
djbkd has joined #cinch