call

Declaration

call (function: STRING)

Description

Call script item function, which must exist. Use is_script to make sure the function exists if you aren't sure. Use this function to group re-useable code.

See Also

is_script
script functions
Script Engine

Example

script a is
  if is_script ('b') then
    call ('b')
  end
end

script b is
  message ('called script b', Message_info)
end