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

Force out of a terminal

Started by CyberVVolf, 16 April 2012 - 02:47 PM
CyberVVolf #1
Posted 16 April 2012 - 04:47 PM
I searched the forum and didn't find this question.

Is there a way to force a user to exit a terminal?
Lets say I wrote a simple password program and as soon as I enter the correct password I want the user be forced out of the terminal so I wont have to ESC out of it to go through the door for example.
OmegaVest #2
Posted 16 April 2012 - 05:07 PM
No, no there is not.

Oh, and a search of the FULL forum would have gotten you an answer to this. It's been in the suggestion bin repeatedly, and repeatedly denied for griefing issues.
Luanub #3
Posted 16 April 2012 - 09:28 PM
Someone suggested this is the suggestion section, doesn't sound like it will happen.
Cloudy #4
Posted 16 April 2012 - 09:30 PM
This is not going to happen. The best way to make sure that someone is out of the terminal before opening the door, would to do a os.pullEvent() and check for the event "key" and the param 1 - then you can open the door.