MUDL:Every zone reset

From SlothMUD Wiki
Revision as of 19:25, 29 March 2016 by Teker (Talk | contribs) (Created page with " __TOC__ = Overview = This MUDL function gets called for each room in a zone when it is reset. = Command Syntax = <pre> addproc room mudl setproc room ## every_zone_reset...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

This MUDL function gets called for each room in a zone when it is reset.


Command Syntax

addproc room mudl
setproc room ## every_zone_reset

Global Variables

The following global variables are available:

Name Type Description
 %r Room The room that the MUDL script is attached to.


Return Values

The return value from this function is ignored.


Triggered Scripts

Only room scripts are triggered by this event. They are triggered after the zone commands have been run for the room.


Example

addproc room mudl
setproc romo 0 every_zone_reset

msg_room(%r, 'ZONE RESET!')
@


setproc room 0 PROC_ENABLED 1
compile