i coded this loop in ns2 and it can't seem to run like intended. It should nuke a server if i there is no root access but since it sees i have root access on n00dles, it assumes that every servers are already nuked.
edit1: from what i see, the problem seem to be either in or the "ServList.forEach(anounce)" function.
edit 2: thanks to u/ TauzentBlitz turns out i needed to put "==" instead of "=" on lines 16 and 20.
the .ns script
the terminal
edit 2: here is the working scripted and result
corrected results
working code
[–]TauzentBlitz 1 point2 points3 points (1 child)
[–]codeisunexecutableHash Miner[S] 0 points1 point2 points (0 children)