Jump to content

Recommended Posts

Posted

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 ._.

Posted

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?

Posted

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

Posted

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

Posted · 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...