Re: Distribute Command`

From: Jon Nielsen (nikolai@MONTANA.COM)
Date: 06/30/98


The Mighty Mighty Bosstone wrote:

> I need a command that would take everything in my inv. and teeport it to
> the given room numbers
> ex.  distribute 1 99999
> (that would put everything in my inv in random rooms between room 1 and
> 99999)
Erm, it shouldn't be too difficult. Get a random number between arg1 and
arg2; check to see if the room exists; get an object from your inventory;
extract_obj() it; and reload it into the random room; repeat until your
inventory is empty.

---
Jon Nielsen     <nikolai@montana.com>
"To acquire knowledge, one must study; but to
aquire wisdom, one must observe."
 -Marilyn vos Savant


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