Default Messages

version 3 by Ron Newcomb

  • Home page
  • Beginning
  • Previous



  • Section - internal (in place of Section SR5/8/2 - Message support - Intervention - Unindexed in Standard Rules by Graham Nelson) unindexed

    To #if library message alerts is active and not in a release build: (- #ifdef DEBUG; #ifdef LIBRARY_MESSAGE_ALERTS; -).
    To #end if library message alerts is active and not in a release build: (- #endif; #endif; -).

    To decide if intervened in miscellaneous message:
        repeat through the table of custom library messages in reverse order:
            if the library-message-id entry is the library message number and there is no library-action entry:
                say the library-message-text entry;
                unless library message number is -1, say line break;
                decide yes;
        #if library message alerts is active and not in a release build;
        say "{ library message #[library message number] }[paragraph break]";
        #end if library message alerts is active and not in a release build;
        decide no.

    To decide if intervened in miscellaneous list message:
        increase library message number by 100;
        repeat through the table of custom library messages in reverse order:
            if the library-message-id entry is the library message number and there is no library-action entry:
                say the library-message-text entry;
                decide yes;
        #if library message alerts is active and not in a release build;
        say "{ library message #[library message number] }[paragraph break]";
        #end if library message alerts is active and not in a release build;
        decrease library message number by 100;
        decide no.

    To decide if intervened in action message:
        repeat through the table of custom library messages in reverse order:
            if the library-message-id entry is the library message number and there is a library-action entry and the library-action entry is the library message action:
                say the library-message-text entry;
                unless library message number is -1, say line break;
                decide yes;
        #if library message alerts is active and not in a release build;
        say "{ [library message action] action #[library message number] }[paragraph break]";
        #end if library message alerts is active and not in a release build;
        decide no.


    Default Messages ends here.