MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Re: Wierd Verb Stuff - Need Help!
In article <Pine.A32.3.91.960127133127.17956B-100000@freenet.edmonton.ab.ca>,
Chris Jones <cjones@freenet.edmonton.ab.ca> wrote:
>
> Hi, everyone. I'm trying to setup a verb on an object which
>works like this:
>[Verb code may not work; making this off the top of my head]
>cmd = "foo";
>player:cmd();
>[Could this be setup so that the second line will execute player:foo(),
>and then if cmd is changed (say to "bar"), that it would execute
>player:bar()?]
cmd = "foo";
player:(cmd)();
... will do quite nicely.
If you haven't already, get the LambdaMOO Programmer's Guide from
parcftp.xerox.com:/pub/MOO.
-hpa
--
PGP public key available - finger hpa@terminus.storm.net
"The earth is but one country, and mankind its citizens." -- Bahá'u'lláh
GE/CS 3.1 d- s-:- a- C++++ ULIS++++$ P+++ L++++>+++++ E++ W++ N++ o+ K
w--- O@ M V- PGP+ t+ 5++ X? R@ tv- b++ DI++++ D++(+) G e++ h- r-- y-
References:
Home |
Subject Index |
Thread Index