AuthPlayer player:Int, password:Str

Defines a player password. When you load the specified player's data, and the password matches, PCC2 will not ask for the password. It is not an error to specify the wrong password with this command.

This command can be placed in your autoexec.q file in your game directory. For example, when you're playing the Feds, you could put the following in the game's autoexec.q file:

  On BeforeLoad Do AuthPlayer 1, "kirk"     % the Fed password

This will let you open the Fed RST without being prompted for passwords on your computer (but everyone else on other computers without this script will still have to know it).

Passwords are forgotten whenever you leave the race screen, so you should regenerate it in the BeforeLoad hook.

Since: PCC 1.1.1, PCC2 1.99.25

See also: Global Commands