Es doblock

From EventScripts Community Encyclopedia


Overview

Syntax: es_doblock <scriptname>/<blockname>

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: es_xdoblock

Description

Executes a named block of code from a script addon file

Parameters

  • blockname - name of the block to execute (e.g. es_doblock mugmod/testblock)


Examples

es_doblock mugmod/testblock


Notes

  • This command can only call blocks created by loaded script addon files.
  • Always follows the scriptname/blockname syntax.
  • Only a / slash is supported between script name and the block name.


See also


blog comments powered by Disqus