Jump to content




Exiting programs


  • You cannot reply to this topic
4 replies to this topic

#1 Scoop99

  • Members
  • 3 posts

Posted 10 July 2015 - 10:53 PM

Hi, i'm new to ComputerCraft and this is my first post:
This is going to seem dumb but is there a way to make a person exit a computer after a script has executed, for example after entering a password, a door opens and the computer screen closes so the player can go through the door easily, any help is appreciated, thanks.

#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 10 July 2015 - 10:57 PM

I've split your post into its own topic. Please make sure to post in the correct section when asking questions, and enjoy the community!

#3 Scoop99

  • Members
  • 3 posts

Posted 10 July 2015 - 11:04 PM

Thanks, i'm new to forums and couldn't work out how to start a new topic or where, sorry :)

#4 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 10 July 2015 - 11:21 PM

I'm afraid the only way to do this is to get the user out of range of the computer somehow, which is seldom easy or practical. In your case, you're probably better off displaying an on-screen message for a few seconds that tells them to press Escape.

#5 Scoop99

  • Members
  • 3 posts

Posted 11 July 2015 - 07:34 AM

Thanks for the help.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users