hackmud

hackmud

How do I inspect a script?
I am doing the tutorial and am on lost and found.
obviously I shouldn't run lost.creds and give bobby (I assume this is the ecript he used to rob sal} all my GC
I tried #edit on it but it doesn't find it.
is there an opposite to #up to view scripts before using them?
< >
Showing 1-5 of 5 comments
#help should list all the script related commands. #scripts or # lists all your local scripts. scripts.user will list all your uploaded scripts.
So there is a #down command for downloading a script but it isn't working.

>>#help
#help [show this message]
#scripts or # [show all of your local scripts]
#dir [open the local directory with your scripts]
#edit <script name> [create or open a local script and edit it]
#DELETE <script name> [delete a local script with no confirmation prompt. BE CA
REFUL!]
#up <script name> delete [delete a script from the server]
#up <script name> <optional:public> <optional:private> [upload a local script to t
he server]
#up <script name> <optional:dry> [validate code, security level, and char count wi
thout pushing changes]
#up <script name> <optional:shift> [confirm a security level change]
#down <script name> [pulls server copy of script down. if local file exists, *.dow
n.js will be created. this file will be overwritten by #down calls]

>>marks.lost_and_found

[INCOMING_MESSAGE]: Hey, I found this script that dropped some GC!!!!
We need to grab it all, but it only let me take around 10% of the balance?

This could really help us move forward. Grab some!
Go ahead, just run this script and we'll be golden:

lost.creds

>>#down lost.creds
That is not a valid script name.

>>#down creds
Code result was empty. No file was written.


What is strange is I know the script is there because of scripts.get_level


>>scripts.get_level { name:"lost.creds" }
MIDSEC

It's for downloading your own uploaded scripts. Not other peoples scripts. You can list your own uploaded scripts via scripts.user.
So how do I download other characters' scripts?
I mean... Obviously the script will be downloaded when it runs, but everyone knows not to run anonymous scripts without checking them first.
There is no way to actually check the source of a script you run. You can run scripts.get_level on a script to check it's security level and make educated guesses at what it could call and the risk in doing so. Typically midsec is where it can begin being able to take money.
< >
Showing 1-5 of 5 comments
Per page: 1530 50