See PR #271 description
Home > bitburner > NS > pid
The current script's PID
Signature:
readonly pid: number;