um, since locate object can find it, you might try taking a look at the code 
behind spell_locate_object... you'll see that it loops through object_list and 
for each object it checks to see if there's an in_obj object assigned to it, 
and loops through those... you could easily just clone that code for a new imm 
command and have it do an obj_to_room(obj,get_room_index(ROOM_VNUM_LIMBO)) or 
wherever you want to send the object to... what you really need to look at tho, 
is why these obj's are being removed from the characters when they log in...
 
Richard Lindsey.

        -----Original Message----- 
        From: Charles Gray [mailto:[EMAIL PROTECTED] 
        Sent: Tue 5/11/2004 8:44 PM 
        To: [email protected] 
        Cc: 
        Subject: Object to pit
        
        

        Ok, Here is a new question.   Is there a way to cycle through a list of 
ALL
        the objects in the game, and transfer the ones that are "obj->in_room ==
        NULL" to a sort of pit room?  Because sometimes players log in and 
thier eq
        is gone,  and when locating it (its locateable, just its in a room 
called
        somewhere with no vnum) it doesnt show up.   So how could i cycle 
through a
        list of all the non-equiped objects in the game and transfer the ones 
that
        dont "exist in a room" to a pit room?   Thanks, sorry if this is 
confusing.
        
        --
        Atm of Forgotten Empire!
        --
        
        
        --
        ROM mailing list
        [email protected]
        http://www.rom.org/cgi-bin/mailman/listinfo/rom
        

Reply via email to