Verb access problem in new server...

Ron Stanions (chaeon@roc.clawpaw.com)
Mon, 19 Feb 1996 09:46:04 PST


I asked this question a few days ago but got no response.  My guess is =
it got eaten by the sudden influx of posts concerning VRML-ifying MOO.  =
:)

----------
The new server allows access to a verb via it's position in verbs(#obj) =
but I can't find any way
to execute that verb via its number.

(This example is not based on LambdaCore)

verbs =3D verbs(this);
for x in [1..length(verbs)]
  if ($lib:match_verb(verbs[x], "foo") && $lib:match_args(verbs[x], =
"this","none","none"))

    ... how do I execute verb # x? ...  me:(x)() yeilds a type mismatch.

  endif
endfor
player:tell("I don't understand.");

I know I could set the server option to re-enable the old method, but =
that doesn't sound like
the right solution.

--
chaeon@roc.clawpaw.com  -- Site admin for clawpaw.com     =
http://www.clawpaw.com
Chaeon - Site Wiz or K'ryn - Bronze rider,  VirtuaPern Moo   =
http://www.clawpaw.com/VirtuaPern
VirtuaPern MOO - telnet dragon.clawpaw.com port 9999