kill

Aliases: None.

kill <player>[=<cost>]

The kill command attempts to kill another player. There is a minimum cost of ten (10) pennies to attempt to kill another player. If the player does not have the minimum cost, they will receive an error and no pennies will be deducted from their score. The percentage chance of successfully killing a player is equal to the number of pennies spent. No more than 100 pennies can be spent per attempt. When killed, a player is sent home and anything they are carrying is sent to that item's home. On systems where it is used, both players must be set KILL_OK before kill will succeed.

Usage:

player
name of the player to try and kill
cost
amount of pennies to spend. Also the percentage chance of killing them

Description:

The kill command attempts to kill another player that is in the room with you.

There is a minimum cost of ten (10) pennies to attempt to kill another player. If the player does not have enough to pay the minimum cost, they will receive an error and no pennies will be deducted from their score.

The percentage chance of successfully killing a player is equal to the number of pennies spent. If ten pennies are spent, there is a 10% chance to kill another player. No more than 100 pennies can be spent on a single use of the kill command.

When killed, a player is sent home and anything they are carrying is sent to the item's home.

The kill command will not work:

If you attempt to kill another player in the same room, you have sufficient pennies, both of you are set KILL_OK, your target is not set WIZARD, and the room is not set HAVEN, the attempt is made and your target is notified.

If you fail, you will see:

Your murder attempt failed.
Your target will see:
<your_name> tried to kill you!

If you are successful, they will see:

Your insurance policy pays 50 pennies.
The target's score is increased by 50 pennies, the target's @drop message is displayed to the target, and the target's @odrop message is displayed to the room. The target is then moved to their home. All of the objects they are carrying are sent to their respective homes as well.

Example:

If Fred tries to kill Loki:

kill Loki=50

Fred will see, should he fail:

Your murder attempt failed.

Loki will be warned:

Fred tried to kill you!

Results:

Your murder attempt failed.
You have tried to kill someone and failed.

You killed <player>.
You have tried to kill someone and succeeded.

Your insurance policy pays 50 pennies.
You have been killed, have less than 10,000 pennies, and your score has been raised by 50.

Your insurance policy has been revoked.
You have been killed, have more than 10,000 pennies.

<player>'s @drop
This message is a property of the <player> object and is displayed to the player when the player is killed.

<player>'s @odrop
This message is a property of the <player> object and is displayed to everyone in the room when the <player> is killed.

Errors:

I don't see that player here.
You have attempted to kill someone who is not in the room.

I don't know who you mean!
The name of the player you tried to kill could match more than one person who is in the room.

You have to be set Kill_OK to kill someone.
You have attempted to kill someone and you are not set KILL_OK.

They don't want to be killed.
The person you are trying to kill is not set KILL_OK.

Your murder attempt failed.
You have tried to kill someone and failed.

You killed <player>.
You have tried to kill someone and succeeded.

You can't kill anyone here!
You have attemped to kill someone in a room that is set HAVEN.

You don't have enough pennies.
You have tried to spend more pennies than you have, or have less than the minimum number of pennies. (10)

Sorry, you can only kill other players.
You have attempted to kill something that isn't a player.

Your insurance policy pays 50 pennies.
You have been killed, have less than 10,000 pennies, and your score has been raised by 50.

Your insurance policy has been revoked.
You have been killed, have more than 10,000 pennies.

See Also:

None.

Status:

5: Documented

Contributed by:

server built-in

Last edited by simpson@necom.com on Sun Jul 2 00:47:32 2000.

Created by loki@rdwarf.com on Sun Jun 18 11:53:04 2000