Simple Chat

version 4 by Mark Tilford

  • Home page
  • Beginning
  • Previous
  • Next

  • Section - Setting up the Table of Current Choices

    Table of Current Choices
    a chat node  
    with 20 blank rows  

    The rowcount is a number which varies.

    To link to (response - a chat node):
        unless response is sc-inactive:
            increase rowcount by 1;
            if rowcount <= the number of rows in table of current choices:
                now result in row rowcount of table of current choices is response;
                decrease rowcount by 1.

    To reset the links:
        blank out the whole of the Table of Current Choices;
        now rowcount is 0.