rob

Aliases: None.

rob <player>

Rob attempts to steal a penny from another player.

Usage:

rob <player>

<player> - name of the player to steal from

Description:

Rob attempts to steal a penny from another player.

The thief tries to rob from the victim. The victim's @lock is checked for the thief. If the lock succeeds, the thief steals a penny.

The @succ, @osucc, @fail, and @ofail messages work normally, as the @lock is checked. @succ or @fail will be shown to the thief, depending on the @lock. @osucc or @ofail will be shown to the room, depending on the lock, as it was triggered by the thief.

If you rob someone, thier @fail/@ofail, @succ/@osucc messages will be visible to you, or to people in the room. If they have only an @ofail or @osucc, you will not see it, but anyone else in the room will, and it will have your name on it, as if you had posed it. Be wary of this.

Example:

If Fred tries to rob Loki:

rob Loki

If Fred fails, the server will show him:

Your conscience tells you not to.

If Fred succeeds, the server will show him:

You stole a penny.

Other messages may be displayed, depending on the @succ, @fail, @osucc and @ofail of the victim.

Results:

Displays an @succ/@faill and/or @osucc/@ofail message.

Errors:

If the person you are trying to rob is not in the room:

Rob whom?

If there is more than one person who could match that name:

I don't know who you mean!

If you try and rob something that isn't a player:

Sorry, you can only rob other players.

If you try and rob someone who has no pennies:

<player> has no pennies.

If someone tries to rob you while you have no pennies:

<player> tried to rob you, but you have no pennies to take.

If you steal a penny from someone:

You steal a penny.

If someone steals a penny from you:

<player> stole one of your pennies!

If you fail to steal something from someone, and they have no @fail message set, the server will display:

Your conscience tells you not to.

See Also:

None.

Status:

5: Documented

Contributed by:

server built-in

Last edited by loki@rdwarf.com on Sun Jun 18 13:02:13 2000.

Created by loki@rdwarf.com on Sun Jun 18 12:44:36 2000