Re: DG Scripts & Obuild

From: Doppleganger Software (doppsoft@TZC.COM)
Date: 04/29/98


>The type is only used in Oasis, to warn of -potential- mis-matched scripts.
>While I confess I cannot think of a good reason for it right now, I imagine
>there are some scripts that are usable for more than one item type.

Well, the best way to handle that, is to change all common commands to a
simple name.  Instead of msend, osend and wsend, make them all tsend
(trigger send)  That removes the chance of non-conforming commands.
Also, instead of having the trigger type as an integer, have it a
bitvector, that way you can define which targets it's legal for.  That
way you can have the checking and still have multiple target types :)

---
"One hundred years from now, none of this will matter because you and I
will be dead -- unless the Grim Reaper has switched his record-keeping to
a Windows 95-based system, in which case we all might live forever. "
-- Associated Press


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST