Custom Library Messages

version 28/100614 by David Fisher

  • Home page
  • Beginning
  • Previous
  • Next

  • Section: Changing Library Messages

    This extension has at its heart a table of library messages.

    Including something like the following somewhere in your code will
    automatically change the library messages to your own definitions:

        Table of custom library messages (continued)
      Message Id  Message Text  
      LibMsg <confirm Quit>  "Really quit...?"  

    You can also change a library message after the game has already started:

        set LibMsg <confirm Quit> to "Really quit...?"

    For a complete list of messages and their initial values, see the
    section "Messages" at the end of this documentation. The example in
    the section "Before And After Library Messages" below may also be
    helpful for identifying the id for a particular message.

    Although only a single string is permitted for the Message Text,
    it is still possible to add more lengthy conditions by defining
    a special "say" rule:

        set LibMsg <confirm Quit> to "[quit msg]"

        To say quit msg: