FurryMuck Crib Notes
Index of notes
Actions
Complex Action
Creating a Board
Customising Enter and Exit messages
Look notify, useage of.
Zombie creation
Bogus commands can be made using exits. For example, to make a 'sit' command, one could "@open sit", then "@link sit=here" (because unlinked exits can be stolen), "@lock sit=me&!me" (impossible to be both at once, therefore always fails), and "@fail sit=You sit on the chair."; "@ofail=sits on the chair.".
Since nobody can go through it, it always fails. The @fail message is displayed to the player, and the @ofail message (preceded by the player's name) to everyone else.
Thus when you "sit" the message connected to @fail/@ofail is shown.
OR
@action play piano = piano
You'd do '@fail play piano=You play the piano.', and '@ofail play piano=plays the piano.'. The first is what you see, the second what everyone else sees. Your name is automatically added to the @osucc. You can put whatever strings you like in that. I'm putting this on the @fail, becasue for an action like that, you do '@lock play piano=me&!me' so it always fails. that keeps anything else from happening other than the text.
Step one, create the bulletin board object. Step two create the actions read, write, erase, editmsg. Attach them to the board and link them to #6435
@create bull board
@action read
@action write
@action erase
@action editmsg
@attach <action>(or <name>)=<place>
@link <action>=#6435
OR alternativly... You can just make one action called board and @link it to #6435 'cause they changed the program and made it smart and such.
Enter and leave room messages.
@set me=_arrive/fmcl:& spammy message here
@set me=_depart/fmcl:& spammy message here
E.g @set me =_arrive/fmcl:& You have arrived...
>>> You have arrived...
Means that will appear when you succsessfully enter a new room
You can also set so that others can see this message using:-
@set me=_oarrive/fmcl:& spammy message here
@set me=_odepart/fmcl:& spammy message here
So @set me =_oarrive/fmcl:& %N has arrived
Will produce %N has arrived (%N being replaced by name)
Look notify - quickie
Copy full @desc
lsedit me= mydesc
PASTE full @desc
@desc me = {look-notify:{eval:{list:Mydesc}}}
Here goes.. remember obj is the db# or the object the prop is on (and you
can use '*name', or 'me' if you want to avoid finding db#'s .. here goes
(put this in the @succ of an action):
{null:{otell:{list:listname,obj},here,me}} that will echo a list by name
'listname' to the room, excluding the player 'me' .. if you want to include
the person who triggered the action in the otell, remove the ',me' from the
end of that command.."
Okay.. then do this
1) @action <name>=me
2) @link <name>=$nothing
3) @succ <name>=<mpicode> and that should do it.."
1) @Action <name> = me
2) @link <name> = $nothing
3) lsedit <name> = listname
4) @succ <name> = {null:{otell:{list:listname,obj},here,me}}
1) @create Feep (Creates an object called Feep)
Object Feep created with Dbref #12345 (remember number)
2) @set Feep=z (makes it a Zombie)
3) @set Feep=x (make it xForceable)
4) @flock Feep=me (Set the ForceLock so You can use it)
5) @action zom=me (you can call the action anything you like)
6) @lock zom=me&!me (this action must always fail, me&!me is false)
7) @set zom=h (the action must be set h to allow MPI to work)
8) @fail zom={force:#12345,{&arg}}
(This uses the fail section of the action to run the MPI program that sends
your commands to the Zombie. The #12345 of course would be replaced with
the # of your Zombie.)
9) @lock Feep=me (optional - so no one runs off with it)
Now, drop Feep, so its in the room with you.
IMPORTANT, you now also have to PMAKE FEEP to make it a zombie object that can use PWAKE, PSLEEP, PHOME.