nut.team.load - brianhang/nutscript2 GitHub Wiki

Description

nut.team.load(path)

This shared function loads a team from a given file.

Parameters

Name Description
path The path to the team's file.

Side Effects

  • nut.team.list is modified
  • A new team is added

Errors

  • path is not a string

Example

nut.team.load("jobs/police.lua")