Code: Select all
/c for name in pairs(script.active_mods) do game.print(name) end
but if I change it to write it to a file I only get 1 mod not all of them...
Code: Select all
/c for name in pairs(game.active_mods) do game.write_file("modlist.txt", name) end