The following are actual scripts that are used in game. This will help you all see how the stuff works and move forward.
// %player is the avatar of the dreamer
// %location is the dream room the avatar is standing in
// %here is an alias for %location
// %realplayer is the real player
// If you want to cause the player to scream, you must unavatar. If you do not unavatar, the player will wake up anyway.
// For more information, see 'help scripting'.
broadcast "gm" %realplayer " is seeing a dream about zombies."
rename %here "Empty Street"
describe %here as "It's deafeningly quiet here, and there's scarcely an unbroken window or a door that hasn't been kicked open. The dark buildings loom high overhead, closing you in a dark man-made cavern. The usual city sounds - sirens, gunshots, the shuffle of the mix - cease to exist here."
tell %player "You gradually become aware of your own senses, glancing up and down an empty street, squinting at the darkness."
tell %player "Dull cries of pain and anguish rise above the city echoing off the rooftops and shattering the relative silence."
tell %player "You take a few steps back, trying to make sense of your surroundings. The smell of decaying flesh wafts in from somewhere, invading your senses and choking you."
tell %player "Something moving catches your attention in one of the doorways. Your heart begins to pound in your chest, and you realize you're not alone here."
tell %player "Something lets out a feral moan somewhere behind you and you spin around to see what it is, scanning the empty street for movement."
tell %player "You're suddenly seized from behind and locked in a powerful grapple. You struggle against the assailant to no avail."
tell %player "As you try to wrestle free, people start emerging from every shady doorway and dark corner on the street. You try to cry out for help, but no sound comes out of your mouth."
tell %player "Hundreds of people start making their way down the street, walking stiffly with their arms outstretched. As they draw closer, you begin to see that they're covered in blood and suffering from gashes, cuts, and sucking flesh wounds that would surely be fatal. Their skin looks like something that decayed underwater."
tell %player "You continue to struggle against the vice-like grip of the person holding you, and suddenly you're spun around, face-to-face with a man who's missing nearly half his head. His eyes are rolled back and chunks of dried cranial pulp are leaking down the side of his face."
tell %player "The disgusting man lets out a deafening screech and lurches forward, sinking his teeth into your throat, tearing away mouthful after mouthful of flesh. You can feel the warm blood spilling down the front of you."
tell %player "You try to scream, but your voice comes out as a sputtering gurgle through the gaping hole in your throat."
tell %player "Everything begins spining and starts to go black. A feeling of coldness envelops you as you begin to lose consciousness... This is the end, it seems..."
unavatar %player "%player"
force %player "look"
force %player "sob"