Coding MUSH puppets

A MUSH puppet is an object that a player owns and controls, that can act almost like a player as far as the IC world is concerned. On Armageddon, puppets are allowed to go through character generation just like normal characters.

See 'help puppets' and '+news policy-puppets' on ArmageddonMUSH.

Here's one way to set up your puppet. Suppose you want a puppet named Bob. Then you might type the following:


@create Bob
@lock bob=me
@desc bob=(whatever bob looks like)
@adesc bob=@pemit me=%n just looked at me
@set bob=puppet
Now, suppose Bob has a database number of #1000. Then to control the puppet, you might type:
&cmd-bob me=$bob *:#1000 %0

Now, all you have to do to control Bob is to type ``bob '', for example,
bob say hello

or
bob :dances around.

or
bob look

bob somedoor

if ``somedoor'' is an exit in the room Bob is in.

Remember, you shouldn't leave puppets around when you're not logged on. You can set them dark and de-puppet them so that people don't see them. This can be done automatically by setting your @adisconnect:

@adisconnect me=bob @set me=dark;bob @set me=!puppet
@aconnect me=bob @set me=!dark;bob @set me=puppet;

or, if you already have an @aconnect set, type this:
@edit me/aconnect=$,{;bob @set me=!dark;bob @set me=puppet;}

Revised -- May 11, 1999
Back to ArmageddonMUSH page.
Back to MUSH code page.
Email Taisch