Command-line usage: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "The command-line usage of npcclient is as follows: USAGE: npcclient [-] [-h <string>] [-l <string>] [-m <string>] [-p <integer>] [-w <string> ...] [-z <stri...")
 
No edit summary
Line 1: Line 1:
The command-line usage of npcclient is as follows:
The command-line usage of npcclient is as follows:
<source lang="lua>
USAGE:
USAGE:



Revision as of 05:13, 5 December 2022

The command-line usage of npcclient is as follows:

USAGE:

   npcclient  [-] [-h <string>] [-l <string>] [-m <string>] [-p <integer>]
              [-w <string> ...] [-z <string>] -n <string>


Where:

   -h <string>,  --hostname <string>
     IP address of host

   -p <integer>,  --port <integer>
     Port to connect to

   -n <string>,  --name <string>
     (required) Name of the NPC

   -m <string>,  --scriptfile <string>
     Squirrel Script file to be used

   -z <string>,  --password <string>
     Password of the server to connect

   -l <string>,  --location <string>
     The location and skin to spawn eg. "x__ y__ z__ s__"

   -w <string>,  --params <string>  (accepted multiple times)
     The params to be passed to script

   --,  --ignore_rest
     Ignores the rest of the labeled arguments following this flag.

   VCMP-Non Player Characters v1.5