Do you want only the person with the object to see it, or anyone in the room?
I actually hadn't decided. Now that I think about it, of course, I want both.
If anyone in the room, it's a simple process to create a greet trigger in the room and have it check for said object on each person as they enter. If there, the prog goes on to unhide the exit direction. You'll then want to couple this with an exit trigger, checking for the object leaving the room--if the person with the object leaves the room, the program will then hide the exit direction once again. This makes it necessary for the item to be present at all times the exit is to be used.
That'll work for the most part. Thanks. The concern that see is you;re saying hiding. Rather have it as a closed locked pickproof etc. and not let anyone through it.
The hidden flag will still let players pass through it, right? Just want to make sure.
Will the program allow me to code some that flips through these settings?
If you just want the person with the object to see the door, you'll have to do a bit of coding. ...Or, create a room greet prog checking for said object and do a silent mptransfer to an identical room with the exit. If you want all players to be in the same room as the person who can't see it under this option, you'll need to create a new mpcommand (mptransferall, say), to go through all players in the room and transfer them all to the said vnum. This mpcommand creation would be rather simple, as it's basically a loop through the room and you can call the mptransfer command through each iteration so you wouldn't have to copy everything down to the new command.
That makes sense as well. thanks