Web Help

web-room

Webbed rooms have an index_html verb which will display a basic html room description.

This uses the room.htitle property to show a header message, where %T represents the room's name.

the room.htbody property is inserted in the part of the page, so it is possible to change the colours and background.

Then the room's description is displayed,

is appended to each line, since they should be paragraps anyway! if the room's dark property is set to 1, then the description is not displayed on the web.

The room:hcontents and room:hexits verbs are called which give a paragraph of html code to show the contents of the room and it's exits (giving links to the objects)

Rooms have a built in web counter which can be turned on by setting the room.webounter property to 1, or by reading the room.accesses property. This is incrememted by index_html so won't work if you overwrite it.