MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard

    What is your preferred method of function creation?

    MU Questions & Requests
    7
    23
    4700
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • faraday
      faraday @Thenomain last edited by

      @Thenomain said in What is your preferred method of function creation?:

      iter( %0, pmatch( %i0 ), if( strmatch( %0, ,* ), ,, %b )

      Commas are much easier code-wise, admittedly. But doesn't built-in stuff in hardcode already use double quotes for multi-word names? I'm not 100% sure since I never turn that feature on, but that's what sticks in my memory, like connect "John Smith" password. I assume it would work the same for pages and whatnot. So if you use commas in softcode now the players have to remember to switch.

      Thenomain 1 Reply Last reply Reply Quote 0
      • Thenomain
        Thenomain @faraday last edited by

        @faraday

        Yup, that's how it works. But you can log in via alias. connect Smithy password

        If you want server consistency, you're going to have to code a lpmatch() that honors it. Good luck. Please share.

        “If you wish to make an apple pie from scratch, you must first invent the universe.”
        ― Carl Sagan, Cosmos

        Ashen-Shugar 1 Reply Last reply Reply Quote 0
        • Ashen-Shugar
          Ashen-Shugar @Thenomain last edited by

          @Thenomain said in What is your preferred method of function creation?:

          @faraday

          Yup, that's how it works. But you can log in via alias. connect Smithy password

          If you want server consistency, you're going to have to code a lpmatch() that honors it. Good luck. Please share.

          Something most people don't realize either is you can connect by your dbref#

          So from the connect screen doing something like 'co #69 pass' would work.

          1 Reply Last reply Reply Quote 0
          • 1
          • 2
          • 2 / 2
          • First post
            Last post