get

Aliases: take

get <object>

get <container>=<object>

The get command picks up an object, from the room, or a container, and moves it to your inventory.

Usage:

get <object>

get <container>=<object>

<object> - names the object to try and pick up.

<container> - names the container the object is in.

Description:

The get command picks objects up, either from the room, or out of a container.

To get an object that is in the room, simply supply the name of the object.

To get an object of a container, list the name of the container, an equals sign, and then the name of the object in that container.

When you try and pick up an object, the server will check the @lock on the object. If the lock succeeds, then you may pick up the object.

To get an object out of a container, the server checks the container's @conlock before it checks the @lock on the object. Both must succeed so you can pick up the object.

When picking up an object from the room, the server will display the object's @succ and @osucc messages when it is picked up, or the object's @fail and @ofail messages if it can not be picked up. The messages are not shown when getting an object from a container.

Example:

get thingy

Taken.

get box=thingy


Taken.


		

Results:

When you pick something up, the @succ and @osucc messages will be displayed, if you could pick it up. If you could not pick it up, the @fail and @ofail messages will be displayed, instead.

If no @succ is defined, you will see:

Taken.

Errors:

You can't take that.
The server displays this message when the lock that was set with the @lock command fails.

You already have that!
This is displayed if you try and take something you already have.

You can't open that container.
The server displays this if you try and take something from a container which you cannot open, meaning the conlock failed.

You can't steal things from other players.
The serever gives this message if you try and take something from another player.

You can't pick yourself up by your bootstraps!
This message occurs if you try and pick yourself up.

You can't get that.
This message is displayed if you try and pick up a Program object, and you cannot use Programs.

See Also:

drop

Status:

5: Documented

Contributed by:

server built-in

Last edited by loki@rdwarf.com on Wed Oct 10 16:28:40 2001.

Created by loki@rdwarf.com on Sun Jun 18 09:40:22 2000