Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documents and tweaks term_ping filtering option #4002

Merged
merged 2 commits into from Mar 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions code/modules/networks/computer3/terminal.dm
Expand Up @@ -38,7 +38,7 @@
term_status - View current status of terminal.<br>
term_accept - Toggle connection auto-accept.<br>
term_login - Transmit login file (ID Required)<br>
term_ping - Scan network for terminal devices.<br>
term_ping \[Device ID] - Scan network for devices.<br>
term_break - Send break signal to host.<br>
<b>Connection Commands:</b><br>
connect \[Net ID] - Connect to a specified device.<br>
Expand Down Expand Up @@ -96,8 +96,8 @@ file_save - Save file to local disk."}
src.net_number = new_net_number

src.peripheral_command("subnet[src.net_number]", null, "\ref[src.netcard]")
if (length(command_list) > 1)
src.ping_filter = lowertext(command_list[2])
if (length(command_list))
src.ping_filter = lowertext(command_list[1])
else
src.ping_filter = null

Expand Down