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