Notes - shabble/irssi-docs GitHub Wiki

Random Notes

Ideas for autoincluding help content in scripts.

  • use POD, and have the script process itself to generate help?
  • requires the script knowing its own path (Stored in Irssi::Script objects)
  • These are quite hard to come by (script error is the only signal providing them)
  • use normal strings
  • use a __DATA__ segment -- this doesn't appear to actually work. Probably due to how the scripts are parsed and evaluated.