drop

Aliases: throw and put

drop <item>[=<where>]

The drop command removes an item from your inventory. It will usually drop it in the room with you, unless you have specified a container to drop it in to.

Usage:

drop <item>[=<where>]

<item> - name of the object you are carrying to drop

<where> - name of the where to drop the object in.

Description:

The drop command removes an item from your inventory.

Usually, the item will be placed in the room you are in. If you have specified a container, the object will be placed there.

When an object is dropped, the player who dropped it will be shown the object's drop message. Other players in the room will see the object's odrop message.

An item can only be dropped in to a container if the container has been set up with the @conlock command.

If the item is set STICKY, then the item will return to it's home when dropped. If the room has a drop-to set, the item will be sent to that location. Programs are not affected by the STICKY flag or drop-to.

A player cannot drop an object that is set DARK in a room they do not own.

Example:

drop thing

Dropped.

Results:

The drop command moves an object from a player's inventory, and notifies the player who dropped it, and other players in the room.

Errors:

Dropped.

This message is shown to you if you are dropping an object in a room, and there is no drop message set on the object. If there is a drop message set, you will see that instead.

<player> drops <object>.
This message is shown to the other players in a room with you, if you drop an object that does not have an odrop message set. If the opbject does have an odrop message, that will be displayed instead.

Put away.
This message is displayed if you are dropping an object in to another object.

You hand <thing> to <player>.
The server displays this message if the "where" listed is actually another player. This is how you hand an object to someone else.

That player will see:

<player> hands you <thing>

I don't see that here.
This message results from trying to drop something you're not holding.

You don't have permission to put something in that.
This message is generated if you try to drop something in a container that dosen't allow it. The @conlock command is used to allow or disallow using objects as containers.

You can't put something inside of itself.
The server will display this message if you try and drop something inside itsself.

You can't put anything in that.
This message is the result of trying to drop something in to anything but a room, another object, or a player's inventory.

You can't drop that.
This message is generated if you try to drop something that you are carrying, but that you cannot drop. This is very rare.

See Also:

get

Status:

5: Documented

Contributed by:

server built-in

Last edited by loki@rdwarf.com on Wed Oct 10 12:03:42 2001.

Created by loki@rdwarf.com on Sun Jun 18 08:50:52 2000