NETSCRIPT: Add functionality and support to fully allow Players to use IP addresses in place of hostnames (#1990)

This commit is contained in:
Naga
2025-04-10 21:41:37 -04:00
committed by GitHub
parent d28a06e764
commit 0aaa28054a
84 changed files with 610 additions and 400 deletions
+2
View File
@@ -24,6 +24,7 @@ export const TerminalHelpText: string[] = [
" history [-c] Display the terminal history",
" home Connect to home computer",
" hostname Displays the hostname of the machine",
" ipaddr Displays the IP address of the machine",
" kill [script/pid] [args...] Stops the specified script on the current server ",
" killall Stops all running scripts on the current machine",
" ls [dir] [--grep pattern] Displays all files on the machine",
@@ -313,6 +314,7 @@ export const HelpTexts: Record<string, string[]> = {
" ",
],
hostname: ["Usage: hostname", " ", "Prints the hostname of the current server", " "],
ipaddr: ["Usage: ipaddr", " ", "Prints the IP address of the current server", " "],
kill: [
"Usage: kill [script name] [args...] or kill [pid]",
" ",