Allow to use subject in response
sun - May 9, 2009 - 23:59
| Project: | Bot |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
To allow pointing people to online resources and do other shit, it would be great if one could use !subject in factoids.
Like:
Druplicon: explain is <reply>http://lmgtfy.com/?q=!subject
tha_sun: explain CRUD?
Druplicon: http://lmgtfy.com/?q=CRUDI'm not entirely sure whether attached patch is correct, but it might work as starting point.
| Attachment | Size |
|---|---|
| bot-DRUPAL-6--1.subject.patch | 914 bytes |

#1
Theoretically a duplicate of http://drupal.org/node/316340, but I'll leave both open until I can look at this patch a bit more. I like the feature/idea.
#2
after lmgfy.com the next big benefit is...
Gurpartap: support Morbus?Druplicon: Morbus: #drupal is for all questions about code and also about everything pertaining to drupal.org and the Drupal community at large (advocacy, marketing, infrastructure etc.). Other questions should be asked in #drupal-support or on the drupal.org forums. Make sure you read http://blog.freenode.net/?p=77 first.
Gurpartap: Morbus: ^...instead of the more than often usage of
^to instruct the addressee to read the upper line.Maybe this kind of user addressing could altogether go into a separate feature, where it could support factoids as well as api functions, like:
Gurpartap: hook_nodeapi @ Morbus?Druplicon: Morbus: hook_nodeapi: Act on nodes defined by other modules. => hook_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) => http://api.drupal.org/api/function/hook_nodeapi/6
Would be a big relief!
#3
That already exists privately, Gurpartap:
"tell Gurpartap about support"
would PM the factoid to the user.
#4
Just for factoids, and most newbies aren't registered or they just don't see a red window jumping around asking them to read something. :(
#5
Gotcha. I'd agree to such a feature, I think, though I'd support both @ (at Morbus), |, and > and >>, I think (to mimick command line mentalities of pipes and redirection).
#6
Naturally, I would try to use
tha_sun: Morbus: support?Druplicon: Morbus: #drupal is all...
That's a bit different from what I proposed with
!subjectbeing usable as token within factoids.#7
Sun: I think that one would be a little too error prone. Consider:
sun: eh?
litwol: argh!
webchick: woohoo!
etc.
Granted, all those are exclamations, but it's pretty hardcoded in a lot of people to prefix their own comments with the user to whom it's directed, with no intent of bot interjection. Granted, it could create some humorous situations and, granted, it would certainly be useful as we're talking about here, but I fear that the ratio of bot usefulness vs. annoyance would be too high...