Difference between revisions of "Hardcoded Events"

From ComputerCraft Wiki
Jump to: navigation, search
(anh chau Ta voi nhau xem nap)
(Undo revision 1832 by 37.59.80.67 (talk))
Line 1: Line 1:
Hello my friend heres my new gig easy as it looks Ill send u a total of 5350++ backlinks to your website in 2 tiers. This gig its for 1 website and up to 5 keywords. First tier to your main website 350 page rank 1-5 and the the second tier of 5000 profile backlinks pointing to your first tier.Ill send u a report in a txt file in less than 48 hours.Any question just send me a private message
+
There are two hard-coded commands in ComputerCraft. To use these commands, you must hold down the appropriate key combination for at least 1 second.
 +
 
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
!style="background:#EEE" width="200px"|Shortcut
 +
!style="background:#EEE" width="*"|Usage
 +
|-
 +
|CTRL + R
 +
|Reboots the console.
 +
|-
 +
|CTRL + S
 +
|Forcefully shuts down the computer.
 +
|}
 +
 
 +
There is no way to override these commands. There is also another commonly used command, Ctrl+T to close the current program, but this is not hard-coded. To override this command, use [[Os#pullEvent|os.pullEvent]].

Revision as of 16:00, 24 June 2012

There are two hard-coded commands in ComputerCraft. To use these commands, you must hold down the appropriate key combination for at least 1 second.

Shortcut Usage
CTRL + R Reboots the console.
CTRL + S Forcefully shuts down the computer.

There is no way to override these commands. There is also another commonly used command, Ctrl+T to close the current program, but this is not hard-coded. To override this command, use os.pullEvent.