This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
DanCarl97's profile picture

[Answered] Startup On All Computers - Server

Started by DanCarl97, 04 September 2012 - 03:22 PM
DanCarl97 #1
Posted 04 September 2012 - 05:22 PM
Is there a simple way of adding a Startup file to all computers. I don't want to be modifinging the shell. Or will I have to. It's for a server so that it will run say:


serverName = "The Servers Name"
shell.run("clear")
print("Welcome to "..serverName)
print("Type /Rules to see our Server Rules")
print("")

Basically, just to annoy new people about the rules so they don't go breaking them. And if they aren't Newbs, they'll know how to code their own startup file.


Btw, it's not my server, that's why I just want to be able to drop it somewhere in a folder or something.
Mmmmmmmm #2
Posted 04 September 2012 - 05:29 PM
I think the owner of the server will have to modify the server's startup file, which by default runs on all computers. I haven't really played any multiplayer ComputerCraft though, so I might be wrong.
DanCarl97 #3
Posted 04 September 2012 - 05:39 PM
As in the shell? I found the Normal CraftOS startup (Basically, I found the lua code of 'print( os.version() )' somewhere in there xD). Hmmmm, ok, thanks for your help :D/>/> See if anyone knows any secrets :3
DanCarl97 #4
Posted 04 September 2012 - 05:49 PM
Meh, it should take much too do. Just hope I don't break it xD

/solved -ish