Re: [CODE] Multiple olc permissions with ascii pfiles

From: Patrick Dughi (dughi@imaxx.net)
Date: 03/12/00


        The easiest way by far, i've found is to simply make the olc zone
thing a string.  Then you can add zones as space-delineated strings...

"12 30 35 40", or the word "all" for all of them.

        Simply strtok through on space, and find any particular zone
you're looking for.  Just add one function like olc_perms() to your do_olc
function, and no problem.  Ascii pfiles means you won't even have to do a
conversion/pfile wipe, and no altering all the zones in your system
either.

                                                PjD


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



This archive was generated by hypermail 2b30 : 04/10/01 PDT