Programs Archive
If you have a program that you'd like to share, create a document containing the code and link it in a comment below.
Programs
- 48 Hour Lock
- This script will unlock an exit for 48 hours, then re-lock it.
- Description Buddy
- This tool adds a "frame" around the top and bottom of a description.
- Fireplace Demo
- An active object. When you light the object it will start sending out random messages every few seconds or so.
- Locked Box
- A lockable box.
- The Vault - Light Version
- This program was created without any fancy add-ons, and is suggested for more advanced MPI coders then most.
- Wind Demo
- A passive (background) object.
Comment
MPI Wrap Macro
Posted by:
Riverdale
at
2004-08-18
MPI Wrap Macro
An old piece of code I dug up from my archives, useful for automatically formatting descriptions and so forth.
Replies to this comment
Comment
The coffee maker, and water dispenser! Oh, yeah, and the Translator
Posted by:
rockfire
at
2005-10-23
COFFEE MAKER
@create Coffee Maker
@desc Coffee Maker=A bottomless supply of nice hot coffee. Why not pour yourself a cup?
Drop Coffee Maker
@action pour=here==$nothing
@succ pour=You pour yourself a nice hot cup of coffee.
@osucc pour=pours %pself a nice hot cup of coffee.
WATER DISPENSER
@create Water Dispenser
@desc Water Dispenser=A bottomless supply of nice cold water. Why not pour yourself a cup?
Drop Water Dispenser
@action pour=here==$nothing
@succ pour=You pour yourself a nice cold cup of water.
@osucc pour=pours %pself a nice cold cup of water.
TRANSLATOR
@create Translator
@desc Translator=A screen and a red button. And a keypad. Type something, and it will translate it.
Drop Translator
@act Type=here==$nothing
@succ Type=You type something in, and press the red button, and the translator says, "{subst:{&arg},a,u}"
@osucc Type= types something in, and presses the red button, and the translator says, "{subst:{&arg},a,u}"
Replies to this comment
Comment
Stuffed liger
Posted by:
Caspia
at
2006-11-21
It's a stuffed liger that you can squeeze. Oh, it also has a collar that you can read.
@create Stuffed liger
'@desc Stuffed liger=You see a cute stuffed animal liger. It is a light blonde color with faint brown stripes on its body and a scraggly brown mane. There is a collar with a tag that has something on it that you can read. But whatever you do, don't squeeze it!'
@action squeeze=stuffed liger==$nothing
'@succ squeeze=Oh, no! You've squeezed the stuffed liger! Now it's going to explode!...no, not really. It just growls faintly.'
@osucc squeeze=squeezes the stuffed liger. Oh no!
@action read=stuffed liger==$nothing
'@succ read=You look closely at the tag on the liger's collar. It says, "Remember - Napoleon Dynamite was never good at drawing ligers." If you've not seen the movie Napoleon Dynamite, then it's not funny.'
'@osucc read=reads the tag on the stuffed liger's collar.'
drop stuffed liger