IMM_ZRESET

Keywords: IMM_ZRESET, WIZ_ZRESET

Category: Admin

=== STAFF MANUAL === Usage: zreset . zreset * zreset <zone> Description: Force a zone to run its reset commands immediately, without waiting for the normal reset tick. Every M / O / G / E / P / R / D / T / C entry in the zone's command list is executed in order, populating mobs and objects, setting door states, attaching triggers, and running any C direct-command entries. Pre-existing mobs and objects are not removed first -- zreset is a top-up, not a wipe. Use killall first if you want a fresh state. Modes: zreset . ........ Reset the zone containing your current room. The dot is a short-hand for "here". zreset <zone> .. Reset a specific zone by tag. zreset * ........ Reset every zone in the game in one pass. Heavy operation -- iterates the full zone_table and calls reset_zone on each entry. Use sparingly. Output: Single zone ..... The invoker sees: Reset zone '<tag>': <name>. The action is logged to the staff wiznet as: (GC) <name> reset zone '<tag>' (<name>) All zones ....... The invoker sees "Reset world.". The action is logged at LVL_IMMORT severity as: (GC) <name> reset entire world. Unknown zone .... "Invalid zone number." No argument ..... "You must specify a zone." -- there is no default-to-current; you must pass at least a dot. Restrictions: - Requires the OLC staff permission. - Both the single-zone and world forms are fully synchronous -- the game pauses until every reset command has finished executing, so zreset * on a large world can cause a noticeable hitch. Notes: - Reset commands respect their per-command Max / Max/Zone / Max/Room caps. A zreset will not spawn additional instances of a mob or object that is already at its cap somewhere in the world. - zreset ignores the zone's own reset mode -- zones set to Never reset can still be reset by hand with this command. - Triggers attached via T reset commands will fire their `load`-style triggers as usual when they are re-attached. Related Helpfiles: WIZ_ZSTAT, WIZ_KILLALL === END MANUAL ===