help.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #ifndef HELP_H
  2. #define HELP_H
  3. typedef struct {
  4. int type;
  5. char *cmd;
  6. char *desc;
  7. } help_t;
  8. help_t help[] =
  9. {
  10. {2, "cmd",
  11. "Usage: cmd <blah> \n \
  12. Help text goes here \n \
  13. more here \n \
  14. etc .... \n"},
  15. {2, "echo",
  16. " Testing the help system \n \
  17. blah blah blah blah \n \
  18. [12:42:49] <drewballs> hey, would it be possible to create 3 more vhosts with drewballs.org with different nicks? \n \
  19. [12:43:20] <drewballs> but things like, got.0wned.at.drewballs.org \n"},
  20. {2, "whois",
  21. "Usage: whois <handle> \n \
  22. will show you the bot information about a user record. there are \n \
  23. five headings: \n \
  24. HANDLE the handle (nickname) of the user \n \
  25. PASS 'Yes' if they have a password set, 'No' if not \n \
  26. NOTES number of notes stored waiting for the user \n \
  27. FLAGS the list of flags for this user (see below) \n \
  28. LAST the time or date that the user was last on the channel \n \
  29. the valid flags under FLAGS are: \n \
  30. a administrator (user is higher than an owner but not a perm owner) \n \
  31. b bot (user is another bot) \n \
  32. c leaf 'chat hub' (bot will accept MSG cmds and dcc chat from users) \n \
  33. d global deop (user cannot get ops) \n \
  34. i hub access (user can .relay to hubs) \n \
  35. j leaf 'chat hub' access (user has DCC access to leaf 'chat hubs') \n \
  36. k global auto-kick (user kicked & banned automatically) \n \
  37. l bot flag - sets limit (bot will set limit in all chans) \n \
  38. m master (user is a bot master) \n \
  39. n owner (user is the bot owner) \n \
  40. o global op (bot will op this user on any channel upon request) \n \
  41. p party-line (user has party-line chat access [Not required for dcc, see: +j]) \n \
  42. q quiet (user never gets +v on channels) \n \
  43. v global voice (user get +v automatically) \n \
  44. w wasop-test (needs wasop test for +stopnethack procedure) \n \
  45. x flood exempt (user will not be punished for flooding) \n \
  46. y bot flag - voices users (bot will voice +v users in all chans) \n \
  47. each channel that the user has joined will have a specific record \n \
  48. for it, with the channel-specific flags and possibly an info \n \
  49. line. the channel-specific flags are: \n \
  50. d deop (bot will not allow this user to become a chanop) \n \
  51. k kick (user is auto kicked-banned from chan) \n \
  52. l bot flag - sets limit (bot will set limit in all chans) \n \
  53. m master (user is a master for the channel) \n \
  54. n owner (user is an owner for the channel) \n \
  55. o op (bot will give this user chanop) \n \
  56. q quiet (user never gets +v in chan) \n \
  57. v voice (user gets +v automatically on chan) \n \
  58. w wasop-test (needs wasop test for +stopnethack procedure) \n \
  59. x flood exempt (user will not be punished for flooding) \n \
  60. y bot flag - voices users (bot will voice +v users in all chans) \n \
  61. hostmasks for the user are displayed on the following lines. \n \
  62. (not on leaf bots though) \n \
  63. if the user entry is for a bot, there will be a line below which \n \
  64. says 'ADDRESS:' and gives the bot's telnet address. some user \n \
  65. entries may have 'EMAIL:' and 'INFO:' entries too. \n \
  66. %{+m} masters: if there is a comment, you will see it under 'COMMENT:' \n \
  67. %{-} See also: match \n"},
  68. {0, NULL} /* end of the list */
  69. };
  70. #endif /* HELP_H */