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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...