On Tue, 22 Jul 1997, ;P wrote: > hey...i figured that it would be useful to be able to get a list of the > rooms in a zone...so that you know which ones have been used or whatever.. > i have it mostly working, but for some reason, it doesn't work completely.. > if i type "rooms 20"...it will list the rooms for zone 68...if i type > "rooms 30" it will give me the rooms for zone 99...i think this has to do > with real numbers vs virtual numbers, but i think that i have everything > correct...anyway...here's the code...use it if you want or whatever...let > me know if you see anything wrong... You may want to take as look at the rlist,olist,mlist code found in the snippets page, it has been updated now (I think its called liblist), it is very efficient, uses page_string and shows not only rooms, but objects and mobs. Luck Eduo +------------------------------------------------------------+ | 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/08/00 PST