(Official) LUA Scripting Documentation
set_block_script
Assign a script to a block at a map point.
Spec:
set_block_script(
long x,
long y,
long z,
string name,
string type)
Parameters
x
: The x component of the map pointy
: The y component of the map pointz
: The z component of the map pointname
: The full name of the scripttype
:
Valid values for type: “entry”, “exit”, “poweron”, “poweroff”
Incomplete
This documentation is incomplete