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

API Feature Request: After access to AutoLink.exe allow script use of links #1640

Open
mallardduck opened this issue Aug 29, 2024 · 1 comment · May be fixed by #1641
Open

API Feature Request: After access to AutoLink.exe allow script use of links #1640

mallardduck opened this issue Aug 29, 2024 · 1 comment · May be fixed by #1641
Labels
enhancement New feature or request

Comments

@mallardduck
Copy link

Add an API method to allow turning a server hostname into a Link.

Essentially something like ns.serverLink(hostname: string): Link could be added and usable in scripts after creation/purchase of AutoLink.exe. Then upon printing to terminal that hostname would be clickable to connect to as would be expected.

This feature would be super useful for any script that returns server names to the terminal in general. Because of it's usefulness I do think it should be a function that comes with a RAM cost rather than being free. Potentially 0.05 similar to other EXEs that are exposed as script functions like nuke and such.

@d0sboots
Copy link
Collaborator

You can actually do this yourself already, although it's rather complicated and has various compromises depending on how you do it. Having a "sanctioned" way of doing this would be nicer, especially since it's most useful for people in the early stages of the game, who often don't have the deep programming experience needed to build this with the current tools.

@mallardduck mallardduck linked a pull request Aug 30, 2024 that will close this issue
@gmcew gmcew added the enhancement New feature or request label Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants