<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Thesbros</id>
		<title>ComputerCraft Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Thesbros"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/Special:Contributions/Thesbros"/>
		<updated>2026-07-11T08:05:41Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User:Thesbros/Sandbox&amp;diff=4780</id>
		<title>User:Thesbros/Sandbox</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User:Thesbros/Sandbox&amp;diff=4780"/>
				<updated>2012-12-11T06:30:46Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Created page with &amp;quot;{{Heading|Mah Sandbox}}&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Heading|Mah Sandbox}}&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=4777</id>
		<title>Crafting Table</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=4777"/>
				<updated>2012-12-10T06:36:12Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4774 by Thesbros (talk) Didn't work?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://www.minecraftwiki.net/wiki/Crafting_Table&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=4776</id>
		<title>Crafting Table</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=4776"/>
				<updated>2012-12-10T06:35:52Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4775 by Thesbros (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[http://www.minecraftwiki.net/wiki/Crafting_Table]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=4775</id>
		<title>Crafting Table</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=4775"/>
				<updated>2012-12-10T06:35:11Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [http://www.minecraftwiki.net/wiki/Crafting_Table]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=4774</id>
		<title>Crafting Table</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=4774"/>
				<updated>2012-12-10T06:34:56Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Redirect instead of link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[http://www.minecraftwiki.net/wiki/Crafting_Table]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=ComputerCraft&amp;diff=4756</id>
		<title>ComputerCraft</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=ComputerCraft&amp;diff=4756"/>
				<updated>2012-12-09T18:24:20Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{delete|Useless redirects will be deleted!}}&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=4755</id>
		<title>Crafting Table</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Crafting_Table&amp;diff=4755"/>
				<updated>2012-12-09T18:21:37Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4751 by Jonjon1234 (talk) Not useless, the crafting grid uses it.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://www.minecraftwiki.net/wiki/Crafting_Table&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=4746</id>
		<title>CcSensors</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=4746"/>
				<updated>2012-12-09T06:15:57Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Outdated|reason='''This mod is 1.2.5 ONLY! It is very out-of-date!''' Documentation is ripped from source code. Information is provided &amp;quot;as-is&amp;quot; with no guarantee of accuracy.}}&lt;br /&gt;
{{DISPLAYTITLE:ccSensors}}&lt;br /&gt;
&lt;br /&gt;
'''ccSensors''' is a user created peripheral by Yoskaz01, which adds sensors to ComputerCraft. It provides readings from the Minecraft surroundings to lua programs.&lt;br /&gt;
A reading can be a value a simple as Light level, a isRaining, isDay or as complex as the content of a chest or the temperature of IC2 reactor.&lt;br /&gt;
&lt;br /&gt;
==Getting Started==&lt;br /&gt;
&lt;br /&gt;
# place a Sensor Controller next to a computer&lt;br /&gt;
# open the sensor Controller GUI and hit the &amp;quot;New&amp;quot; button to register a new freq&lt;br /&gt;
# place blank transmitter card in the slot and click &amp;quot;Encode Transmitter&amp;quot; to get an encoded transmitter to be used with the remote sensor.&lt;br /&gt;
# Place a Remote Sensor (can be placed anywhere) and put the transmitter card in the bottom slot. (you can rename the Remote Sensor from the default name &amp;quot;Sensor&amp;quot;)&lt;br /&gt;
# Place a SensorModule card into the top slot.&lt;br /&gt;
# open the computer terminal and run: /ccSensors/console to run the sample console program. That's it - you now have a working sensor connected to a computer :)&lt;br /&gt;
&lt;br /&gt;
==API: sensors==&lt;br /&gt;
Note: Documentation is ripped from source code. Information is provided &amp;quot;as-is&amp;quot; with no guarantee of accuracy.&lt;br /&gt;
&amp;lt;!-- #################################################################&lt;br /&gt;
&lt;br /&gt;
TO MOD AUTHOR:&lt;br /&gt;
If you fix up the docs, please remove the above sentence.&lt;br /&gt;
Thank you.&lt;br /&gt;
~~~~&lt;br /&gt;
&lt;br /&gt;
############################################################## --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|getVersion()&lt;br /&gt;
|sensorAPI version&lt;br /&gt;
|-&lt;br /&gt;
|getPeripherals()&lt;br /&gt;
|returns a dict of attached peripherals : SensorController,monitor,modem&lt;br /&gt;
|-&lt;br /&gt;
|getController()&lt;br /&gt;
|return the side the first controller is attached at&lt;br /&gt;
|-&lt;br /&gt;
|rIterator( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|tabtodict( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|getReadingAsTable( side, sensor, ... )&lt;br /&gt;
|return sensor reading as a table instead of a dict&lt;br /&gt;
|-&lt;br /&gt;
|setTarget( side, sensor, target )&lt;br /&gt;
|set the active target for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setSensorRange( side, sensor, range )&lt;br /&gt;
|set the sensor range (as long is &amp;lt;= max_sensor_range)&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableReadings( side, sensor )&lt;br /&gt;
|returns names of all readings available for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setActiveReading( side, sensor, reading )&lt;br /&gt;
|set the active reading to be used when getReading is called&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargets( side, sensor )&lt;br /&gt;
|returns the available targets for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe2( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getProbe( side, sensor )&lt;br /&gt;
|returns a table of the available probes (eg: TargetInfo, LivingEntities, Players)&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfo( side, sensor, ... )&lt;br /&gt;
|returns the following information for a given sensor: &lt;br /&gt;
cardType, ActiveReadingID, Distance, Name, ActiveReading, ShortName, SensorRange, yCoord, zCoord, xCoord&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 old values from someone else&lt;br /&gt;
 cardType,name,activereading,activereadingid,distance,location,methods,SensorRange&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfoAsTable( side, sensor, ... )&lt;br /&gt;
|same as getSensorInfo, except as a table&lt;br /&gt;
|-&lt;br /&gt;
|getReading( side, sensor, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getReading2( side, sensor, probe, target, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getSensors( side )&lt;br /&gt;
|returns the names of all connected sensors&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict(side,sensor,target,probe,...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor. returns a dictionary [working]&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict2(side, sensor, probe, target, ...)&lt;br /&gt;
|Alias for getReading2&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsTable( side, sensor, target, reading, ...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getItemInfo(name,content)&lt;br /&gt;
|return item info from an inventory dictionary&lt;br /&gt;
|-&lt;br /&gt;
|getItemsInfo(names,content)&lt;br /&gt;
|returns a dict for each item in the given names table with .dmg and .qty&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== External links==&lt;br /&gt;
*[http://www.computercraft.info/forums2/index.php?/topic/126-mc-125-cc-133-ccsensors-smpssp/ ccSensors]—ComputerCraft Forum Thread&lt;br /&gt;
&lt;br /&gt;
[[Category:User Created Peripherals]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=4745</id>
		<title>CcSensors</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=4745"/>
				<updated>2012-12-09T06:15:46Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Outdated|reason='''This mod is 1.2.5 ONLY! It is very out-of-date!'''. Documentation is ripped from source code. Information is provided &amp;quot;as-is&amp;quot; with no guarantee of accuracy.}}&lt;br /&gt;
{{DISPLAYTITLE:ccSensors}}&lt;br /&gt;
&lt;br /&gt;
'''ccSensors''' is a user created peripheral by Yoskaz01, which adds sensors to ComputerCraft. It provides readings from the Minecraft surroundings to lua programs.&lt;br /&gt;
A reading can be a value a simple as Light level, a isRaining, isDay or as complex as the content of a chest or the temperature of IC2 reactor.&lt;br /&gt;
&lt;br /&gt;
==Getting Started==&lt;br /&gt;
&lt;br /&gt;
# place a Sensor Controller next to a computer&lt;br /&gt;
# open the sensor Controller GUI and hit the &amp;quot;New&amp;quot; button to register a new freq&lt;br /&gt;
# place blank transmitter card in the slot and click &amp;quot;Encode Transmitter&amp;quot; to get an encoded transmitter to be used with the remote sensor.&lt;br /&gt;
# Place a Remote Sensor (can be placed anywhere) and put the transmitter card in the bottom slot. (you can rename the Remote Sensor from the default name &amp;quot;Sensor&amp;quot;)&lt;br /&gt;
# Place a SensorModule card into the top slot.&lt;br /&gt;
# open the computer terminal and run: /ccSensors/console to run the sample console program. That's it - you now have a working sensor connected to a computer :)&lt;br /&gt;
&lt;br /&gt;
==API: sensors==&lt;br /&gt;
Note: Documentation is ripped from source code. Information is provided &amp;quot;as-is&amp;quot; with no guarantee of accuracy.&lt;br /&gt;
&amp;lt;!-- #################################################################&lt;br /&gt;
&lt;br /&gt;
TO MOD AUTHOR:&lt;br /&gt;
If you fix up the docs, please remove the above sentence.&lt;br /&gt;
Thank you.&lt;br /&gt;
~~~~&lt;br /&gt;
&lt;br /&gt;
############################################################## --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|getVersion()&lt;br /&gt;
|sensorAPI version&lt;br /&gt;
|-&lt;br /&gt;
|getPeripherals()&lt;br /&gt;
|returns a dict of attached peripherals : SensorController,monitor,modem&lt;br /&gt;
|-&lt;br /&gt;
|getController()&lt;br /&gt;
|return the side the first controller is attached at&lt;br /&gt;
|-&lt;br /&gt;
|rIterator( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|tabtodict( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|getReadingAsTable( side, sensor, ... )&lt;br /&gt;
|return sensor reading as a table instead of a dict&lt;br /&gt;
|-&lt;br /&gt;
|setTarget( side, sensor, target )&lt;br /&gt;
|set the active target for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setSensorRange( side, sensor, range )&lt;br /&gt;
|set the sensor range (as long is &amp;lt;= max_sensor_range)&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableReadings( side, sensor )&lt;br /&gt;
|returns names of all readings available for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setActiveReading( side, sensor, reading )&lt;br /&gt;
|set the active reading to be used when getReading is called&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargets( side, sensor )&lt;br /&gt;
|returns the available targets for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe2( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getProbe( side, sensor )&lt;br /&gt;
|returns a table of the available probes (eg: TargetInfo, LivingEntities, Players)&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfo( side, sensor, ... )&lt;br /&gt;
|returns the following information for a given sensor: &lt;br /&gt;
cardType, ActiveReadingID, Distance, Name, ActiveReading, ShortName, SensorRange, yCoord, zCoord, xCoord&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 old values from someone else&lt;br /&gt;
 cardType,name,activereading,activereadingid,distance,location,methods,SensorRange&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfoAsTable( side, sensor, ... )&lt;br /&gt;
|same as getSensorInfo, except as a table&lt;br /&gt;
|-&lt;br /&gt;
|getReading( side, sensor, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getReading2( side, sensor, probe, target, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getSensors( side )&lt;br /&gt;
|returns the names of all connected sensors&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict(side,sensor,target,probe,...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor. returns a dictionary [working]&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict2(side, sensor, probe, target, ...)&lt;br /&gt;
|Alias for getReading2&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsTable( side, sensor, target, reading, ...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getItemInfo(name,content)&lt;br /&gt;
|return item info from an inventory dictionary&lt;br /&gt;
|-&lt;br /&gt;
|getItemsInfo(names,content)&lt;br /&gt;
|returns a dict for each item in the given names table with .dmg and .qty&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== External links==&lt;br /&gt;
*[http://www.computercraft.info/forums2/index.php?/topic/126-mc-125-cc-133-ccsensors-smpssp/ ccSensors]—ComputerCraft Forum Thread&lt;br /&gt;
&lt;br /&gt;
[[Category:User Created Peripherals]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=4744</id>
		<title>CcSensors</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=4744"/>
				<updated>2012-12-09T06:15:22Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Oops&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Outdated|reason='''This mod is 1.2.5 ONLY! It is very out-of-date!''' and documentation is ripped from source code. Information is provided &amp;quot;as-is&amp;quot; with no guarantee of accuracy.}}&lt;br /&gt;
{{DISPLAYTITLE:ccSensors}}&lt;br /&gt;
&lt;br /&gt;
'''ccSensors''' is a user created peripheral by Yoskaz01, which adds sensors to ComputerCraft. It provides readings from the Minecraft surroundings to lua programs.&lt;br /&gt;
A reading can be a value a simple as Light level, a isRaining, isDay or as complex as the content of a chest or the temperature of IC2 reactor.&lt;br /&gt;
&lt;br /&gt;
==Getting Started==&lt;br /&gt;
&lt;br /&gt;
# place a Sensor Controller next to a computer&lt;br /&gt;
# open the sensor Controller GUI and hit the &amp;quot;New&amp;quot; button to register a new freq&lt;br /&gt;
# place blank transmitter card in the slot and click &amp;quot;Encode Transmitter&amp;quot; to get an encoded transmitter to be used with the remote sensor.&lt;br /&gt;
# Place a Remote Sensor (can be placed anywhere) and put the transmitter card in the bottom slot. (you can rename the Remote Sensor from the default name &amp;quot;Sensor&amp;quot;)&lt;br /&gt;
# Place a SensorModule card into the top slot.&lt;br /&gt;
# open the computer terminal and run: /ccSensors/console to run the sample console program. That's it - you now have a working sensor connected to a computer :)&lt;br /&gt;
&lt;br /&gt;
==API: sensors==&lt;br /&gt;
Note: Documentation is ripped from source code. Information is provided &amp;quot;as-is&amp;quot; with no guarantee of accuracy.&lt;br /&gt;
&amp;lt;!-- #################################################################&lt;br /&gt;
&lt;br /&gt;
TO MOD AUTHOR:&lt;br /&gt;
If you fix up the docs, please remove the above sentence.&lt;br /&gt;
Thank you.&lt;br /&gt;
~~~~&lt;br /&gt;
&lt;br /&gt;
############################################################## --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|getVersion()&lt;br /&gt;
|sensorAPI version&lt;br /&gt;
|-&lt;br /&gt;
|getPeripherals()&lt;br /&gt;
|returns a dict of attached peripherals : SensorController,monitor,modem&lt;br /&gt;
|-&lt;br /&gt;
|getController()&lt;br /&gt;
|return the side the first controller is attached at&lt;br /&gt;
|-&lt;br /&gt;
|rIterator( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|tabtodict( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|getReadingAsTable( side, sensor, ... )&lt;br /&gt;
|return sensor reading as a table instead of a dict&lt;br /&gt;
|-&lt;br /&gt;
|setTarget( side, sensor, target )&lt;br /&gt;
|set the active target for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setSensorRange( side, sensor, range )&lt;br /&gt;
|set the sensor range (as long is &amp;lt;= max_sensor_range)&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableReadings( side, sensor )&lt;br /&gt;
|returns names of all readings available for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setActiveReading( side, sensor, reading )&lt;br /&gt;
|set the active reading to be used when getReading is called&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargets( side, sensor )&lt;br /&gt;
|returns the available targets for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe2( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getProbe( side, sensor )&lt;br /&gt;
|returns a table of the available probes (eg: TargetInfo, LivingEntities, Players)&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfo( side, sensor, ... )&lt;br /&gt;
|returns the following information for a given sensor: &lt;br /&gt;
cardType, ActiveReadingID, Distance, Name, ActiveReading, ShortName, SensorRange, yCoord, zCoord, xCoord&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 old values from someone else&lt;br /&gt;
 cardType,name,activereading,activereadingid,distance,location,methods,SensorRange&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfoAsTable( side, sensor, ... )&lt;br /&gt;
|same as getSensorInfo, except as a table&lt;br /&gt;
|-&lt;br /&gt;
|getReading( side, sensor, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getReading2( side, sensor, probe, target, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getSensors( side )&lt;br /&gt;
|returns the names of all connected sensors&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict(side,sensor,target,probe,...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor. returns a dictionary [working]&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict2(side, sensor, probe, target, ...)&lt;br /&gt;
|Alias for getReading2&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsTable( side, sensor, target, reading, ...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getItemInfo(name,content)&lt;br /&gt;
|return item info from an inventory dictionary&lt;br /&gt;
|-&lt;br /&gt;
|getItemsInfo(names,content)&lt;br /&gt;
|returns a dict for each item in the given names table with .dmg and .qty&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== External links==&lt;br /&gt;
*[http://www.computercraft.info/forums2/index.php?/topic/126-mc-125-cc-133-ccsensors-smpssp/ ccSensors]—ComputerCraft Forum Thread&lt;br /&gt;
&lt;br /&gt;
[[Category:User Created Peripherals]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=4743</id>
		<title>CcSensors</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=CcSensors&amp;diff=4743"/>
				<updated>2012-12-09T06:15:11Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Convert to Template:Outdated&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Outdated|reason='''This mod is 1.2.5 ONLY! It is very out-of-date!''' and documentation is ripped from source code. Information is provided &amp;quot;as-is&amp;quot; with no guarantee of accuracy.&lt;br /&gt;
{{DISPLAYTITLE:ccSensors}}&lt;br /&gt;
&lt;br /&gt;
'''ccSensors''' is a user created peripheral by Yoskaz01, which adds sensors to ComputerCraft. It provides readings from the Minecraft surroundings to lua programs.&lt;br /&gt;
A reading can be a value a simple as Light level, a isRaining, isDay or as complex as the content of a chest or the temperature of IC2 reactor.&lt;br /&gt;
&lt;br /&gt;
==Getting Started==&lt;br /&gt;
&lt;br /&gt;
# place a Sensor Controller next to a computer&lt;br /&gt;
# open the sensor Controller GUI and hit the &amp;quot;New&amp;quot; button to register a new freq&lt;br /&gt;
# place blank transmitter card in the slot and click &amp;quot;Encode Transmitter&amp;quot; to get an encoded transmitter to be used with the remote sensor.&lt;br /&gt;
# Place a Remote Sensor (can be placed anywhere) and put the transmitter card in the bottom slot. (you can rename the Remote Sensor from the default name &amp;quot;Sensor&amp;quot;)&lt;br /&gt;
# Place a SensorModule card into the top slot.&lt;br /&gt;
# open the computer terminal and run: /ccSensors/console to run the sample console program. That's it - you now have a working sensor connected to a computer :)&lt;br /&gt;
&lt;br /&gt;
==API: sensors==&lt;br /&gt;
Note: Documentation is ripped from source code. Information is provided &amp;quot;as-is&amp;quot; with no guarantee of accuracy.&lt;br /&gt;
&amp;lt;!-- #################################################################&lt;br /&gt;
&lt;br /&gt;
TO MOD AUTHOR:&lt;br /&gt;
If you fix up the docs, please remove the above sentence.&lt;br /&gt;
Thank you.&lt;br /&gt;
~~~~&lt;br /&gt;
&lt;br /&gt;
############################################################## --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;sortable&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|getVersion()&lt;br /&gt;
|sensorAPI version&lt;br /&gt;
|-&lt;br /&gt;
|getPeripherals()&lt;br /&gt;
|returns a dict of attached peripherals : SensorController,monitor,modem&lt;br /&gt;
|-&lt;br /&gt;
|getController()&lt;br /&gt;
|return the side the first controller is attached at&lt;br /&gt;
|-&lt;br /&gt;
|rIterator( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|tabtodict( table )&lt;br /&gt;
|Intended for internal use only.&lt;br /&gt;
|-&lt;br /&gt;
|getReadingAsTable( side, sensor, ... )&lt;br /&gt;
|return sensor reading as a table instead of a dict&lt;br /&gt;
|-&lt;br /&gt;
|setTarget( side, sensor, target )&lt;br /&gt;
|set the active target for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setSensorRange( side, sensor, range )&lt;br /&gt;
|set the sensor range (as long is &amp;lt;= max_sensor_range)&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableReadings( side, sensor )&lt;br /&gt;
|returns names of all readings available for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|setActiveReading( side, sensor, reading )&lt;br /&gt;
|set the active reading to be used when getReading is called&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargets( side, sensor )&lt;br /&gt;
|returns the available targets for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getAvailableTargetsforProbe2( side, sensor, probe )&lt;br /&gt;
|UNDOCUMENTED&lt;br /&gt;
|-&lt;br /&gt;
|getProbe( side, sensor )&lt;br /&gt;
|returns a table of the available probes (eg: TargetInfo, LivingEntities, Players)&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfo( side, sensor, ... )&lt;br /&gt;
|returns the following information for a given sensor: &lt;br /&gt;
cardType, ActiveReadingID, Distance, Name, ActiveReading, ShortName, SensorRange, yCoord, zCoord, xCoord&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
 old values from someone else&lt;br /&gt;
 cardType,name,activereading,activereadingid,distance,location,methods,SensorRange&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|getSensorInfoAsTable( side, sensor, ... )&lt;br /&gt;
|same as getSensorInfo, except as a table&lt;br /&gt;
|-&lt;br /&gt;
|getReading( side, sensor, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getReading2( side, sensor, probe, target, ... )&lt;br /&gt;
|returns sensor reading in a dict of reading,value pairs&lt;br /&gt;
|-&lt;br /&gt;
|getSensors( side )&lt;br /&gt;
|returns the names of all connected sensors&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict(side,sensor,target,probe,...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor. returns a dictionary [working]&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsDict2(side, sensor, probe, target, ...)&lt;br /&gt;
|Alias for getReading2&lt;br /&gt;
|-&lt;br /&gt;
|getSensorReadingAsTable( side, sensor, target, reading, ...)&lt;br /&gt;
|get a reading while setting the target and reading type for a given sensor&lt;br /&gt;
|-&lt;br /&gt;
|getItemInfo(name,content)&lt;br /&gt;
|return item info from an inventory dictionary&lt;br /&gt;
|-&lt;br /&gt;
|getItemsInfo(names,content)&lt;br /&gt;
|returns a dict for each item in the given names table with .dmg and .qty&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== External links==&lt;br /&gt;
*[http://www.computercraft.info/forums2/index.php?/topic/126-mc-125-cc-133-ccsensors-smpssp/ ccSensors]—ComputerCraft Forum Thread&lt;br /&gt;
&lt;br /&gt;
[[Category:User Created Peripherals]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.loadImage&amp;diff=4718</id>
		<title>Paintutils.loadImage</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.loadImage&amp;diff=4718"/>
				<updated>2012-12-07T08:49:03Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=paintutils.loadImage&lt;br /&gt;
 |args=[[String_(type)|string]] path&lt;br /&gt;
 |api=paintutils&lt;br /&gt;
 |returns=[[Boolean_(type)|boolean]] true on success, otherwise false&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |desc=Loads an image (images created with the [[Paint|paint]] program)&lt;br /&gt;
 |examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=The program loads the image 'bar' onto the variable 'image' and then draws it on the screen starting at position {3, 5}&lt;br /&gt;
|code=image = [[paintutils.loadImage(&amp;quot;bar&amp;quot;)]]&lt;br /&gt;
 paintutils.drawImage(image, 3, 5)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.loadImage&amp;diff=4717</id>
		<title>Paintutils.loadImage</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.loadImage&amp;diff=4717"/>
				<updated>2012-12-07T08:48:19Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=paintutils.loadImage&lt;br /&gt;
 |args=[[String_(type)|(string)]] path&lt;br /&gt;
 |api=paintutils&lt;br /&gt;
 |returns=true on success, otherwise false&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |desc=Loads an image (images created with the [[Paint|paint]] program)&lt;br /&gt;
 |examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=The program loads the image 'bar' onto the variable 'image' and then draws it on the screen starting at position {3, 5}&lt;br /&gt;
|code=image = [[paintutils.loadImage(&amp;quot;bar&amp;quot;)]]&lt;br /&gt;
 paintutils.drawImage(image, 3, 5)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.loadImage&amp;diff=4716</id>
		<title>Paintutils.loadImage</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.loadImage&amp;diff=4716"/>
				<updated>2012-12-07T08:47:49Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=paintutils.loadImage&lt;br /&gt;
 |args=(path)&lt;br /&gt;
 |api=paintutils&lt;br /&gt;
 |returns=true on success, otherwise false&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |desc=Loads an image (images created with the [[Paint|paint]] program)&lt;br /&gt;
 |examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=The program loads the image 'bar' onto the variable 'image' and then draws it on the screen starting at position {3, 5}&lt;br /&gt;
|code=image = [[paintutils.loadImage(&amp;quot;bar&amp;quot;)]]&lt;br /&gt;
 paintutils.drawImage(image, 3, 5)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Raw_key_events&amp;diff=4615</id>
		<title>Raw key events</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Raw_key_events&amp;diff=4615"/>
				<updated>2012-12-04T14:06:41Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4613 by 91.230.85.2 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The built-in os has a function to read incoming keystrokes. But it also implements the functions to move the cursor while typing. This is not always a desired feature; imagine a case in which you want to make a menu with a controllable cursor around the menu entries. The current read() function won't let you.&lt;br /&gt;
&lt;br /&gt;
==Detecting keystrokes==&lt;br /&gt;
In case I made you think the OS sucks, it doesn't (all the time). Because this OS is not Windows, we can access lower-level functions, such as os.pullEvent(). And that's the one that we're going to use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function rawread()&lt;br /&gt;
    bRead = true&lt;br /&gt;
    while(bRead) do&lt;br /&gt;
        local sEvent, param = os.pullEvent(&amp;quot;key&amp;quot;)&lt;br /&gt;
        if(sEvent == &amp;quot;key&amp;quot;) then&lt;br /&gt;
            break&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This function waits for any key, then exits.&lt;br /&gt;
&lt;br /&gt;
==Figuring out the key==&lt;br /&gt;
We can detect any key, but not which key. To find it out, we have to add some further logic to the code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function rawread()&lt;br /&gt;
    while true do&lt;br /&gt;
        local sEvent, param = os.pullEvent(&amp;quot;key&amp;quot;)&lt;br /&gt;
        if sEvent == &amp;quot;key&amp;quot; then&lt;br /&gt;
            if param == 28 then&lt;br /&gt;
                print(&amp;quot;Enter detected&amp;quot;)&lt;br /&gt;
                break&lt;br /&gt;
            end&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This function waits for the Enter key to be pressed. If so, it writes &amp;quot;Enter detected&amp;quot; to the screen and exits.&lt;br /&gt;
&lt;br /&gt;
==Key scan codes ==&lt;br /&gt;
The scan codes are typical DirectX numbers.&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! |Key&lt;br /&gt;
! |Code&lt;br /&gt;
|-&lt;br /&gt;
| Escape&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| 2&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| 3&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| 4&lt;br /&gt;
|-&lt;br /&gt;
| 4&lt;br /&gt;
| 5&lt;br /&gt;
|-&lt;br /&gt;
| 5&lt;br /&gt;
| 6&lt;br /&gt;
|-&lt;br /&gt;
| 6&lt;br /&gt;
| 7&lt;br /&gt;
|-&lt;br /&gt;
| 7&lt;br /&gt;
| 8&lt;br /&gt;
|-&lt;br /&gt;
| 8&lt;br /&gt;
| 9&lt;br /&gt;
|-&lt;br /&gt;
| 9&lt;br /&gt;
| 10&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| 11&lt;br /&gt;
|-&lt;br /&gt;
| Minus&lt;br /&gt;
| 12&lt;br /&gt;
|-&lt;br /&gt;
| Equals&lt;br /&gt;
| 13&lt;br /&gt;
|-&lt;br /&gt;
| Backspace&lt;br /&gt;
| 14&lt;br /&gt;
|-&lt;br /&gt;
| Tab&lt;br /&gt;
| 15&lt;br /&gt;
|-&lt;br /&gt;
| Q&lt;br /&gt;
| 16&lt;br /&gt;
|-&lt;br /&gt;
| W&lt;br /&gt;
| 17&lt;br /&gt;
|-&lt;br /&gt;
| E&lt;br /&gt;
| 18&lt;br /&gt;
|-&lt;br /&gt;
| R&lt;br /&gt;
| 19&lt;br /&gt;
|-&lt;br /&gt;
| T&lt;br /&gt;
| 20&lt;br /&gt;
|-&lt;br /&gt;
| Y&lt;br /&gt;
| 21&lt;br /&gt;
|-&lt;br /&gt;
| U&lt;br /&gt;
| 22&lt;br /&gt;
|-&lt;br /&gt;
| I&lt;br /&gt;
| 23&lt;br /&gt;
|-&lt;br /&gt;
| O&lt;br /&gt;
| 24&lt;br /&gt;
|-&lt;br /&gt;
| P&lt;br /&gt;
| 25&lt;br /&gt;
|}&lt;br /&gt;
|style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! |Key&lt;br /&gt;
! |Code&lt;br /&gt;
|-&lt;br /&gt;
| Left Bracket&lt;br /&gt;
| 26&lt;br /&gt;
|-&lt;br /&gt;
| Right Bracket&lt;br /&gt;
| 27&lt;br /&gt;
|-&lt;br /&gt;
| Enter&lt;br /&gt;
| 28&lt;br /&gt;
|-&lt;br /&gt;
| Left Control&lt;br /&gt;
| 29&lt;br /&gt;
|-&lt;br /&gt;
| A&lt;br /&gt;
| 30&lt;br /&gt;
|- &lt;br /&gt;
| S&lt;br /&gt;
| 31&lt;br /&gt;
|-&lt;br /&gt;
| D&lt;br /&gt;
| 32&lt;br /&gt;
|-&lt;br /&gt;
| F&lt;br /&gt;
| 33&lt;br /&gt;
|-&lt;br /&gt;
| G&lt;br /&gt;
| 34&lt;br /&gt;
|-&lt;br /&gt;
| H&lt;br /&gt;
| 35&lt;br /&gt;
|-&lt;br /&gt;
| J&lt;br /&gt;
| 36&lt;br /&gt;
|-&lt;br /&gt;
| K&lt;br /&gt;
| 37&lt;br /&gt;
|-&lt;br /&gt;
| L&lt;br /&gt;
| 38&lt;br /&gt;
|-&lt;br /&gt;
| Semicolon&lt;br /&gt;
| 39&lt;br /&gt;
|-&lt;br /&gt;
| Apostrophe&lt;br /&gt;
| 40&lt;br /&gt;
|-&lt;br /&gt;
| Tilde (~)&lt;br /&gt;
| 41&lt;br /&gt;
|-&lt;br /&gt;
| Left Shift&lt;br /&gt;
| 42&lt;br /&gt;
|-&lt;br /&gt;
| Back Slash&lt;br /&gt;
| 43&lt;br /&gt;
|-&lt;br /&gt;
| Z&lt;br /&gt;
| 44&lt;br /&gt;
|-&lt;br /&gt;
| X&lt;br /&gt;
| 45&lt;br /&gt;
|-&lt;br /&gt;
| C&lt;br /&gt;
| 46&lt;br /&gt;
|-&lt;br /&gt;
| V&lt;br /&gt;
| 47&lt;br /&gt;
|}&lt;br /&gt;
|style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! |Key&lt;br /&gt;
! |Code&lt;br /&gt;
|-&lt;br /&gt;
| B&lt;br /&gt;
| 48&lt;br /&gt;
|-&lt;br /&gt;
| N&lt;br /&gt;
| 49&lt;br /&gt;
|-&lt;br /&gt;
| M&lt;br /&gt;
| 50&lt;br /&gt;
|-&lt;br /&gt;
| Comma&lt;br /&gt;
| 51&lt;br /&gt;
|-&lt;br /&gt;
| Period&lt;br /&gt;
| 52&lt;br /&gt;
|-&lt;br /&gt;
| Forward Slash&lt;br /&gt;
| 53&lt;br /&gt;
|-&lt;br /&gt;
| Right Shift&lt;br /&gt;
| 54&lt;br /&gt;
|-&lt;br /&gt;
| Numpad *&lt;br /&gt;
| 55&lt;br /&gt;
|-&lt;br /&gt;
| Left Alt&lt;br /&gt;
| 56&lt;br /&gt;
|-&lt;br /&gt;
| Spacebar&lt;br /&gt;
| 57&lt;br /&gt;
|-&lt;br /&gt;
| Caps Lock&lt;br /&gt;
| 58&lt;br /&gt;
|-&lt;br /&gt;
| F1&lt;br /&gt;
| 59&lt;br /&gt;
|-&lt;br /&gt;
| F2&lt;br /&gt;
| 60&lt;br /&gt;
|-&lt;br /&gt;
| F3&lt;br /&gt;
| 61&lt;br /&gt;
|-&lt;br /&gt;
| F4&lt;br /&gt;
| 62&lt;br /&gt;
|-&lt;br /&gt;
| F5&lt;br /&gt;
| 63&lt;br /&gt;
|-&lt;br /&gt;
| F6&lt;br /&gt;
| 64&lt;br /&gt;
|-&lt;br /&gt;
| F7&lt;br /&gt;
| 65&lt;br /&gt;
|-&lt;br /&gt;
| F8&lt;br /&gt;
| 66&lt;br /&gt;
|-&lt;br /&gt;
| F9&lt;br /&gt;
| 67&lt;br /&gt;
|-&lt;br /&gt;
| F10&lt;br /&gt;
| 68&lt;br /&gt;
|}&lt;br /&gt;
|style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! |Key&lt;br /&gt;
! |Code&lt;br /&gt;
|-&lt;br /&gt;
| Num Lock&lt;br /&gt;
| 69&lt;br /&gt;
|-&lt;br /&gt;
| Scroll Lock&lt;br /&gt;
| 70&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 7&lt;br /&gt;
| 71&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 8&lt;br /&gt;
| 72&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 9&lt;br /&gt;
| 73&lt;br /&gt;
|-&lt;br /&gt;
| Numpad -&lt;br /&gt;
| 74&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 4&lt;br /&gt;
| 75&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 5&lt;br /&gt;
| 76&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 6&lt;br /&gt;
| 77&lt;br /&gt;
|-&lt;br /&gt;
| Numpad +&lt;br /&gt;
| 78&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 1&lt;br /&gt;
| 79&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 2&lt;br /&gt;
| 80&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 3&lt;br /&gt;
| 81&lt;br /&gt;
|-&lt;br /&gt;
| Numpad 0&lt;br /&gt;
| 82&lt;br /&gt;
|-&lt;br /&gt;
| Numpad .&lt;br /&gt;
| 83&lt;br /&gt;
|-&lt;br /&gt;
| F11&lt;br /&gt;
| 87&lt;br /&gt;
|-&lt;br /&gt;
| F12&lt;br /&gt;
| 88&lt;br /&gt;
|-&lt;br /&gt;
| Numpad Enter&lt;br /&gt;
| 156&lt;br /&gt;
|-&lt;br /&gt;
| Right Control&lt;br /&gt;
| 157&lt;br /&gt;
|-&lt;br /&gt;
| Numpad /&lt;br /&gt;
| 181&lt;br /&gt;
|-&lt;br /&gt;
| Right Alt&lt;br /&gt;
| 184&lt;br /&gt;
|}&lt;br /&gt;
|style=&amp;quot;vertical-align: top&amp;quot;|&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! |Key&lt;br /&gt;
! |Code&lt;br /&gt;
|-&lt;br /&gt;
| Home&lt;br /&gt;
| 199&lt;br /&gt;
|-&lt;br /&gt;
| Up Arrow&lt;br /&gt;
| 200&lt;br /&gt;
|-&lt;br /&gt;
| Page Up&lt;br /&gt;
| 201&lt;br /&gt;
|-&lt;br /&gt;
| Left Arrow&lt;br /&gt;
| 203&lt;br /&gt;
|-&lt;br /&gt;
| Right Arrow&lt;br /&gt;
| 205&lt;br /&gt;
|-&lt;br /&gt;
| End&lt;br /&gt;
| 207&lt;br /&gt;
|-&lt;br /&gt;
| Down Arrow&lt;br /&gt;
| 208&lt;br /&gt;
|-&lt;br /&gt;
| Page Down&lt;br /&gt;
| 209&lt;br /&gt;
|-&lt;br /&gt;
| Insert&lt;br /&gt;
| 210&lt;br /&gt;
|-&lt;br /&gt;
| Delete&lt;br /&gt;
| 211&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
|}&lt;br /&gt;
Source: [http://wiki.tesnexus.com/index.php/DirectX_Scancodes_And_How_To_Use_Them Nexus Wiki]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Category:APIs&amp;diff=4611</id>
		<title>Category:APIs</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Category:APIs&amp;diff=4611"/>
				<updated>2012-12-04T13:53:06Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4609 by 72.242.229.2 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Apis.png|thumb|350px|API's being listed with the &amp;quot;apis&amp;quot; command run in a computer.]]An API (Application Programming Interface) is a collection of code that, rather than being run directly by the user as a program, is meant to be used by other programs. This is different from a function in that an API may contain many functions that perform related tasks; the API groups them together.  It is a library of functions.&lt;br /&gt;
There are two reasons why one might want to use an API:&lt;br /&gt;
* The API may provide a function that you could write yourself if you had to, but using the one from the API means you don't have to do that work.&lt;br /&gt;
	&lt;br /&gt;
* The API may provide something it's impossible to do yourself because it has to be done in Java rather than Lua.&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
ComputerCraft itself ships with a collection of APIs of both types. For example:&lt;br /&gt;
	&lt;br /&gt;
* The [[color (API)|color API]] provides names for the various numbers used in RedPower bundled cable, and functions that manipulate those numbers. The names for the numbers are just variables, and the functions are written in Lua (you can find this in &amp;quot;rom/apis/colors&amp;quot;). You could write the same variables and functions in your own code if you wanted, but using the API saves you from doing that.&lt;br /&gt;
	&lt;br /&gt;
* The [[fs (API)|fs API]] provides functions to work with files. You couldn't write the functions from this API in Lua because they have to access the corresponding files in your real computer (the one running Minecraft), and the only way to do that from Lua is… through the fs API (or the [[IO (API)|io API]], but that's just a wrapper around fs).&lt;br /&gt;
	&lt;br /&gt;
All the stock APIs of the first kind, those that are implemented in Lua, can be found in your &amp;quot;mods/ComputerCraft/lua/rom/apis&amp;quot; directory. Inside Minecraft, on a ComputerCraft computer, these appear in the directory &amp;quot;rom/apis&amp;quot;. All the built-in APIs of both kinds (Lua and Java) are automatically loaded, so you don't have to use &amp;quot;[[OS (API)|os]].loadAPI&amp;quot; on them.&lt;br /&gt;
&lt;br /&gt;
ComputerCraft mods, for example mods that add custom peripherals, might also add APIs that help you work with those peripherals.&lt;br /&gt;
&lt;br /&gt;
You can view a list of un-official API's at the [[:Category:Unofficial_APIs]] page.&lt;br /&gt;
&lt;br /&gt;
Finally, you might find APIs written by other people that you can download, or you might write APIs yourself if you'll be using a function in many different programs and don't want to keep rewriting it. If you're playing single-player or you're running the multiplayer server, you can add those APIs to &amp;quot;rom/apis&amp;quot; and they will automatically be loaded on every computer in the world. Normally, though, you would leave the APIs somewhere else and use &amp;quot;os.loadAPI&amp;quot; to make them available to your program.&lt;br /&gt;
&lt;br /&gt;
You can see a list of APIs built-in to ComputerCraft by typing &amp;quot;apis&amp;quot; in the terminal.&lt;br /&gt;
&lt;br /&gt;
[[Category:Lists]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.detectUp&amp;diff=4610</id>
		<title>Turtle.detectUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.detectUp&amp;diff=4610"/>
				<updated>2012-12-04T13:52:54Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4608 by 184.171.168.202 (talk) Who's face?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.detectUp&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] If turtle has Detected a Block Above.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Detects if there is a Block Above.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Detects if there is a Block Above.&lt;br /&gt;
|code=turtle.detectUp()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Textutils.tabulate&amp;diff=4604</id>
		<title>Textutils.tabulate</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Textutils.tabulate&amp;diff=4604"/>
				<updated>2012-12-04T13:23:43Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=textutils.tabulate&lt;br /&gt;
|args= [[table (type)|table]] table1, [[table (type)|table]] table2, ...&lt;br /&gt;
|returns=Text printed on the screen&lt;br /&gt;
|api=textutils&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Prints tables in an ordered form. Each table is a row, columns' width is auto-adjusted.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints two tables in an ordered form.&lt;br /&gt;
|code=textutils.tabulate({1,2,3},{&amp;quot;A&amp;quot;,&amp;quot;B&amp;quot;,&amp;quot;C&amp;quot;})&lt;br /&gt;
|output=Print:&lt;br /&gt;
1.0 2.0 3.0&lt;br /&gt;
&lt;br /&gt;
A   B   C&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_Stairbuilder_(tutorial)&amp;diff=4602</id>
		<title>Turtle Stairbuilder (tutorial)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_Stairbuilder_(tutorial)&amp;diff=4602"/>
				<updated>2012-12-04T13:13:11Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4601 by 184.71.12.166 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
==Introduction==&lt;br /&gt;
Welcome to this [[:Category:Tutorials|tutorial]] about Turtle Stairbuilders.&lt;br /&gt;
&lt;br /&gt;
==Programming your Stairbuilder==&lt;br /&gt;
In this code we will program a stairbuilder that simply goes up a flat surface, when the wall ends it will create a stairway coming off of the wall&lt;br /&gt;
&lt;br /&gt;
First we want it to determine the top of the wall&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 while turtle.detect() do&lt;br /&gt;
  turtle.up()&lt;br /&gt;
 end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
next we want it to decend one block and create the staircase&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
 while turtle.detect() do&lt;br /&gt;
  turtle.up()&lt;br /&gt;
 end&lt;br /&gt;
 turtle.down()&lt;br /&gt;
 turtle.back()&lt;br /&gt;
 turtle.place()&lt;br /&gt;
 while not turtle.detectDown() do&lt;br /&gt;
  turtle.back()&lt;br /&gt;
  turtle.down()&lt;br /&gt;
  turtle.place()&lt;br /&gt;
 end&lt;br /&gt;
 print(&amp;quot;Staircase Built&amp;quot;)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
And there's your code!&lt;br /&gt;
&lt;br /&gt;
==Uses==&lt;br /&gt;
&lt;br /&gt;
With a little modification this can be used in ravines to go up or down. It can be very useful in the nether if you're stuck or are fighting off a ghast. This program can also be used creatively in multiplayer RPG games to traverse difficult obstacles.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=ComputerCraft_IRC&amp;diff=4596</id>
		<title>ComputerCraft IRC</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=ComputerCraft_IRC&amp;diff=4596"/>
				<updated>2012-12-04T12:20:36Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Stub}}&lt;br /&gt;
The ComputerCraft IRC is the official IRC. It's channel is #computercraft. If you are using an IRC client, the IP is: irc.esper.net:5555 A link to the webchat is [http://webchat.esper.net/?channels=#computercraft here.] Most development information is gained from this.&lt;br /&gt;
&lt;br /&gt;
[[Category:Lists]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Coroutine.create&amp;diff=4594</id>
		<title>Coroutine.create</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Coroutine.create&amp;diff=4594"/>
				<updated>2012-12-04T12:17:08Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=coroutine.create&lt;br /&gt;
|args=[[Function (type)|function]] function&lt;br /&gt;
|api=Coroutine&lt;br /&gt;
|returns=[[coroutine]] new coroutine&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Creates a new coroutine&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=creates a coroutine.&lt;br /&gt;
|code=coroutine.create(function() print(&amp;quot;Hello World&amp;quot;) end)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.suck&amp;diff=4593</id>
		<title>Turtle.suck</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.suck&amp;diff=4593"/>
				<updated>2012-12-04T12:16:24Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4588 by 184.171.168.202 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.suck&lt;br /&gt;
|args=&lt;br /&gt;
|returns=true if at least one item was moved into the turtle's inventory; false otherwise.&lt;br /&gt;
|api=turtle&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=If an item is in the square directly in front of the turtle, it picks up one of those items. &lt;br /&gt;
If a chest is in the square directly in front of the turtle, it picks up the items from the first non-empty slot, moving from top left to bottom right. &lt;br /&gt;
The items are moved into the currently selected slot, if there is room. &lt;br /&gt;
If the currently selected slot is filled up before all of the items are picked up, the remaining items are put in the next available slot. &lt;br /&gt;
If the currently selected slot is 16, it will loop around and try slot 1, and so on.&lt;br /&gt;
&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Picks up some items.&lt;br /&gt;
|code=turtle.suck()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=String_(API)&amp;diff=4585</id>
		<title>String (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=String_(API)&amp;diff=4585"/>
				<updated>2012-12-04T11:54:52Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4584 by 189.205.27.4 (talk) Om nom nom spam&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The string API is a default Lua 5.1 API as defined [http://www.lua.org/manual/5.1/manual.html#5.4 here]. Please list any non-working functions below.&lt;br /&gt;
&lt;br /&gt;
==Non-Working Functions==&lt;br /&gt;
&lt;br /&gt;
===string.gmatch(string, pattern)===&lt;br /&gt;
&lt;br /&gt;
Using any quantifier other than + will cause it to hang if that quantifier applies to the whole pattern and that pattern does not match the whole string.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;abcdef&amp;quot;:gmatch(&amp;quot;%a*&amp;quot;)   -- Works&lt;br /&gt;
&amp;quot;abc=def&amp;quot;:gmatch(&amp;quot;%a*&amp;quot;)   -- Hang&lt;br /&gt;
&amp;quot;abc=def&amp;quot;:gmatch(&amp;quot;%a.*&amp;quot;)  -- Works&lt;br /&gt;
&amp;quot;abc=def&amp;quot;:gmatch(&amp;quot;[%a.]*&amp;quot;)  -- Hang&lt;br /&gt;
&amp;quot;abc=def&amp;quot;:gmatch(&amp;quot;[^=]*&amp;quot;)  -- Hang&lt;br /&gt;
&amp;quot;abc=def&amp;quot;:gmatch(&amp;quot;([^=]*)=?&amp;quot;) -- Works (Note: This produces the same result as the above pattern should)&lt;br /&gt;
&amp;quot;abcdef&amp;quot;:gmatch(&amp;quot;[^=]*&amp;quot;)  -- Works&lt;br /&gt;
&amp;quot;abc=def&amp;quot;:gmatch(&amp;quot;[^=]*=&amp;quot;)  -- Works&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===string.sub / string.find ===&lt;br /&gt;
&lt;br /&gt;
Both string.sub and string.find work on their own, but calling string.find on a string returned by string.sub will return the index of the character in the original string, not the sub string you are referencing.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local testString = &amp;quot;This is a sample string&amp;quot;;&lt;br /&gt;
local testSubString = string.sub(testString,5);&lt;br /&gt;
&lt;br /&gt;
local indexOfSample = string.find(testSubString,&amp;quot;sample&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
indexOfSample is returned 11 instead of the expected 7&lt;br /&gt;
&lt;br /&gt;
Concatenating a blank string onto the end of the string causes new memory to be allocated and works properly again&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local testString = &amp;quot;This is a sample string&amp;quot;;&lt;br /&gt;
local testSubString = string.sub(testString,5);&lt;br /&gt;
&lt;br /&gt;
local indexOfSample = string.find(testSubString..&amp;quot;&amp;quot;,&amp;quot;sample&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is also a problem with using string.find on command line arguments, as this returns the index in the full command path instead of the specific argument.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Download&amp;diff=4567</id>
		<title>Download</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Download&amp;diff=4567"/>
				<updated>2012-12-04T10:44:09Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4566 by 86.96.226.15 (talk) Spambot&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== You can download the latest version of ComputerCraft [http://www.minecraftforum.net/topic/892282- here]. ===&lt;br /&gt;
&lt;br /&gt;
==Changelog:==&lt;br /&gt;
&lt;br /&gt;
{{Changelog}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lists]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Creating_a_simple_name_reading_program&amp;diff=4565</id>
		<title>Creating a simple name reading program</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Creating_a_simple_name_reading_program&amp;diff=4565"/>
				<updated>2012-12-04T10:41:21Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4564 by 184.171.168.202 (talk) Dude, you're really messed up. AfterLifeLochie: Ban him?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The Code ==&lt;br /&gt;
This will be a tutorial on making a program that will read a name.&lt;br /&gt;
This is the code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   print(&amp;quot;Enter Your Name: &amp;quot;)&lt;br /&gt;
   local name = read()&lt;br /&gt;
   print(&amp;quot;Hello &amp;quot;..name..&amp;quot;, that's a cool name.&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The print is pretty obvious, it puts the text on the screen and makes a new line.&lt;br /&gt;
Now the 'local name = read()' sets 'name' as a variable which contains a string (piece of text) which the user typed, in this case it's his/her name.&lt;br /&gt;
And the last line will print some text, and the '&amp;quot;..name..&amp;quot;' concatenates (merges) the text before it with the text that the variable 'name' contains.  &lt;br /&gt;
&lt;br /&gt;
This is another version for my door:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   textutils.slowPrint(&amp;quot;Enter Your Name: &amp;quot;)&lt;br /&gt;
   local name = read()&lt;br /&gt;
   print(&amp;quot;Okay &amp;quot;..name..&amp;quot;, door's open!&amp;quot;)&lt;br /&gt;
   rs.setOutput(&amp;quot;right&amp;quot;,true) -- this can be changed, &amp;quot;right&amp;quot; is the side of door / redstone&lt;br /&gt;
   sleep(5)&lt;br /&gt;
   os.shutdown()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programs]][[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Coroutine.status&amp;diff=4559</id>
		<title>Coroutine.status</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Coroutine.status&amp;diff=4559"/>
				<updated>2012-12-04T10:29:25Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Please stop replacing pages with 'Content missing.'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Function&lt;br /&gt;
|name=coroutine.status&lt;br /&gt;
|api=Coroutine&lt;br /&gt;
|returns=[[string]] status&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the status of the coroutine; returns &amp;quot;running&amp;quot;, if the coroutine is running; &amp;quot;suspended&amp;quot; if the coroutine was yielded or not running; &amp;quot;normal&amp;quot; if the coroutine is active but not running (that is, it has resumed another coroutine); and &amp;quot;dead&amp;quot; if it finished its function.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Writes the status of the running coroutine.&lt;br /&gt;
|code=print(coroutine.status(coroutine.running()))&lt;br /&gt;
|output=running&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.back&amp;diff=4557</id>
		<title>Turtle.back</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.back&amp;diff=4557"/>
				<updated>2012-12-04T10:18:09Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: \/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.back&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in moving backwards&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to move the turtle backwards.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Moves the turtle backwards&lt;br /&gt;
|code=print(turtle.back())&lt;br /&gt;
|output=true if the turtle could move backwards, false if there was something in the way&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Concatenation&amp;diff=4556</id>
		<title>Concatenation</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Concatenation&amp;diff=4556"/>
				<updated>2012-12-04T10:17:59Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: \/&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Concatenation is the process, in which you combine one or more strings.&lt;br /&gt;
&lt;br /&gt;
To concatenate a string you use two periods.&lt;br /&gt;
&lt;br /&gt;
{{Example&lt;br /&gt;
 |desc=Concatenating strings.&lt;br /&gt;
 |code=print(&amp;quot;Hello &amp;quot;..&amp;quot;World&amp;quot;..&amp;quot;!&amp;quot;)&lt;br /&gt;
 |output=Hello world!&lt;br /&gt;
 }}&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Term.getCursorPos&amp;diff=4555</id>
		<title>Term.getCursorPos</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Term.getCursorPos&amp;diff=4555"/>
				<updated>2012-12-04T10:17:44Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: You mean &amp;quot;Destroyed page&amp;quot;?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=term.getCursorPos&lt;br /&gt;
|args=none&lt;br /&gt;
|returns=x, y&lt;br /&gt;
|api=term&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the location of the cursor on screen.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the location of the cursor on screen.&lt;br /&gt;
|code=print( term.getCursorPos() )&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Download&amp;diff=4554</id>
		<title>Download</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Download&amp;diff=4554"/>
				<updated>2012-12-04T10:16:39Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4547 by 200.230.182.130 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== You can download the latest version of ComputerCraft [http://www.minecraftforum.net/topic/892282- here]. ===&lt;br /&gt;
&lt;br /&gt;
==Changelog:==&lt;br /&gt;
&lt;br /&gt;
{{Changelog}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lists]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Computer&amp;diff=4540</id>
		<title>Computer</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Computer&amp;diff=4540"/>
				<updated>2012-12-04T07:36:45Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: No need to be capitalized.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Computer_w_DiskDrive_w_Monitor.png|frame|428x241px|right|A 2x2 [[Monitor]], connected to a [[Computer]], with a [[Disk Drive]] connected.]]&lt;br /&gt;
The Computer (pictured) is the main block of ComputerCraft. From the Computer, you will be able to make programs, turn on and off Redstone, use Rednet and interface with bundled cables from RedPower, play games, and much more. The Computer runs an OS called [[CraftOS]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Blocks]]&lt;br /&gt;
[[Category:Consoles]]&lt;br /&gt;
== Recipe ==&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=stone |B1=stone      |C1=stone&lt;br /&gt;
 |A2=stone |B2=Redstone   |C2=stone&lt;br /&gt;
 |A3=stone |B3=glass_pane |C3=stone&lt;br /&gt;
 |Output=Computer&lt;br /&gt;
 }}&lt;br /&gt;
== Usage ==&lt;br /&gt;
Place the Computer wherever you please, and just right click it to use.&lt;br /&gt;
&lt;br /&gt;
== Keyboard Shortcuts ==&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Shortcut&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Usage&lt;br /&gt;
|-&lt;br /&gt;
|{{Keypress|key=CTRL}} + {{Keypress|key=T}}&lt;br /&gt;
|Terminates the current program.&lt;br /&gt;
|-&lt;br /&gt;
|{{Keypress|key=CTRL}} + {{Keypress|key=R}}&lt;br /&gt;
|Reboots the console.&lt;br /&gt;
|-&lt;br /&gt;
|{{Keypress|key=CTRL}} + {{Keypress|key=S}}&lt;br /&gt;
|Forcefully shuts down the computer.&lt;br /&gt;
|}&lt;br /&gt;
NOTE: You have to hold the keyboard shortcuts down for at least 1 second!&lt;br /&gt;
&lt;br /&gt;
== Peripheral Functions ==&lt;br /&gt;
'''''computer'' stands for the variable you wrapped the computer to.'''&lt;br /&gt;
''Example:'' computer = peripheral.wrap( &amp;quot;top&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;210px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|computer.turnOn()&lt;br /&gt;
|Turns on the Computer or Turtle.&lt;br /&gt;
|-&lt;br /&gt;
|computer.shutdown()&lt;br /&gt;
|Shuts off the Computer or Turtle.&lt;br /&gt;
|-&lt;br /&gt;
|computer.reboot()&lt;br /&gt;
|Reboots the Computer or Turtle.&lt;br /&gt;
|-&lt;br /&gt;
|computer.getID()&lt;br /&gt;
|Gets the ID of the Computer or Turtle.&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=OS_(API)&amp;diff=4537</id>
		<title>OS (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=OS_(API)&amp;diff=4537"/>
				<updated>2012-12-04T07:21:41Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 4536 by 92.231.204.8 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Operating System API allows for interfacing with the Lua based Operating System itself.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td colspan=&amp;quot;2&amp;quot; style=&amp;quot;font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid #C9C9C9 1px; background: #D3FFC2; line-height:28px;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Grid_disk.png|24px]]&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
OS (API)&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;width: 350px; background: #E0E0E0; padding: .4em; font-weight:bold;&amp;quot;&amp;gt;Method Name&amp;lt;/td&amp;gt;&amp;lt;td style=&amp;quot;background: #E0E0E0; padding: .4em; font-weight:bold;&amp;quot;&amp;gt;Description&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #FFFFFF;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.version]]()&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Returns the version of the OS the computer is running.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #E8E8E8;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.getComputerID]]()&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Returns the unique ID of this computer. [[os.computerID]]() also behaves exactly the same as [[os.getComputerID]]().&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #FFFFFF;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.getComputerLabel]]()&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Returns the label of this computer.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #E8E8E8;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.setComputerLabel]]( label )&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Set the label of this computer.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #FFFFFF;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.run]]( environment, programpath, arguments )&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;An advanced way of starting programs. A started program will have a given &amp;lt;var&amp;gt;environment&amp;lt;/var&amp;gt; table which determines what functions it has available, as well as any variables it will be able to access by default. You may prefer to use the [[Shell (API)]] unless you need to do something special.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #E8E8E8;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[#api|os.loadAPI]]( name )&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Loads a Lua script as an API in it's own namespace (see example). It will be available to '''all''' programs that run on the terminal.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #FFFFFF;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[#api|os.unloadAPI]]( name )&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Unloads a previously loaded API.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #E8E8E8;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[Os.pullEvent|os.pullEvent]]( target-event )&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Blocks until the computer receives an event, or if &amp;lt;var&amp;gt;target-event&amp;lt;/var&amp;gt; is specified, will block until an instance of &amp;lt;var&amp;gt;target-event&amp;lt;/var&amp;gt; occurs. [[Os.pullEvent|os.pullEvent]]( target-event ) returns the event and any parameters the event may have. If a &amp;lt;var&amp;gt;target-event&amp;lt;/var&amp;gt; is specified, the computer will not break for any other events (except termination).&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #FFFFFF;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[#pullEvent|os.pullEventRaw]]()&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Advanced version of pullEvent(). [[#pullEvent|os.pullEventRaw]]() will block until an event occurs, and then returns the event (any any parameters the event may have). Unlike [[Os.pullEvent|os.pullEvent]]( target-event ), this function will not break for system events, and can be used to handle termination events.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #E8E8E8;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.queueEvent]]( event, param1, param2, ... )&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Adds an event to the event queue with the name &amp;lt;var&amp;gt;event&amp;lt;/var&amp;gt; and the given parameters&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #FFFFFF;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.clock]]()&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Returns CPU time.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #E8E8E8;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.startTimer]]( timeout )&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Queues an event to be triggered after a number of seconds (&amp;lt;var&amp;gt;timeout&amp;lt;/var&amp;gt;). The ID of the timer is returned from this function to differentiate multiple timers. Timers are one-shot; once they have fired an event you will need to start another one if you need a recurring timer.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #FFFFFF;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.sleep]]( timeout )&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Makes the system wait a number of seconds before continuing in the program. [[os.sleep]]( timeout ) may also be used as simply &amp;quot;sleep( timeout )&amp;quot;.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #E8E8E8;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.time]]()&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Returns the current Minecraft world time.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #FFFFFF;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.setAlarm]]( time )&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Queues an event to be triggered at the specified Minecraft world &amp;lt;var&amp;gt;time&amp;lt;/var&amp;gt;.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #E8E8E8;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.shutdown]]()&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Turns off the computer.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #FFFFFF;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[os.reboot]]()&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Reboots the computer.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;br /&gt;
&lt;br /&gt;
== API ==&lt;br /&gt;
&lt;br /&gt;
API are programs which are loaded in to the OS itself, and expose functions which other programs may use. The stock [[:Category:APIs|APIs]] that ship with ComputerCraft are loaded in this way, and may be replaced by a computer's user or programs.&lt;br /&gt;
&lt;br /&gt;
The following is an example of a valid implementation of an API, and, it's usage after being registered:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  -- &amp;quot;apiTest&amp;quot; file&lt;br /&gt;
  function foo(bar)&lt;br /&gt;
    print(bar)&lt;br /&gt;
  end&lt;br /&gt;
  &lt;br /&gt;
  -- &amp;quot;program&amp;quot; file&lt;br /&gt;
  os.loadAPI(&amp;quot;apiTest&amp;quot;)&lt;br /&gt;
  apiTest.foo(&amp;quot;this is a test&amp;quot;)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== &amp;lt;div id=&amp;quot;pullEvent&amp;quot;&amp;gt;os.pullEvent()&amp;lt;/div&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
os.pullEvent() causes the current program to pause, retrieving the next event from the computer's queue of events. If there is no event to read, then the program will stall until such an event becomes available. Note that if a program has not attempted to pull an event in the past ten seconds, it will be forcefully terminated to prevent CPU waste in SMP environments.&lt;br /&gt;
&lt;br /&gt;
os.pullEvent() returns the name of the event that was read, as well as up to five parameters:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
local event, p1, p2, p3, p4, p5 = os.pullEvent()&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
os.pullEvent() is usually run inside a 'while true do' loop.&lt;br /&gt;
&lt;br /&gt;
An advanced version of this method &amp;lt;code&amp;gt;os.pullEventRaw&amp;lt;/code&amp;gt; bypasses the normal handling of events from the OS. You may use this to act on the &amp;quot;Terminate&amp;quot; event (triggered when holding Ctrl-T) for custom termination logic.&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User_talk:Thesbros&amp;diff=4474</id>
		<title>User talk:Thesbros</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User_talk:Thesbros&amp;diff=4474"/>
				<updated>2012-12-02T13:19:28Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;IRC Bot test&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=4179</id>
		<title>Turtle</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=4179"/>
				<updated>2012-11-30T10:46:33Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{NeedsWork|This document is pending revision by [[User:AfterLifeLochie|AfterLifeLochie]]. '''Please do not remove this notice without checking the entire document first.'''}}&lt;br /&gt;
&lt;br /&gt;
'''Turtles''' are essentially robots, and were added in the 1.3 update. They run an OS (like the [[Console|consoles]]) named [[TurtleOS]]. They have the ability to place, break and detect blocks, move around and drop items in their inventory. The programs they run are stored on its internal memory or [[Floppy Disk|floppy disks]].&lt;br /&gt;
&lt;br /&gt;
The 1.4 update was focused on turtles and added new tools for them to use. Turtles can now in addition to pickaxes use: Hoes, crafting tables, axes, shovels and sword. The update also included a new fuel system for the turtles. Turtles also got an inventory upgrade from 9 slots to 16.&lt;br /&gt;
&lt;br /&gt;
Turtles are submersible and lavaproof. As such, they are extremely useful for mining near bedrock, where heavy lava flows can prevent access to diamonds and other rare finds.&lt;br /&gt;
&lt;br /&gt;
If you would like to know more about how to program them, have a look at the [[Turtle (API)|Turtle API]].&lt;br /&gt;
&lt;br /&gt;
==Floppy Disks==&lt;br /&gt;
Turtles do not have a built-in floppy drive. As such they need a floppy drive placed beside them to access disks. However if the turtle is a Wireless turtle, the floppy drive and other peripherals must be placed on a side other than the side the wireless modem is on.&lt;br /&gt;
&lt;br /&gt;
==Power source==&lt;br /&gt;
Turtles run on fuel. Fuel is any item that works in a regular furnace, like coal and lava. The turtle gains 0.6 movement per half second the fuel would have burnt in a furnace.&lt;br /&gt;
The turtle can move 1 block for each fuel count it has, for example, coal yields 96 block movements. For more information, go to the [[Turtle.refuel]] page.&lt;br /&gt;
&lt;br /&gt;
=== Optional Non-fuel mode ===&lt;br /&gt;
&lt;br /&gt;
In this mode turtles use their internal redstone engine, they do not need to be re-charged, or any other form of external power.&lt;br /&gt;
This is because redstone continuously emits low levels of energy, and the turtle's engine is very efficient.&lt;br /&gt;
This mode can be turned on by editing the turtle config file  (config/mod_CCTurtle.cfg) and setting turtleNeedsFuel to 0.&lt;br /&gt;
&lt;br /&gt;
==Farming==&lt;br /&gt;
Turtles equipped with a hoe can till dirt so it can later be used for farming.&lt;br /&gt;
An example of a use for this would be using it to till, plant, and harvest your wheat farm and dropping product in a chest for you.&lt;br /&gt;
For example, if a farm three wheat, then, it will drop a chest and I will get three wheat in the chest&lt;br /&gt;
&lt;br /&gt;
==Mining==&lt;br /&gt;
Turtles crafted with a [[diamond pickaxe]], [[diamond axe]], or [[diamond shovel]], can break blocks, mine wood, and even break dirt and gravel, depending on the tool you used on it. The tools equipped on the turtle have no durability, and so can be used indefinitely without the need for any additional materials. When a turtle breaks the block it gets the item directly into its inventory. Different tools yields different drop, for example, an axe can break anything, but it won't get ores.&lt;br /&gt;
&lt;br /&gt;
==Crafting==&lt;br /&gt;
Turtles with a crafting table can craft items if they have the correct materials to do so.&lt;br /&gt;
&lt;br /&gt;
==Melee==&lt;br /&gt;
Turtles equipped with a sword can attack players and mobs. When a turtle kills a mob it will leave the experience orbs on the ground, but add the loot to its inventory. Turtles can also attack with any tool, where the axe is the second best after the sword.&lt;br /&gt;
&lt;br /&gt;
==Recipes==&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|+'''Crafting ingredients'''&lt;br /&gt;
|-&lt;br /&gt;
|Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=iron_ingot |B1=iron_ingot |C1=iron_ingot&lt;br /&gt;
 |A2=iron_ingot |B2=console    |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest      |C3=iron_ingot&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
Turtles can be equipped with different peripherals and tools. A turtle can only have one tool and one peripheral.&lt;br /&gt;
&amp;lt;br&amp;gt;The following tools can be equipped to a turtles: [[diamond pickaxe]], [[diamond axe]], [[diamond shovel]], [[diamond hoe]] and [[diamond sword]]&lt;br /&gt;
&amp;lt;br&amp;gt;The following peripherals can be equipped to a turtles: [[modem|wireless modem]] and [[crafting table]].&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;'''Turtle recipe and examples for equipping a turtle with tools and peripherals.'''&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0|&amp;quot; style=&amp;quot;text-align: center&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;100px&amp;quot;|&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Crafty&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Wireless&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |None&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle&lt;br /&gt;
 |Output=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=workbench&lt;br /&gt;
 |Output=Crafty_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=modem&lt;br /&gt;
 |Output=wireless_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Mining&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=Crafty_Mining_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=wireless_mining_turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Farming&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Crafty_Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Wireless_Farming_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Melee&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Crafty_Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Wireless_Melee_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Felling&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Crafty_Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Wireless_Felling_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Digging&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=workbench |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Crafty_Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Wireless_Digging_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; |Crafty&lt;br /&gt;
|See Above&lt;br /&gt;
|N/A&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A2=modem |B2=turtle |C2=workbench&lt;br /&gt;
 |Output=Wireless_Crafty_Turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Blocks]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Advanced_Computer&amp;diff=3797</id>
		<title>Advanced Computer</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Advanced_Computer&amp;diff=3797"/>
				<updated>2012-11-19T16:50:41Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:AdvancedComputerPaint.png|frame|right|An advanced computer running Paint, an exclusive program]]The advanced computer is a [[computer]] that has mouse and colour API support. More exclusive features may be added in another update. They resemble the traditional computer console, but are golden coloured to match their crafting [[recipes|recipe]].&lt;br /&gt;
==Recipe==&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot    |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=redstone_dust |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=glass_pane    |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Computer&lt;br /&gt;
 }}&lt;br /&gt;
==Exclusive Functions==&lt;br /&gt;
* term.setTextColour(colours._color)&lt;br /&gt;
* term.setBackgroundColour(colours._color)&lt;br /&gt;
* (where _color is the color, like blue.)&lt;br /&gt;
NOTE: English from the US uses &amp;quot;colors&amp;quot;, while any other English uses &amp;quot;colours&amp;quot;.&lt;br /&gt;
[[Category:Blocks]]&lt;br /&gt;
[[Category:Consoles]]&lt;br /&gt;
&lt;br /&gt;
==Exclusive Programs &amp;amp; APIs==&lt;br /&gt;
*[[Paint]]&lt;br /&gt;
*[[paintutils]] (API)&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Getting_Started&amp;diff=3759</id>
		<title>Getting Started</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Getting_Started&amp;diff=3759"/>
				<updated>2012-11-15T08:59:05Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 3758 by 83.23.227.78 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Prerequisite: Installing the mods ==&lt;br /&gt;
'''It is very important to read everything carefully before asking questions.'''&lt;br /&gt;
'''Also, the latest version of this mod may not be compatible with the current Minecraft release.'''&lt;br /&gt;
&lt;br /&gt;
# Install [http://jenkins.minecraftforge.net/job/forge/forge-recommended/ Minecraft Forge Recommended Build]&lt;br /&gt;
# Download the latest version of [http://computercraft.info ComputerCraft]&lt;br /&gt;
# Copy OR extract the .zip file into *minecraft folder*\mods\. (Tip: If on Windows, on the main screen of Minecraft, go to 'Texture Packs' and click on 'Open texture pack folder'. Go up one folder, there's your Minecraft folder. If on Mac, open Finder, hit Command+Shift+G and type ~/Library/ then hit enter, open 'Application Support' then open 'minecraft')&lt;br /&gt;
&amp;lt;!-- Both the zip or folder work. Please do not edit this without proof.  --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Step 1: Crafting your first console ==&lt;br /&gt;
The recipe is simple:&amp;lt;br /&amp;gt;&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
|A1=stone |B1=stone      |C1=stone&lt;br /&gt;
|A2=stone |B2=redstone   |C2=stone&lt;br /&gt;
|A3=stone |B3=glass pane |C3=stone&lt;br /&gt;
|Output=console&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Right click on the console to use it.&amp;lt;br /&amp;gt;&lt;br /&gt;
Some important keys to remember:&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Shortcut&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Usage&lt;br /&gt;
|-&lt;br /&gt;
|CTRL + T&lt;br /&gt;
|Closes the current program.&lt;br /&gt;
|-&lt;br /&gt;
|CTRL + R&lt;br /&gt;
|Reboots the console.&lt;br /&gt;
|-&lt;br /&gt;
|CTRL + S&lt;br /&gt;
|Forcefully shuts down the computer.&lt;br /&gt;
|}&lt;br /&gt;
NOTE: You have to hold the keyboard shortcuts down for at least 1 second!&amp;lt;br /&amp;gt;&lt;br /&gt;
These are forced (CTRL+T can be disabled by a program).&lt;br /&gt;
&lt;br /&gt;
== Step 2: Wiring it all up ==&lt;br /&gt;
The console accepts many forms of redstone. For simple structures, such as a password protected door, only a single line of redstone is needed.&lt;br /&gt;
However, this mod can do much more. If you need to connect multiple wires to one side, you can just use RedPower's cables. &lt;br /&gt;
&lt;br /&gt;
== Step 3: Programming your system ==&lt;br /&gt;
If you've programmed anything before this shouldn't be hard. It'll feel very comfortable.&lt;br /&gt;
&lt;br /&gt;
NOTE: You may also want to make a [[Floppy Disk]] or two to use along with your machine&lt;br /&gt;
&lt;br /&gt;
Type&lt;br /&gt;
edit &amp;lt;filename&amp;gt;&lt;br /&gt;
in the terminal to open the included feature-rich &amp;lt;!-- Save and exit!!! --&amp;gt; text editor. To get the hang of Lua if you're new, use&lt;br /&gt;
 edit /rom/programs/hello&lt;br /&gt;
to view the code of a simple program 'hello'.&lt;br /&gt;
&lt;br /&gt;
Navigating is easy.&lt;br /&gt;
 &amp;gt; ls&lt;br /&gt;
 rom&lt;br /&gt;
 &amp;gt; cd rom&lt;br /&gt;
 rom&amp;gt; ls&lt;br /&gt;
 apis   help   programs&lt;br /&gt;
 startup&lt;br /&gt;
 rom&amp;gt; cd programs&lt;br /&gt;
 rom/programs&amp;gt; cd /&lt;br /&gt;
 &amp;gt;&lt;br /&gt;
To say it in English: ls '''l'''i'''s'''ts the files and folders in a directory, while cd changes the '''c'''urrent '''d'''irectory. '''/''' is the root of the computer.&lt;br /&gt;
&lt;br /&gt;
== Step 4: Test it ==&lt;br /&gt;
Make sure that your program is bug-proof before using it as something important. A system controlling the state of an IndustrialCraft² Mark-III Nuclear Reactor to prevent it from overheating shouldn't crash every now and then with &amp;quot;Too long without yielding&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Step 5: Extend it ==&lt;br /&gt;
Give back your part to the community. Help others on the forums or improve the wiki. Or, make your own OS or shell to run on the computers and share it with everybody. You can even create your own peripheral blocks using the API to create even a bigger system. A mainframe, for example.&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Advanced_Monitor&amp;diff=3752</id>
		<title>Advanced Monitor</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Advanced_Monitor&amp;diff=3752"/>
				<updated>2012-11-14T13:26:17Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Advanced Monitor is a new, improved version of the [[monitor]]. It has the ability to show coloured text and programs on the screen. It is also golden colored on it's sides, similar to the  [[advanced computer]]. For available colors, see [http://computercraft.info/wiki/index.php?title=Colors Colors API].&lt;br /&gt;
==Recipe==&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot    |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=redstone_dust |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=glass_pane    |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Monitor&lt;br /&gt;
 }}&lt;br /&gt;
==Using an Advanced Monitor==&lt;br /&gt;
''See [[Peripheral (API)#Monitor|Peripheral (API)]] for more details.''&lt;br /&gt;
&lt;br /&gt;
To use an Advanced Monitor, you need to call a method using the Peripheral API. This is one example:&lt;br /&gt;
&lt;br /&gt;
 peripheral.call(&amp;quot;side&amp;quot;, &amp;quot;function&amp;quot;, var1, var2, ...)&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 peripheral.call(&amp;quot;top&amp;quot;, &amp;quot;write&amp;quot;, &amp;quot;Hello World!&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
You can also &amp;quot;wrap&amp;quot; the peripheral side to a variable:&lt;br /&gt;
&lt;br /&gt;
 local monitor = peripheral.wrap(&amp;quot;top&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Now, you can call functions that way.&lt;br /&gt;
&lt;br /&gt;
 monitor.write(&amp;quot;Hello World!&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
There are two new functions (four including the british-spelled color (colour)):&lt;br /&gt;
&lt;br /&gt;
[[term.setTextColor|setTextColor]]([[color (API)|(color)]])&lt;br /&gt;
&lt;br /&gt;
[[term.setBackgroundColor|setBackgroundColor]]([[color (API)|(color)]])&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Advanced_Monitor&amp;diff=3751</id>
		<title>Advanced Monitor</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Advanced_Monitor&amp;diff=3751"/>
				<updated>2012-11-14T13:25:21Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Advanced Monitor is a new, improved version of the [[monitor]]. It has the ability to show coloured text and programs on the screen. It is also golden colored on it's sides, similar to the  [[advanced computer]]. For available colors, see [http://computercraft.info/wiki/index.php?title=Colors Colors API].&lt;br /&gt;
==Recipe==&lt;br /&gt;
{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot    |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=redstone_dust |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=glass_pane    |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Monitor&lt;br /&gt;
 }}&lt;br /&gt;
==Using an Advanced Monitor==&lt;br /&gt;
''See [[Peripheral (API)#Monitor|Peripheral (API)]] for more details.''&lt;br /&gt;
&lt;br /&gt;
To use an Advanced Monitor, you need to call a method using the Peripheral API. This is one example:&lt;br /&gt;
&lt;br /&gt;
 peripheral.call(&amp;quot;side&amp;quot;, &amp;quot;function&amp;quot;, var1, var2, ...)&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
 peripheral.call(&amp;quot;top&amp;quot;, &amp;quot;write&amp;quot;, &amp;quot;Hello World!&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
You can also &amp;quot;wrap&amp;quot; the peripheral side to a variable:&lt;br /&gt;
&lt;br /&gt;
 local monitor = peripheral.wrap(&amp;quot;top&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Now, you can call functions that way.&lt;br /&gt;
&lt;br /&gt;
 monitor.write(&amp;quot;Hello World!&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
There are four new functions:&lt;br /&gt;
&lt;br /&gt;
[[term.setTextColor|setTextColor]]([[color (API)|(color)]])&lt;br /&gt;
&lt;br /&gt;
[[term.setTextColour|setTextColour]]([[colour (API)|(colour)]])&lt;br /&gt;
&lt;br /&gt;
[[term.setBackgroundColor|setBackgroundColor]]([[color (API)|(color)]])&lt;br /&gt;
&lt;br /&gt;
[[term.setBackgroundColour|setBackgroundColour]]([[colour (API)|(colour)]])&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Main_Page&amp;diff=3630</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Main_Page&amp;diff=3630"/>
				<updated>2012-11-05T14:41:53Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: :)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#redirect [[ComputerCraft Wiki - Home]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:HTTP_(API)&amp;diff=3628</id>
		<title>Talk:HTTP (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:HTTP_(API)&amp;diff=3628"/>
				<updated>2012-11-05T14:28:31Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;mod_ComputerCraft.cfg is located in .minecraft/config&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
At least for client side it is. Does this file generate server side? (I can get this to work client side, but when playing multiplayer on a server, it's not enabled) &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:96.236.138.19|96.236.138.19]] ([[User talk:96.236.138.19|talk]] • [[Special:Contributions/96.236.138.19|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:This must be enabled on the server. You can find the config in mods/ComputerCraft in the Server Folder.&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:77.165.144.76|77.165.144.76]] ([[User talk:77.165.144.76|talk]] • [[Special:Contributions/77.165.144.76|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== HTTP API ==&lt;br /&gt;
&lt;br /&gt;
Is there a way to make it so that this function can be used by a certain rank such as donor, without having to resort to making computercraft donor only?&lt;br /&gt;
Do you mean like have it so only a certain rank (like with PermissionsEX?) can use the HTTP API? &amp;lt;br /&amp;gt;If so, that's not possible without the ComputerCraft code. (on server-side) --[[User:Thesbros|Thesbros]] 18:27, 5 November 2012 (MSK)&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:HTTP_(API)&amp;diff=3627</id>
		<title>Talk:HTTP (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:HTTP_(API)&amp;diff=3627"/>
				<updated>2012-11-05T14:27:44Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;mod_ComputerCraft.cfg is located in .minecraft/config&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
At least for client side it is. Does this file generate server side? (I can get this to work client side, but when playing multiplayer on a server, it's not enabled) &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:96.236.138.19|96.236.138.19]] ([[User talk:96.236.138.19|talk]] • [[Special:Contributions/96.236.138.19|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:This must be enabled on the server. You can find the config in mods/ComputerCraft in the Server Folder.&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:77.165.144.76|77.165.144.76]] ([[User talk:77.165.144.76|talk]] • [[Special:Contributions/77.165.144.76|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== HTTP API ==&lt;br /&gt;
&lt;br /&gt;
Is there a way to make it so that this function can be used by a certain rank such as donor, without having to resort to making computercraft donor only?&lt;br /&gt;
   Do you mean like have it so only a certain rank (like with PermissionsEX?) can use the HTTP API? &amp;lt;br /&amp;gt;If so, that's not possible without the ComputerCraft code. (on server-side) --[[User:Thesbros|Thesbros]] 18:27, 5 November 2012 (MSK)&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:HTTP_(API)&amp;diff=3626</id>
		<title>Talk:HTTP (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:HTTP_(API)&amp;diff=3626"/>
				<updated>2012-11-05T14:27:32Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;mod_ComputerCraft.cfg is located in .minecraft/config&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
At least for client side it is. Does this file generate server side? (I can get this to work client side, but when playing multiplayer on a server, it's not enabled) &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:96.236.138.19|96.236.138.19]] ([[User talk:96.236.138.19|talk]] • [[Special:Contributions/96.236.138.19|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:This must be enabled on the server. You can find the config in mods/ComputerCraft in the Server Folder.&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:77.165.144.76|77.165.144.76]] ([[User talk:77.165.144.76|talk]] • [[Special:Contributions/77.165.144.76|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== HTTP API ==&lt;br /&gt;
&lt;br /&gt;
Is there a way to make it so that this function can be used by a certain rank such as donor, without having to resort to making computercraft donor only?&lt;br /&gt;
   Do you mean like have it so only a certain rank (like with PermissionsEX?) can use the HTTP API? If so, that's not possible without the ComputerCraft code. (on server-side) --[[User:Thesbros|Thesbros]] 18:27, 5 November 2012 (MSK)&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:HTTP_(API)&amp;diff=3625</id>
		<title>Talk:HTTP (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:HTTP_(API)&amp;diff=3625"/>
				<updated>2012-11-05T14:27:06Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;quot;mod_ComputerCraft.cfg is located in .minecraft/config&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
At least for client side it is. Does this file generate server side? (I can get this to work client side, but when playing multiplayer on a server, it's not enabled) &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:96.236.138.19|96.236.138.19]] ([[User talk:96.236.138.19|talk]] • [[Special:Contributions/96.236.138.19|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:This must be enabled on the server. You can find the config in mods/ComputerCraft in the Server Folder.&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:77.165.144.76|77.165.144.76]] ([[User talk:77.165.144.76|talk]] • [[Special:Contributions/77.165.144.76|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== HTTP API ==&lt;br /&gt;
&lt;br /&gt;
Is there a way to make it so that this function can be used by a certain rank such as donor, without having to resort to making computercraft donor only?&lt;br /&gt;
 Do you mean like have it so only a certain rank (like with PermissionsEX?) can use the HTTP API? If so, that's not possible without the ComputerCraft code. (on server-side) --[[User:Thesbros|Thesbros]] 18:27, 5 November 2012 (MSK)&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Main_Page&amp;diff=3621</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Main_Page&amp;diff=3621"/>
				<updated>2012-11-05T06:43:18Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Hi there spambot.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#redirect [[ComputerCraft Wiki - Home]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Peripheral_(API)&amp;diff=3611</id>
		<title>Peripheral (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Peripheral_(API)&amp;diff=3611"/>
				<updated>2012-11-04T12:31:32Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: /* Monitor */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The peripheral API is for interacting with external [http://en.wikipedia.org/wiki/Peripheral peripherals], such as the disk drive and monitor.&amp;lt;br /&amp;gt;&lt;br /&gt;
[[Console|Consoles]] and [[Turtle|Turtles]] are also considered peripherals and you can interface two adjacent computers, although in a more limited fashion compared to [[Rednet (API)|rednet]]. Both Computers and Turtles provide the same methods: ''turnOn'', ''shutdown'', ''reboot'', ''getID''.&lt;br /&gt;
&lt;br /&gt;
==Methods==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;210px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|[[peripheral.isPresent]]( side )&lt;br /&gt;
|Returns '''true''' if a peripheral is present on ''side''.&lt;br /&gt;
|-&lt;br /&gt;
|[[peripheral.getType]]( side )&lt;br /&gt;
|Returns the type or peripheral present on ''side'', nothing returned if ''side'' is empty.&lt;br /&gt;
|-&lt;br /&gt;
|[[peripheral.getMethods]]( side )&lt;br /&gt;
|Returns a table containing all methods for peripheral on ''side''.&lt;br /&gt;
|-&lt;br /&gt;
|[[peripheral.call]]( side, methodName, param1, param2, ... )&lt;br /&gt;
|Sends a function call to peripheral located on ''side''. Return values match those of called method.&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Note:''' ''methodName'' is a string.&lt;br /&gt;
|-&lt;br /&gt;
|[[peripheral.wrap]]( side )&lt;br /&gt;
|Returns a handle to the peripheral located on ''side''. If assigned to a variable, it can be used to call all methods available from that peripheral, as if calling '''peripheral.call()''', e.g.:&amp;lt;br /&amp;gt;&lt;br /&gt;
m = [[peripheral.wrap]](&amp;quot;left&amp;quot;)&amp;lt;br /&amp;gt;&lt;br /&gt;
m.someMethod()&amp;lt;br /&amp;gt;&lt;br /&gt;
''- is the same as -''&amp;lt;br /&amp;gt;&lt;br /&gt;
[[peripheral.call]](&amp;quot;left&amp;quot;,&amp;quot;someMethod&amp;quot;)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;210px&amp;quot;|Event name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Parameters&lt;br /&gt;
|-&lt;br /&gt;
|peripheral&lt;br /&gt;
|Fired when peripheral is attached&lt;br /&gt;
|side&lt;br /&gt;
|-&lt;br /&gt;
|peripheral_detach&lt;br /&gt;
|Fired when peripheral is removed&lt;br /&gt;
|side&lt;br /&gt;
|}&lt;br /&gt;
==Monitor==&lt;br /&gt;
List of methods:&lt;br /&gt;
&lt;br /&gt;
'''''monitor'' stands for the variable you wrapped the monitor to.'''&lt;br /&gt;
''Example:'' monitor = peripheral.wrap( &amp;quot;top&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;210px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|[[term.write|''monitor''.write]]()&lt;br /&gt;
|Write to the Monitor's screen.&lt;br /&gt;
|-&lt;br /&gt;
|[[term.scroll|''monitor''.scroll]]( n )&lt;br /&gt;
|Scrolls the monitor screen.&lt;br /&gt;
|-&lt;br /&gt;
|[[term.setCursorPos|''monitor''.setCursorPos]]( x, y )&lt;br /&gt;
|Sets the cursor position on the Monitor.&lt;br /&gt;
|-&lt;br /&gt;
|[[term.setCursorBlink|''monitor''.setCursorBlink]]( b )&lt;br /&gt;
|Enables or disables cursor blinking.&lt;br /&gt;
|-&lt;br /&gt;
|[[term.getCursorPos|''monitor''.getCursorPos]]()&lt;br /&gt;
|Returns two arguments containing the x and the y position of the cursor on the Monitor.&lt;br /&gt;
|-&lt;br /&gt;
|[[term.getSize|''monitor''.getSize]]()&lt;br /&gt;
|Returns two arguments containing the x and the y values stating the size of the Monitor. &lt;br /&gt;
|-&lt;br /&gt;
|[[term.clear|''monitor''.clear]]()&lt;br /&gt;
|Clears the Monitor.&lt;br /&gt;
|-&lt;br /&gt;
|[[term.clearLine|''monitor''.clearLine]]()&lt;br /&gt;
|Clears the line the cursor is on.&lt;br /&gt;
|-&lt;br /&gt;
|''monitor''.setTextScale( scale )&lt;br /&gt;
|Sets the size of the text on the Monitor. Textscale can be between 0.5 and 5.0, with increments of 0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Printer==&lt;br /&gt;
List of methods:&lt;br /&gt;
&lt;br /&gt;
'''''printer'' stands for the variable you wrapped the printer to.'''&lt;br /&gt;
''Example:'' printer = peripheral.wrap( &amp;quot;right&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|''printer''.[[printer.newPage|newPage]]()&lt;br /&gt;
|Starts a new page. Returns true if page got started, false if not.&lt;br /&gt;
|-&lt;br /&gt;
|''printer''.[[printer.endPage|endPage]]()&lt;br /&gt;
|Ends the page and prints the page to the output tray. Returns true if page was ended, false if not.&lt;br /&gt;
|-&lt;br /&gt;
|''printer''.[[printer.write|write]]( text )&lt;br /&gt;
|Writes text to the paper, works the same way as [[term.write()]]&lt;br /&gt;
|-&lt;br /&gt;
|''printer''.[[printer.setPageTitle|setPageTitle]]( text )&lt;br /&gt;
|Sets the title of the page.&lt;br /&gt;
|-&lt;br /&gt;
|''printer''.[[printer.getPaperLevel|getPaperLevel]]()&lt;br /&gt;
|Returns the amount of paper available in the paper tray.&lt;br /&gt;
|-&lt;br /&gt;
|''printer''.[[printer.getInkLevel|getInkLevel]]()&lt;br /&gt;
|Returns the amount of ink in the ink slot.&lt;br /&gt;
|-&lt;br /&gt;
|''printer''.[[printer.getCursorPos|getCursorPos]]()&lt;br /&gt;
|Returns the coordinates of the cursor on the paper, works the same way as [[term.getCursorPos()]]&lt;br /&gt;
|-&lt;br /&gt;
|''printer''.[[printer.setCursorPos|setCursorPos]]( x, y )&lt;br /&gt;
|Sets the cursor pos.&lt;br /&gt;
|-&lt;br /&gt;
|''printer''.[[printer.getPageSize|getPageSize]]()&lt;br /&gt;
|Returns the size of the paper, works the same way as [[term.getSize()]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Computers==&lt;br /&gt;
List of methods:&lt;br /&gt;
&lt;br /&gt;
'''''computer'' stands for the variable you wrapped the computer to.'''&lt;br /&gt;
''Example:'' computer = peripheral.wrap( &amp;quot;top&amp;quot; )&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;210px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|''computer''.turnOn()&lt;br /&gt;
|Turns on the Computer or Turtle.&lt;br /&gt;
|-&lt;br /&gt;
|''computer''.shutdown()&lt;br /&gt;
|Shuts off the Computer or Turtle.&lt;br /&gt;
|-&lt;br /&gt;
|''computer''.reboot()&lt;br /&gt;
|Reboots the Computer or Turtle.&lt;br /&gt;
|-&lt;br /&gt;
|''computer''.getID()&lt;br /&gt;
|Gets the ID of the Computer or Turtle.&lt;br /&gt;
|}&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.select&amp;diff=3610</id>
		<title>Turtle.select</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.select&amp;diff=3610"/>
				<updated>2012-11-04T11:28:13Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Outdated picture&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.select&lt;br /&gt;
|args=[[int (type)|int]] slotNumber (1-16 in ComputerCraft 1.4+, otherwise 1-6)&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean]] whether the slot number specified is greater than nine or not.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to select the specified slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Selects the specified slot&lt;br /&gt;
|code=print(turtle.select(5))&lt;br /&gt;
|output=true&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.select&amp;diff=3609</id>
		<title>Turtle.select</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.select&amp;diff=3609"/>
				<updated>2012-11-04T11:27:17Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: &amp;gt;:(&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.select&lt;br /&gt;
|args=[[int (type)|int]] slotNumber&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean]] whether the slot number specified is greater than nine or not.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to select the specified slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Selects the specified slot&lt;br /&gt;
|code=print(turtle.select(5))&lt;br /&gt;
|output=true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A picture reference[http://i.imgur.com/1BNQH.png]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.back&amp;diff=3608</id>
		<title>Turtle.back</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.back&amp;diff=3608"/>
				<updated>2012-11-04T11:26:25Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Damnit spambots&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.back&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean]] whether the turtle succeeded in moving backwards&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to move the turtle backwards.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Moves the turtle backwards&lt;br /&gt;
|code=print(turtle.back())&lt;br /&gt;
|output=true if the turtle could move backwards, false if there was something in the way&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Stone&amp;diff=3607</id>
		<title>Stone</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Stone&amp;diff=3607"/>
				<updated>2012-11-04T11:25:04Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 3601 by 91.121.27.33 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For more information, please see the offical Minecraft wiki, [http://www.minecraftwiki.net/wiki/Stone here.]&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.digUp&amp;diff=3606</id>
		<title>Turtle.digUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.digUp&amp;diff=3606"/>
				<updated>2012-11-04T11:24:42Z</updated>
		
		<summary type="html">&lt;p&gt;Thesbros: Undo revision 3599 by 91.121.27.33 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.digUp&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean]] whether the turtle succeeded in digging.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to dig the block above of the turtle.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Digs the block above the turtle.&lt;br /&gt;
|code=print(turtle.digUp())&lt;br /&gt;
|output=true if the turtle could dig the block, false if it could not or no block present.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Thesbros</name></author>	</entry>

	</feed>