Es unload

From EventScripts Community Encyclopedia

Overview

Syntax: es_unload [scriptname]

Note: Command parameters are described inside the < and > characters. Optional parameters are contained within [ and ] characters.

Variation of this command that doesn't expand variables: {{{8}}}

Description

Unloads a script addon file that had previously been loaded by es_load. Causes the block unload in the script to be invoked shortly before the script addon is unloaded from memory.


Parameters

  • scriptname - name of the script to unload from memory.


Examples

es_unload mugmod


Notes

  • es_unload was first introduced with Script Addons in EventScripts v1.0.
  • NEVER call es_unload from within the script itself. It could cause the server to crash. If you must, use one of the following alternatives:
    • es_soon es_unload script
    • es_disable script


See also

blog comments powered by Disqus