MOO-cows Mailing List Archive


Re: Arguments -- what does "any" mean?

Ian Macintosh wrote:
> On Mon, 11 Dec 1995, Kirrily Robert wrote:
> > Now, why is it that neither of these two arg types (this none any and
> > this any any) seem to work?  Is there a way of getting it to work
> > short of turning the radio into a feature object, or putting the verb
> > somewhere on a player class?  Enquiring minds want to know!
> Either a feature object (actually a 'here:huh' verb), or on the player 
> itself is the only solution here, unless you get sneaky in #0:do_command()

sure there are other ways to make it work.

"bc any with this", for example. but that's no fun to type, and you'd have 
to put the "any" in quotes to make sure it didn't contain any 
prepositions along the way.

how about "bc any any any" and then program your verb so that you strip 
off the first word, and broadcast the rest? the verb won't get called 
unless the first word is a valid name for the object.

or... find a different verbname that sounds right with a preposition. 



Home | Subject Index | Thread Index