What's Wrong With My Script?
Hello, I'm loving this game. It's helping me so much while I try to learn to code too. However it has not been entirely smooth sailing. I've read all of the documentation on this that seemed relevant, plus searching a little bit for answers on the web, but I could not figure out a solution to this small problem I'm having.
I'm trying to make a script that lets me input a target server as an argument, then open all the target server's ports as long as I have the requisite programs, gain admin access, install a backdoor just for funsies, and then finally tell me what files exist on the target server for me to look at, if any. I called this little rascal "nuke.script".
But when I tried entering "run nuke.script n00dles" into the terminal, intending to test my creation out on that server, I got the following error message popup.
"RUNTIME ERROR nuke.script@home (PID - 4) Error processing Imports in nuke.script@home: SyntaxError: Unexpected token (9:4)"
What went wrong, and how do I do this better in the future? Attached to this post should be a screenshot of my script code, if I did that right.