A little help with formatting please.

Posted by Elieth on Fri 24 May 2002 10:47 AM — 4 posts, 18,723 views.

#0
Hi, I know this is probably really easy but I'm new to coding and having a little difficulty. I'm wanting to get objects and mobs to show in the room directly after this room description.

eg.

Before the Oak Tree [Outlands] [Room 33005]
The path ends abruptly at the base of a huge oak tree. Towering hundreds of feet above your head, the tree's trunk is enormous and the bark is gnarled and withered. Some sort of moss hangs from the branches brushing the ground and creating a secluded area, free from prying eyes. Some crude steps lead up to a large hole in the tree. The hole is more than spacious enough to climb inside. A silvery gem has been left here. A tall, voadkyn female stands concealed amongst the trees.

Or something similar to that. I'm doing ok as far as getting objects and mobs to show above the exits and after the room description, but it's on another line, and the objects have a few spaces before them.

Any help on this would be greatly appreciated.
USA #1
Ok, just to clarify, do you want the display format to show the mobs and objects above the room description?

Example Format:

A male human stands here.
A water fountain sits in the middle of the plaza

<automap> (if enabled)

Before the Oak Tree [Outlands] [Room 33005]
The path ends abruptly at the base of a huge oak tree. Towering hundreds of feet above your head, the tree's trunk is enormous and the bark is gnarled and withered. Some sort of moss hangs from the branches brushing the ground and creating a secluded area, free from prying eyes. Some crude steps lead up to a large hole in the tree. The hole is more than spacious enough to climb inside. A silvery gem has been left here. A tall, voadkyn female stands concealed amongst the trees.
#2
Hi, I was wanting to tack on the room contents and the mobs in the room (not pc's) to the end of the room description without spacing in between so it just continues, then room exits. I took another long look at the code and I can get to the point where the room contents and mobs shows on the very next line after the room desc, but from there, I'm stuck.
#3
Hmm, try removing the \r\n from the end of the code that prints the description.