MOO-cows Mailing List Archive
Date: Sat, 9 Mar 1996 22:02:12 PST
From: Ron Stanions <firstname.lastname@example.org>
Content-Type: text/plain; charset="us-ascii"
I've been bringing up a new generic moocore of my own on an off-and-on
basis from the minimal.db, (I hope to construct a major features list and just
post it here and see what people think one of these days...) and have done
much the same with eval, however I have virtually every builtin, including
eval, wizprotected. I'd suggest adding a set_caller_perms() before the
argstr in your example (along with definits for me=player and
I also have a tick counter, which is great for figuring how long things take to
execute, but gets blown up royally when you do any suspend()'ing. :)
One verb I'd love to have seen added to the server here would be something
like #0:do_after_command(), which would allow me to extract a tick-count on
any verb in the system as well as a number of other possibilities.
From: Jefferson M. Dubrule[SMTP:Jefferson.M.Dubrule@dartmouth.edu]
Sent: Sunday, March 10, 1996 12:42 AM
To: email@example.com; firstname.lastname@example.org
Subject: Re: Minimal.db
--- email@example.com wrote:
This probably has nothing to do with the way the server works or anything,
but a good starting verb for eval would be
notify(player,toliteral(eval(argstr+";"))); . maybe it can go in the readme
--- end of quoted material ---
Agreed. On my MOO (DartMOOth), which got off the ground a few days ago,
we are starting from Minimal.db. I copied the eval verb from the
README-Minimal.db (with the addition of a tick counter). To improve it,
one of the other wizards wrote a reasonable facsimile of toliteral(). When
I mentioned the existance of the built-in, he made a comment about hitting
his head against a wall.
I can see no advantage that tostr() has over toliteral(), so is this now
in the server purely for reasons of backwards-compatibility?
Subject Index |