What is your preferred method of function creation?
-
@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. -
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. -
@Thenomain said in What is your preferred method of function creation?:
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.