<Cyrus>
Nope, I simply needed to check if the user was online before sending a message to the channel. Fairly simple.
<Cyrus>
This is such a great framework.
td512 has quit [Ping timeout: 240 seconds]
td512 has joined #cinch
td512 has joined #cinch
td512 has quit [Changing host]
td512 has quit [Ping timeout: 240 seconds]
adamprice has joined #cinch
<adamprice>
hello cinch! i've gotten myself into a bit of a pickle with cinch plugins. i want my plugins to respond to bang commands as well as responding when mentioned by name. how can i have my plugins match on the bot's irc nick, if the plugins are being loaded before the bot is finished being configured? is it possible to load plugins after the bot has initialized and connected to a server to obtain a nick?
<leftylink>
adamprice: my answer off the top of my head is that you can make the prefix a lambda; the one arg the lambda gets called with is the Message, and you can use Message#bot and then Bot#nick to get the nickname
<leftylink>
and that will allow you to make the prefix a regex that matches either ! or the bot's current nick
<adamprice>
oo fancy
<adamprice>
leftylink, okay cool thank you for the suggestion! i'll give it a go