
     pppprrrroooocccceeeessssssss____ssssttttrrrriiiinnnngggg((((3333))))      MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))       pppprrrroooocccceeeessssssss____ssssttttrrrriiiinnnngggg((((3333))))

     NNNNAAAAMMMMEEEE
          process_string() - give a string with replaced
          calldescriptions

     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
          string process_string( string combinestring );

     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
          Processes a string by replacing specific syntactic patterns
          with what is returned when the pattern is interpreted as a
          function call description.

          The syntactic patterns are on the form:

                 "@@function[:filename][|arg1|arg2....|argN]@@"

          This is interpreted as a call:

                  filename->function(arg1, arg2, ....., argN)

          Note that process_string does not recurse over returned
          replacement values. If a function returns another syntactic
          pattern, that description will not be replaced.

          All such occurrences in 'combinestring' is processed and
          replaced if the return value is a string. If the return
          value is not a string the pattern will remain unreplaced.

          Note that both object and arguments are marked optional with
          the brackets and that the brackets are not included in the
          actual pattern.

     SSSSEEEEEEEE AAAALLLLSSSSOOOO
          process_value(3)

     CCCCAAAAVVVVEEEEAAAATTTT
          This is usually used to support 'value by function call' in
          the mudlib.  It is wise to set the effuserid of the object
          to 0 before using process_value as any function in any
          object can be called with almost any arguments.

     EEEEXXXXAAAAMMMMPPPPLLLLEEEE
          A string:
              "You are chased by @@query_the_name:/obj/monster#123@@ eastward."

          is replaced by:
              "You are chased by the orc eastward."

     Page 1                                          (printed 3/16/95)

     pppprrrroooocccceeeessssssss____ssssttttrrrriiiinnnngggg((((3333))))      MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))       pppprrrroooocccceeeessssssss____ssssttttrrrriiiinnnngggg((((3333))))

          Assuming that query_the_name in monster#123 returns "the orc".

     Page 2                                          (printed 3/16/95)

