Help

ZMERGE

For immortals

Syntaxzmerge <zone> <zone> as <code> [yes]

The zmerge command makes two zones one: one zone file with one header (the first zone's, with both builder lists), every room, creature and object of both, and the first zone's reset table followed by the second's. The new zone keeps the first zone's number; the second zone's number is retired and never given again. The new code may be a new one or one of the two.

Every reference in the world that named either zone (exits, keys, portals, the resets of every other zone) is rewritten to the new code, and every zone's imports follow. The old codes stay as other names for the new zone, so zstat stka still finds stk. Nothing a player has changes: every room, creature and object keeps its number and its hidden id.

It refuses when a name is used in both zones (one name in a zone means one thing), when the new code is taken or was ever another zone's, and while either zone's resets in the game aren't folded.

Without yes it only shows what it would do. With it, it does it; zrevert puts it back.

Example: zmerge stka stkb as stk yes

A zone code is 2 to 16 characters: lowercase letters, digits and -, starting with a letter (never all or self; no ., _, # or +). A zone keeps the code it has.