Posted 21 August 2015 - 12:33 PM
Okay, hello, forgive me if I posted this in the wrong place. I'm new, I only write pretty basic LUA in CC.
Here's the situation: I am running a tekkit classic server, MC 1.2.5, Computercraft 1.3, And I am running some info monitors in my spawn, which have a generic peripheral.wrap and mon.write script set up to display the text I want. they work fine.
The problem is that when the server is restarted, the screens go blank and the program has to be run again by staff. Bearing in mind that it might restart once every 6 hours (small tekkit servers do, as it can get very laggy) It would be loads of hassle for staff to come on to restart the monitors so that new players could read them. Loads of other servers use monitors in the spawn, and they usually have a little button beneath them, so that if a player pushes them, they (presumably) send a redstone signal to the computer telling it to run the program. Thats what I am going for, but how do you make a computer run a program when it recieves a redstone signal?
I have seen posts where people have programs that do something if they get a redstone signal, but the program that handles those signals has to be started manually, which doesn't solve the problem I am having. Thanks for the help! ~Vista
Here's the situation: I am running a tekkit classic server, MC 1.2.5, Computercraft 1.3, And I am running some info monitors in my spawn, which have a generic peripheral.wrap and mon.write script set up to display the text I want. they work fine.
The problem is that when the server is restarted, the screens go blank and the program has to be run again by staff. Bearing in mind that it might restart once every 6 hours (small tekkit servers do, as it can get very laggy) It would be loads of hassle for staff to come on to restart the monitors so that new players could read them. Loads of other servers use monitors in the spawn, and they usually have a little button beneath them, so that if a player pushes them, they (presumably) send a redstone signal to the computer telling it to run the program. Thats what I am going for, but how do you make a computer run a program when it recieves a redstone signal?
I have seen posts where people have programs that do something if they get a redstone signal, but the program that handles those signals has to be started manually, which doesn't solve the problem I am having. Thanks for the help! ~Vista