Fiestaguy Posted October 25, 2012 Share Posted October 25, 2012 ok i started playing CC and i wanted to have all kinds of monitors in my factory displaying messages like: intruder alert or something but the monitors only work for me with the "hello world" program. i used the commands at the CC wiki and youtube tutorials but it just doesnt work maybe ive done something wrong? help me UPDATE! ive typed in this: while true do sleep(1) if (redstone.getInput("right")) then monitor, back, print("*my message*") end end and when i reboot the PC it says: bios :206: [string "startup"] :5: syntax error HELP! NOTE: my double posting happens becuz of slow internet ._. Link to comment Share on other sites More sharing options...
warpspeed10 Posted October 25, 2012 Share Posted October 25, 2012 Sure thing. Once you know the basics, monitors are super easy to use. Can you tell me what you have done so far/ want to do, so that I know were to start? Link to comment Share on other sites More sharing options...
Fiestaguy Posted October 25, 2012 Author Share Posted October 25, 2012 i only know basic things of CC so far i know how to make a Password protected door first asking your ID then your password i know how to use disk drives/floppy disks and i know about the worst program: the "hello world" program BTW what i also wanna know: is there a way that a computer runs a program or something when it recieves a redstone pulse? Link to comment Share on other sites More sharing options...
theprolo Posted October 25, 2012 Share Posted October 25, 2012 is there a way that a computer runs a program or something when it recieves a redstone pulse? That's not too hard. You need to make it check every second or so whether there it has a red stone signal. While true do Sleep(1) If(redstone.getInput("left") == true) then * shtuff to happen when redstone is detected End End Link to comment Share on other sites More sharing options...
Fiestaguy Posted October 25, 2012 Author Share Posted October 25, 2012 That's not too hard. You need to make it check every second or so whether there it has a red stone signal. While true do Sleep(1) If(redstone.getInput("left") == true) then * shtuff to happen when redstone is detected End End thanx! now i can try making a locker system with loads of computers and redstone inputs! like those lockers you see at local swinming pools! :P Link to comment Share on other sites More sharing options...
Fiestaguy Posted October 27, 2012 Author Share Posted October 27, 2012 · Hidden Hidden That's not too hard. You need to make it check every second or so whether there it has a red stone signal. While true do Sleep(1) If(redstone.getInput("left") == true) then * shtuff to happen when redstone is detected End End thanx! now i can try making a locker system with loads of computers and redstone inputs! like those lockers you see at local swinming pools! :P Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now