IMM_GSCRIPT
Keywords: IMM_GSCRIPT, WIZ_GSCRIPT
=== STAFF MANUAL ===
Usage: gscript show
gscript add <vid>
gscript remove <vid>
Description:
Manage the global script list. Global scripts are triggers that
fire on events game-wide without being attached to any specific
mob, object, or room. Requires Senior Staff or Admin
privileges.
Subcommands:
show ........... Display a numbered list of all active global
scripts with their VIDs and names. Output
is paged for large lists.
add <vid> ...... Add a script to the global list. The script
must exist and must be type GLOBAL. Rejects
duplicates if the script is already in the
list. A live trigger instance is created
from the prototype.
remove <vid> ... Remove a script from the global list. The
trigger instance is extracted (destroyed)
and removed from memory.
Notes:
- Changes are saved to disk immediately after each add
or remove operation.
- Both add and remove are logged to the staff log at
NRM level with the script name and VID.
- Only scripts with type GLOBAL_TRIGGER can be added.
Use scriptedit to set a script's type.
Related Helpfiles: WIZ_BEHAVIOREDIT, WIZ_SCRIPTEDIT, WIZ_VSTAT
=== END MANUAL ===