Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在用 shell-script 进行文本冒险,但有一次我希望它在运行时打开一个不同的脚本(所以让它们都运行)。我已经研究了大约一个小时,但仍然没有发现任何东西..你能帮忙吗?
例子:
printf "System: Now gathering power needed 1/3"
然后打开脚本
像这样的东西应该可以解决问题
printf "System: Now gathering power needed 1/3" sh other_script
如果 other_script 位于您执行主游戏的同一文件夹中。