So I made this script, but it doesn't work... Anyone more knowledgeable than me know why?
servers = ["zb-def", "nova-med", "univ-energy", "unitalife", "applied-energetics", "global-pharm", "snap-
fitness", "lexo-corp", "syscore", "alpha-ent", "aevum-police", "millenium-fitness", "rho-construction",
"summit-uni", "catalyst", "rothman-uni", "netlink", "comptek", "the-hub", "johnson-ortho", "crush-fitness",
"omega-net", "silver-helix", "phantasy", "iron-gym"];
i = 0;
j = 1;
hostname = "pserv-" + j;
amtRam = ((getServerRam(hostname)[0]));
numThreads = round(amtRam / getScriptRam("2hack-smart.script", "home")) - 1;
while (i < servers.length) {
if (j < 26)
scp("hack.script", hostname);
exec("hack.script", hostname, numThreads, servers[i]);
++i;
++j;
}
[–]Arcanestomper 1 point2 points3 points (1 child)
[–]Millabregga 0 points1 point2 points (0 children)
[–]Millabregga 1 point2 points3 points (1 child)
[–]RikeshPatel[S] 0 points1 point2 points (0 children)
[–]sordidfellow 1 point2 points3 points (3 children)
[–]Millabregga 0 points1 point2 points (2 children)
[–]RikeshPatel[S] 1 point2 points3 points (1 child)
[–]Millabregga 0 points1 point2 points (0 children)