# Another suggestion

Brad Lawrence (cecil@iaw.on.ca)
Wed, 24 Jul 1996 16:52:00 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    Okay... Another suggestion from me... How about a way to skip out of a verb
    and continue parsing.

    For example. I put a 'laugh any none none' verb on myself, and a 'laugh none
    none none' verb on one of your features, that would be impossible or
    impractical to add into the code of your own laugh verb. So if you don't
    type a valid player in the args, it passes back to checking if there is a
    laugh verb on player.location, then checks dobj and iobj (both #-1, in this
    case), then goes to the player.location:huh. The code for the verb might be
    something like this.

    if (!valid(dobj))
      "call abort(), or whatever we call the builtin";
      abort();
    else
      player.location:announce_all(player:title() + " laughs insanely at " +
    dobj:title());
    endif

    Just another suggestion. This could be used for a variety of purposes, and
    at the moment I don't think there's a way to do this in-db? I may have
    overlooked something, of course, but there's my 2 cents.
    /=====================================================================\
    | Bradley Lawrence -- (cecil@iaw.on.ca, blawrenc@freenet.npiec.on.ca) |
    | Archwizzie-type-person of MegaMOO (seahorse.acs.brockport.edu:9999) |
    |             Yeah, that's my whole sig. Live with it.                |
    \=====================================================================/