This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Lustigo's profile picture

OS

Started by Lustigo, 24 March 2012 - 08:43 AM
Lustigo #1
Posted 24 March 2012 - 09:43 AM
Hey,
I have the Idea to implement os.exit() to throw the user out of the interface , so he mustn´t press ESC.
Jan #2
Posted 24 March 2012 - 12:06 PM
It is a bit wierd that the computer can prevent people from looking on the monitor…
Xfel #3
Posted 24 March 2012 - 01:03 PM
Yes, it would, but you can't do anything more after the computer is shut down, you have to open the gui again before. So, although it is strange, it would be more convenient.
Lustigo #4
Posted 24 March 2012 - 03:31 PM
I mean in a passwored protect programm that close after 2 secons, you can exit the user and he doesn´t lose time to escape it …
6677 #5
Posted 24 March 2012 - 05:28 PM
press enter to confirm password, hit esc.
Time elapsed: less time than it takes for lua to update the redstone signal
Problem solved.
Wolvan #6
Posted 27 March 2012 - 08:11 PM
Or just add a sleep(x) :o/>/>
Ian-Moone #7
Posted 27 March 2012 - 08:55 PM
lol wolvan :o/>/>
Wolvan #8
Posted 27 March 2012 - 09:41 PM
lol wolvan :o/>/>
problem? *trollface*

@the admins: You should add a trollface smiley
Teraminer #9
Posted 06 April 2012 - 05:54 PM
he means to throw out the player like (the program closed nothing more to see..) but in a difrent API like os.ESC()

+rep
Wolvan #10
Posted 07 April 2012 - 01:04 AM
he means to throw out the player like (the program closed nothing more to see..) but in a difrent API like os.ESC()

+rep
Yeah I know but he said
I mean in a passwored protect programm that close after 2 secons, you can exit the user and he doesn´t lose time to escape it …

And you can avoid this with adding a higher sleep value not just 2