notes.h 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*
  2. * notes.h -- part of notes.mod
  3. *
  4. */
  5. #ifndef _EGG_MOD_NOTES_NOTES_H
  6. #define _EGG_MOD_NOTES_NOTES_H
  7. #define NOTES_IGNKEY "NOTESIGNORE"
  8. /* language #define's */
  9. #define NOTES_USAGE MISC_USAGE
  10. #define NOTES_USERF_UNKNOWN USERF_UNKNOWN
  11. #define NOTES_FORWARD_TO " Forward notes to: %.70s\n"
  12. #define NOTES_SWITCHED_NOTES "Switched %d note%s from %s to %s."
  13. #define NOTES_EXPIRED "Expired %d note%s"
  14. #define NOTES_FORWARD_NOTONLINE "Not online; forwarded to %s.\n"
  15. #define NOTES_UNSUPPORTED "Notes are not supported by this bot."
  16. #define NOTES_NOTES2MANY "Sorry, that user has too many notes already."
  17. #define NOTES_NOTEFILE_FAILED "Can't create notefile. Sorry."
  18. #define NOTES_NOTEFILE_UNREACHABLE "Notefile unreachable!"
  19. #define NOTES_STORED_MESSAGE "Stored message"
  20. #define NOTES_NO_MESSAGES "You have no messages"
  21. #define NOTES_EXPIRE_TODAY " -- EXPIRES TODAY"
  22. #define NOTES_EXPIRE_XDAYS " -- EXPIRES IN %d DAY%s"
  23. #define NOTES_WAITING "You have the following notes waiting"
  24. #define NOTES_NOT_THAT_MANY "You don't have that many messages"
  25. #define NOTES_DCC_USAGE_READ "Use 'notes read' to read them."
  26. #define NOTES_FAILED_CHMOD "Can't modify the note file"
  27. #define NOTES_ERASED_ALL "Erased all notes"
  28. #define NOTES_ERASED "Erased"
  29. #define NOTES_LEFT "left"
  30. #define NOTES_MAYBE "# may be numbers and/or intervals separated by ;"
  31. #define NOTES_NOTTO_BOT "That's a bot. You can't leave notes for a bot."
  32. #define NOTES_OUTSIDE "Outside yadda yadda"
  33. #define NOTES_DELIVERED "Note delivered."
  34. #define NOTES_FORLIST "For a list:"
  35. #define NOTES_WAITING_ON "NOTICE %s :You have %d note%s waiting on %s.\n"
  36. #define NOTES_WAITING2 "### You have %d note%s waiting.\n"
  37. #define NOTES_DCC_USAGE_READ2 "### Use 'notes read' to read them.\n"
  38. #define NOTES_STORED "Notes will be stored."
  39. #define NOTES_IGN_OTHERS "You are not allowed to change note ignores for %s\n"
  40. #define NOTES_UNKNOWN_USER "User %s does not exist.\n"
  41. #define NOTES_IGN_NEW "Now ignoring notes from %s\n"
  42. #define NOTES_IGN_ALREADY "Already ignoring %s\n"
  43. #define NOTES_IGN_REM "No longer ignoring notes from %s\n"
  44. #define NOTES_IGN_NOTFOUND "Note ignore %s not found in list.\n"
  45. #define NOTES_IGN_NONE "No note ignores present.\n"
  46. #define NOTES_IGN_FOR "Note ignores for %s:\n"
  47. #define NOTES_NO_SUCH_USER "No such user."
  48. #define NOTES_FWD_OWNER "Can't change notes forwarding of the bot owner.\n"
  49. #define NOTES_FWD_FOR "Wiped notes forwarding for %s\n"
  50. #define NOTES_FWD_BOTNAME "You must supply a botname to forward to."
  51. #define NOTES_FWD_CHANGED "Changed notes forwarding for %s to: %s\n"
  52. #define NOTES_MUSTBE "Function must be one of INDEX, READ, or ERASE."
  53. #ifdef MAKING_NOTES
  54. static void notes_read(char *, char *, char *, int);
  55. static void notes_del(char *, char *, char *, int);
  56. static void fwd_display(int, struct user_entry *, struct userrec *);
  57. #else
  58. #define num_notes ((int(*)(char *user))notes_funcs[5])
  59. #endif /* MAKING_NOTES */
  60. #endif /* _EGG_MOD_NOTES_H */