[code]OBJ_VAL() within a range for rooms

From: pjh (hartman@trilidun.kuntrynet.com)
Date: 01/15/97


I am coding in a ladder object that essentially is a 'warp' object.  When
you create it you have two variables:
destination room number
and duration
When i code in the do_climb command i would like to devise a way of making
it check to see if the destination room number that the object was
assigned is legitamit.  As in it will scan the room table db thing.  That
is where i am stumped.  How can i get it so that when it runs it will
check that the VAL of the OBJ is between room 0 and top_of_list or
whatever it is for rooms.
Thanks for any help on this matter.


*-=-=-=-=-=-=-=* w0nderful *-=-* w0rld *-=-* 0f *-=-* wart *-=-=-=-=-*
hartman@kuntrynet.com
wart@trilidun.kuntrynet.com
http://trilidun.kuntrynet.com
Eudaemonia Mud: mud.kuntrynet.com Port 4000



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



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