Re: [CODE] Level Restriction Define in do_wear and Do_wield Quinn ShadowStalker at "May 17, 98 09:47:32 pm"

From: Christian Loth (sg618lo@UNIDUI.UNI-DUISBURG.DE)
Date: 05/18/98


Hiya,

> Ok I finished writing my own code for object level restrictions, but I
> cant get them properly defined in the code, anyone wanna help me?
> this is what I got so far but its not working :(  Plus I dunno how I would
> define this in do_wield.
>

You forgot a closing ) here ---------------
                                           |
                                           V
>    if (GET_OBJ_LEVEL(obj) > GET_LEVEL(ch) {
>     send_to_char("You have to be a higher level to wear that!\r\n", ch);
>     return;
>   }
>

- Chris


--
/----------------------------------------------------------------------------\
| Christian Loth                      | Meet me as the >Shadowdancer< in the |
| chris@rom.mud.de                    |           REALM OF MAGIC             |
| http://rom.mud.de/~chris            | telnet rom.mud.de 4000               |
|                                     | http://rom.mud.de/                   |
|               "The road goes ever on and on!" - Bilbo Baggins              |
\----------------------------------------------------------------------------/


     +------------------------------------------------------------+
     | 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