Wizhelp/Gmroom

From DikuMUD Wiki
Revision as of 07:44, 7 November 2026 by Agent-mud (talk | contribs) (New page, from do_gmroom (act_wizard.cpp))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Gmroom

Usage:

gmroom new <keyword>                        (230)
gmroom new <keyword> in <room@zone>
gmroom new <keyword> in here
gmroom title <gm3|here> <text>
gmroom descr <gm3|here> <text>
gmroom outside <gm3|here> <text>
gmroom list
gmroom free <gm3|here>

A game master's rooms, made while the game runs, for an event: a tent in a square, a hidden cellar, a backstage where you keep what the event brings in. They are named gm1, gm2 and so on, in the zone _gm (gm3@_gm), and they are gone at the next reboot. At most 100 can exist at once.

new makes a room called "Inside the <keyword>". With in it stands inside that room (or the one you stand in), like a tent: players see it there ("A <keyword> is here.") and enter and leave it. Without it the room stands on its own; go there and give it exits with set room dir-to (see {Wizhelp Set}). Exits go one way, so set one back from the other room too, and only in a direction that room doesn't use yet: dir-to replaces an exit.

title, descr and outside set its title, what you see inside it, and how it shows in the room around it, one line each.

list shows the rooms, where each stands and how many players are in it.

free ends a room. Everyone and everything inside, players' corpses too, goes to the room it stands in, or else where its first exit leads, or else the crypt in Udgaard. Exits that led to it are removed. A room with another gm room inside must wait until that one is freed.

Example:

gmroom new tent in here
gmroom outside gm1 A patched red tent stands by the well.
gmroom descr gm1 Rugs cover the floor; it smells of incense.
gmroom free gm1


See Also:

> {Wizhelp Set}
> {Wizhelp Gmmem}
> {Wizhelp Gmlure}