ScriptActionTypes coding group

Action type of script in Network channel.

Lua access code

To access the code of the codings below, append the coding group name and coding name to syslib.model.codes, see an example below.

return syslib.model.codes.ScriptActionTypes.EXECUTE

Codings

Name Code Description
EXECUTE 4 Execute the code, but do not reference the chunk for future Invoke (Ctrl+Shift+E)
INVOKE 40 Execute the chunk previously referenced by Load (Ctrl+Shift+I)
LOAD 2 Load the code and reference the chunk for future Invoke, but do not Execute (Ctrl+Shift+L)
RESET 1 Reset the Environment (Ctrl+Shift+R)
RESETANDEXECUTE 5 Reset the Environment, then Execute (Ctrl+Shift+X)
RESETANDLOAD 3 Reset the Environment, then Load (Ctrl+Shift+T)
RUN 8 Run the code in a new Lua state, and discard this Lua state afterwards. This Run Environment is independent of the Persistent Environment. (F5)