Amiga-Z Wiki

β€œModern tools for old-school communities.”

User Tools

Site Tools


projects:mystic_cal

This is an old revision of the document!


Mystic Calendar

This is a port of the CNet Calendar AREXX script for CNet Pro BBS. This generates a calendar for display at login or as a PFile/Door on the BBS, creating an on screen text calander as well as reading from a file with a list of dates and events to show. It will also generate a birthday file for user birthdays to be dispayed at the option of the SysOp, or can be added as a menu option for the user if they run it from the DOORS menu on the BBS.

Directory Layout

/mystic/
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ calendar.py
β”‚   β”œβ”€β”€ generate_birthdays.py
β”‚   └── generate_holidays.py
└── calendar_data/

Setup

mkdir -p ~/mystic/calendar_data

Script Usage

This version:

  • Uses Mystic’s Python API
  • Reads cal.YYYY
  • Optionally regenerates birthday file automatically
  • ANSI framed (retro style)
  • Today highlighted
  • Event days marked

Supports:

calendar.py
calendar.py bd

See full code here

projects/mystic_cal.1771259542.txt.gz Β· Last modified: by freedomotter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki