<?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=Mitterdoo</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=Mitterdoo"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/Special:Contributions/Mitterdoo"/>
		<updated>2026-07-11T06:18:58Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Window&amp;diff=6801</id>
		<title>Window</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Window&amp;diff=6801"/>
				<updated>2014-10-24T00:34:00Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Redirected page to Window (API)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Window (API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Vector&amp;diff=6800</id>
		<title>Vector</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Vector&amp;diff=6800"/>
				<updated>2014-10-24T00:28:25Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Redirected page to Vector (API)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Vector (API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=6799</id>
		<title>Turtle</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle&amp;diff=6799"/>
				<updated>2014-10-24T00:27:49Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Selfref|This is for the turtle block/item. For the API, visit [[Turtle (API)]].}}&lt;br /&gt;
[[File:Turtles.png|thumb]]&lt;br /&gt;
'''Turtles''' and '''Advanced Turtles''' are essentially robots, and were added in the 1.3 update. They run an OS named [[TurtleOS]], similar to [[CraftOS]] for [[Computer]]s. They have the ability to place, break and detect blocks, move around and drop items in their inventory via their access to the [[Turtle_(API)|Turtle API]]. The programs they run are stored in their internal memory, or on [[Floppy Disk|floppy disks]].&lt;br /&gt;
&lt;br /&gt;
The 1.4 update was focused on turtles, and expanded their ability to use tools. Turtles are capable of using pickaxes, hoes, axes, shovels and swords. The update added &amp;quot;Crafty Turtles&amp;quot;, which have the ability to craft using their inventory - and part of this upgrade saw the number of inventory slots in the Turtle raised to 16 from the previous 9 slot inventory. The 1.4 update also included a new [[fuel]] system for the turtles.&lt;br /&gt;
&lt;br /&gt;
The 1.55 update added Advanced Turtles - made of gold, are able to display color, and have mouse input available through their display. Their exterior appearance is also of gold. They're just like [[Advanced Computer|Advanced Computers]], but with a smaller screen.&lt;br /&gt;
&lt;br /&gt;
Prior to 1.6, turtles had to have tools manually attached via crafting. As of that update, they are now also able to swap tools in and out of their inventory at will. That build also brought in caps to the arbitrarily large fuel values turtles could previously store - by default, they are now 20,000 units for regular turtles and 100,000 for advanced.&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;
Keep in mind that when turtles are 'mined', picked up, and placed somewhere else, they will not keep their programs unless they have been given a label. To do so, you simply need to type in &amp;quot;label set ''&amp;lt;labelName&amp;gt;''&amp;quot; at the [[TurtleOS]] prompt.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Floppy Disks and Peripherals==&lt;br /&gt;
Turtles do not have a built-in [[Disk Drive]]. As such, they need a [[Disk Drive]] placed beside them to access [[Floppy Disk|Floppy Disks]]. However, if the Turtle is of the Wireless family, the [[Disk Drive]] (and other peripherals) must be placed on a side other than the side the [[Wireless Modem|wireless modem]] is on. Any other peripherals, such as [[Monitor|Monitors]] and [[Printer|Printers]] can be interacted using the peripheral API.&lt;br /&gt;
&lt;br /&gt;
==Power source==&lt;br /&gt;
Turtles require [[fuel]] to operate - this means Turtles must be powered from any item that works in a regular furnace, like coal and lava. The turtle gains 0.6 &amp;quot;movement&amp;quot; per half second the fuel would have burnt in a furnace. The Turtle can move 1 block for each fuel count it has, for example, coal yields 80 block movements.&lt;br /&gt;
&lt;br /&gt;
=== Optional Non-fuel mode ===&lt;br /&gt;
In this mode, Turtles use their internal Redstone Engine, and as such, they do not need to be re-charged, or receive any other form of external power. This is because Redstone continuously emits low levels of energy, and the Turtle's engine is very efficient. This mode can be turned on by editing [[ComputerCraft.cfg]] and setting &amp;lt;var&amp;gt;turtleNeedsFuel&amp;lt;/var&amp;gt; to &amp;lt;var&amp;gt;false&amp;lt;/var&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Dyeing==&lt;br /&gt;
As of ComputerCraft 1.63 Turtles can be dyed using Dyes. It supports all 16 different colors, so you can have a green Farming Turtle harvesting some melons and a gray Mining Turtle gathering materials and mining ores.&lt;br /&gt;
&lt;br /&gt;
==Farming==&lt;br /&gt;
Turtles equipped with a [[diamond hoe]] can till dirt so it can later be used for Farming. An example of a use for this would be using it to till, plant, and harvest your wheat farm and dropping any product in a chest for you.&lt;br /&gt;
&lt;br /&gt;
==Mining==&lt;br /&gt;
Turtles crafted with a [[diamond pickaxe]], [[diamond axe]], or [[diamond shovel]], can break blocks, chop wood, mine stone and ores, 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, the Turtle receives the item directly into it's inventory. Different tools yield different drops - for example, an axe can break anything, but it won't drop ores.&lt;br /&gt;
&lt;br /&gt;
==Crafting==&lt;br /&gt;
Turtles with a [http://www.minecraftwiki.net/wiki/Crafting_Table Crafting Table] can craft items if they have the correct materials to do so, and all other slots outside the crafting-zone are empty.&lt;br /&gt;
&lt;br /&gt;
==Melee==&lt;br /&gt;
Turtles equipped with a [[diamond 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 [[diamond axe]] is the second best after the [[diamond sword]].&lt;br /&gt;
&lt;br /&gt;
==Inventory Interaction==&lt;br /&gt;
Turtles can interact with blocks that have inventories. This includes chests, furnaces, [[Printer]]s and even blocks with inventories in other mods. (This means a turtle cannot interact with a player's inventory, unless you use a third party peripheral). Turtles can interact with such inventories by using [[Turtle.suck|turtle.suck, turtle.suckDown, turtle.suckUp]] (To retrieve the first item in the inventory. The turtle finds the first item by scanning the first row from left to right, then the second row from left to right, etc). Turtles can also place items inside inventories, by using [[Turtle.drop|turtle.drop, turtle.dropUp, turtle.dropDown]], which places items on the first item slot available (Using the same system as the one described for retrieving items).&lt;br /&gt;
&lt;br /&gt;
In special inventories, with just a few slots on the top or bottom - for example furnaces - you can specify which slot to place an item in by positioning the turtle in the corresponding location to the front face of the inventory. For example in a furnace, you would use a turtle at the bottom of the furnace for it to place fuel in the furnace, a turtle at the top to place objects to smelt, and a turtle to the right to retrieve the smelted objects (Note that you can do this with just 1 turtle moving around).&lt;br /&gt;
&lt;br /&gt;
==Peripheral functions==&lt;br /&gt;
&lt;br /&gt;
Just like a [[Computer]], a Turtle can be [[peripheral.wrap|used]] as a peripheral. You can find all Turtle peripheral functions [[Computer_(API)|here]].&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=Computer   |C2=iron_ingot&lt;br /&gt;
 |A3=iron_ingot |B3=chest      |C3=iron_ingot&lt;br /&gt;
 |Output=turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|Advanced Turtle&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=Computer   |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=chest      |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
Turtles can be equipped with different peripherals and tools. A turtle can only be crafted with one tool and one peripheral, however the crafting table can act as a tool, or peripheral. Turtles may later use [[Turtle.equipLeft|turtle.equipLeft()]] / [[Turtle.equipRight|turtle.equipRight()]] to add, remove or exchange tools in any combination.&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: [[Wireless Modem|wireless modem]] and [[Workbench|crafting tables]].&lt;br /&gt;
&amp;lt;br&amp;gt;Diamond tools must be unused (i.e. not have a durability bar showing) an unenchanted to combine with a turtle.&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 (Note that any variants of the turtle can also be crafted with the Advanced Turtle):'''&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! !! None !! Crafty !! Wireless&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| None&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle&lt;br /&gt;
 |Output=turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=workbench&lt;br /&gt;
 |Output=Crafty_Turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |A2=Modem&lt;br /&gt;
 |Output=wireless_turtle |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Mining&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_pickaxe&lt;br /&gt;
 |Output=mining_turtle |Output-link=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 |Output-link=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 |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Farming&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_hoe&lt;br /&gt;
 |Output=Farming_Turtle |Output-link=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 |Output-link=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 |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Melee&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_sword&lt;br /&gt;
 |Output=Melee_Turtle |Output-link=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 |Output-link=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 |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Felling&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_axe&lt;br /&gt;
 |Output=Felling_Turtle |Output-link=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 |Output-link=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 |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Digging&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B2=turtle |C2=diamond_shovel&lt;br /&gt;
 |Output=Digging_Turtle |Output-link=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 |Output-link=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 |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&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 |Output-link=turtle&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{BlocksItemsList}}&lt;br /&gt;
[[Category:Blocks]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Textutils&amp;diff=6798</id>
		<title>Textutils</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Textutils&amp;diff=6798"/>
				<updated>2014-10-24T00:26:07Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Redirected page to Textutils (API)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Textutils (API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Term&amp;diff=6797</id>
		<title>Term</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Term&amp;diff=6797"/>
				<updated>2014-10-24T00:25:42Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Redirected page to Term (API)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Term (API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Table&amp;diff=6796</id>
		<title>Table</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Table&amp;diff=6796"/>
				<updated>2014-10-24T00:24:38Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Table may refer to:&lt;br /&gt;
* [[Table (API)]] An in-built Lua API designed to manipulate tables.&lt;br /&gt;
* [[Table (type)]] a type that implements associative arrays that can be indexed with any value besides [[Nil|nil]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Disambiguation_Pages]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=CraftOS&amp;diff=6795</id>
		<title>CraftOS</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=CraftOS&amp;diff=6795"/>
				<updated>2014-10-24T00:21:21Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Selfref|This is the article for CraftOS. If you were redirected from Shell and are looking for the API, see [[Shell (API)]]}}&lt;br /&gt;
{{Stub|Needs more info - especially links to other articles.}}&lt;br /&gt;
[[File:2012-01-30_23.02.52.png|frame|right|CraftOS's interface.]]CraftOS is the default ComputerCraft OS. It has a DOS style interface, where you use ls to view programs, cd to move through directories, and type the name of a program to run it.&lt;br /&gt;
&lt;br /&gt;
Its features include...&lt;br /&gt;
*DOS style interface&lt;br /&gt;
*Default; guaranteed to work unlike the others which may break with ComputerCraft updates&lt;br /&gt;
*Do-It-Yourself, allowing you to customize what you want on your OS&lt;br /&gt;
&lt;br /&gt;
[[Category:OSes]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Rs&amp;diff=6794</id>
		<title>Rs</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Rs&amp;diff=6794"/>
				<updated>2014-10-24T00:20:39Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Redirected page to Redstone (API)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Redstone (API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Rednet_(API)&amp;diff=6793</id>
		<title>Rednet (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Rednet_(API)&amp;diff=6793"/>
				<updated>2014-10-24T00:19:53Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''For a tutorial on how to use the API, visit [[Rednet Tutorial]].''&lt;br /&gt;
&lt;br /&gt;
The Rednet API allows systems to communicate between each other without using redstone. It serves as a wrapper for the [[modem (API)|modem API]], offering ease of functionality (particularly in regards to [[Repeat|repeating signals]]) with some expense of fine control. &lt;br /&gt;
&lt;br /&gt;
In order to send and receive data, a [[modem]] (either [[Wired Modem|wired]] or [[Wireless Modem|wireless]]) is required. The data reaches any possible destinations immediately after sending it, but is [[#Range|range limited]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==API==&lt;br /&gt;
{{API table|rednet|image=Grid_disk.png|2=&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[rednet.open]]({{type|string}} side)&lt;br /&gt;
|{{type|nil}}&lt;br /&gt;
|Tells the computer that the side can be used for networking.}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[rednet.close]]({{type|string}} side)&lt;br /&gt;
|{{type|nil}}&lt;br /&gt;
|Tells the computer that the side can no longer be used for networking.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[rednet.send]]({{type|number}} receiverID, {{type|string}} message, [&amp;lt;nowiki/&amp;gt;{{type|string}} protocol])&lt;br /&gt;
|{{type|nil}}&lt;br /&gt;
|Sends a message &amp;quot;intended&amp;quot; for another system with a specific ID, using the currently opened sides. The &amp;lt;var&amp;gt;receiverID&amp;lt;/var&amp;gt; is the ID {{type|number}} (note - '''not''' a {{type|string}}) of the computer you're sending the message to. Later versions or ComputerCraft allow some other data types as the message.}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[rednet.broadcast]]({{type|string}} message, [&amp;lt;nowiki/&amp;gt;{{type|string}} protocol])&lt;br /&gt;
|{{type|nil}}&lt;br /&gt;
|Sends the message to ''all'' connected and open computers.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[rednet.receive]]([&amp;lt;nowiki/&amp;gt; [&amp;lt;nowiki/&amp;gt;{{type|string}} protocolFilter, ] {{type|number}} timeout])&lt;br /&gt;
|{{type|number}} senderID, {{type|string}} message, {{type|number}} distance / {{type|string}} protocol&lt;br /&gt;
|Waits until a rednet message of the specified protocol has been received, or until &amp;lt;var&amp;gt;timeout&amp;lt;/var&amp;gt; seconds have passed. Leave all arguments empty to wait for any message indefinitely. If only a single, numerical argument is passed, will wait that many seconds for a message of any protocol. Versions of ComputerCraft prior to 1.6 may return the distance to the transmitting computer - 1.6 or later returns message protocols instead, though distance can still be obtained via direct use of the [[Modem (API)|Modem API]].}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[rednet.isOpen]]({{type|string}} side)&lt;br /&gt;
|{{type|boolean}} isOpen&lt;br /&gt;
|Returns [[Boolean_(type)|true]] if the wireless modem is open.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[rednet.host]]({{type|string}} protocol, {{type|string}} hostname)&lt;br /&gt;
|{{type|nil}}&lt;br /&gt;
|Registers &amp;lt;var&amp;gt;hostname&amp;lt;/var&amp;gt; against &amp;lt;var&amp;gt;protocol&amp;lt;/var&amp;gt; for the purposes of [[rednet.lookup]](). '''Only available in ComputerCraft 1.6 and above.'''}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[rednet.unhost]]({{type|string}} protocol, {{type|string}} hostname)&lt;br /&gt;
|{{type|nil}}&lt;br /&gt;
|Unregisters &amp;lt;var&amp;gt;hostname&amp;lt;/var&amp;gt; from &amp;lt;var&amp;gt;protocol&amp;lt;/var&amp;gt;. '''Only available in ComputerCraft 1.6 and above.'''&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[rednet.lookup]]({{type|string}} protocol, {{type|string}} hostname)&lt;br /&gt;
|{{type|number}} ID1, {{type|number}} ID2, ...&lt;br /&gt;
|Searches the local network for systems registered with a matching &amp;lt;var&amp;gt;hostname&amp;lt;/var&amp;gt; and/or &amp;lt;var&amp;gt;protocol&amp;lt;/var&amp;gt;, and returns matching IDs found. '''Only available in ComputerCraft 1.6 and above.'''&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[rednet.run]]()&lt;br /&gt;
|{{type|nil}}&lt;br /&gt;
|Internal use function - runs automatically and does not need to be called directly. Waits for [[Modem_message_(event)|modem_message]] events to appear within the event queue and generates corresponding [[Rednet_message_(event)|rednet_message]] events for use with this API. Also responds to [[rednet.lookup]]() requests.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Events==&lt;br /&gt;
{{Event|name=[[rednet_message_(event)|rednet_message]]&lt;br /&gt;
|desc=Fired when a rednet message is received (can be pulled via [[os.pullEvent|os.pullEvent()]] directly as an alternative to using [[rednet.receive|rednet.receive()]]).&lt;br /&gt;
|return1={{type|number}} senderId&lt;br /&gt;
|return2={{type|string}} message&lt;br /&gt;
|return3={{type|number}} distance / {{type|string}} protocol&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Range==&lt;br /&gt;
The range of a wireless network transmission can be determined via the following formula:&lt;br /&gt;
&lt;br /&gt;
 minRange + (position.yCoord - 96.0) * ((maxRange - minRange) / ((world.getHeight() - 1) - 96.0))&lt;br /&gt;
&lt;br /&gt;
Where, by default:&lt;br /&gt;
&lt;br /&gt;
 minRange = 64  (or 16 in a storm)&lt;br /&gt;
 maxRange = 384 (or 96 in a storm)&lt;br /&gt;
 world.getHeight() = 256&lt;br /&gt;
&lt;br /&gt;
Catch is, that formula is quite capable of returning values that are well below 0... More research is required, it seems. Anyway, min/max range figures can be altered in [[ComputerCraft.cfg]], and the maximum range of a system located at world height will generally be equal to the maxRange for the current weather.&lt;br /&gt;
&lt;br /&gt;
Even for the purposes of two-way communications, only the system with the best range is checked - a system located at the bottom of the world may hence send to and receive from a system at the top. Range is calculated in three dimensions, so the area a given system can reach wirelessly is represented by a sphere.&lt;br /&gt;
&lt;br /&gt;
For wired networks, range between devices is 256 blocks of [[Networking_Cable|network cable]] (unconfigurable). Either method of communication works regardless as to whether the intervening chunks are loaded or not.&lt;br /&gt;
&lt;br /&gt;
As of ComputerCraft 1.6, a [[Repeat|repeater script]] is available to all systems by default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Protocols==&lt;br /&gt;
Introduced by ComputerCraft 1.6, &amp;quot;protocols&amp;quot; are simple string names indicating what given messages are about. Receiving systems may filter messages according to their protocols, thereby automatically ignoring incoming messages which don't specify an identical string. It's also possible to [[rednet.lookup|lookup]] which systems in the area are interested in certain protocols, hence making it easier to determine where given messages should be sent in the first place.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
Before the creation of the in-game wireless networking API, the term &amp;quot;Rednet&amp;quot; referred to a system created by a ComputerCraft user based on bundled cables from the popular Minecraft mod [http://www.eloraam.com RedPower]. That also allowed communication between computers, but the data was transferred slowly - every bit was converted to redstone signal (using the [[redstone (API)|redstone API]]) that lasted about 0.05 seconds (the length of a MineCraft &amp;quot;tick&amp;quot;). That system was rendered redundant by the release of ComputerCraft 1.3, as this heralded the arrival of [[Wireless Modem|wireless networking]] to the mod and allowed instant communications between computers.&lt;br /&gt;
&lt;br /&gt;
Later, ComputerCraft 1.51 brought forward [[Wired Modem]]s, which could not only be used for regular network communications, but to interact with [[peripheral]]s remotely.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Security==&lt;br /&gt;
In current versions of ComputerCraft (1.5 or later), Rednet is not to be considered a &amp;quot;secure&amp;quot; method of communication. The identity data indicating who sent a given message is set ''by the sender'', and hence cannot be trusted. Messages intended for a given system may be received and read by any other system in range.&lt;br /&gt;
&lt;br /&gt;
This is because Rednet is simply a convenience wrapper for the [[modem (API)|modem API]], and while it typically sends/receives using channel numbers matching the IDs of systems you control, the latter offers ''complete control'' over channel usage. Another user can hence easily task the modem API directly to sniff and find out what messages a computer is receiving if he knows (or can even guess) its ID, or pretend to send from any ID he wishes.&lt;br /&gt;
&lt;br /&gt;
When using Rednet for anything with security implications, be sure to implement your own methods of protection.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Deprecated Functions==&lt;br /&gt;
{{Deprecated&lt;br /&gt;
|plural=yes&lt;br /&gt;
|type=These functions&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{API table|Term|image=Grid disk.png|2=&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[rednet.announce]]()&lt;br /&gt;
|{{type|nil}}&lt;br /&gt;
|Broadcasts an empty rednet message. Removed from ComputerCraft by version ''1.5'' in favor of [[rednet.broadcast]]()&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Rednet&amp;diff=6792</id>
		<title>Rednet</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Rednet&amp;diff=6792"/>
				<updated>2014-10-24T00:19:02Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Redirected page to Rednet (API)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Rednet (API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Peripheral&amp;diff=6791</id>
		<title>Peripheral</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Peripheral&amp;diff=6791"/>
				<updated>2014-10-24T00:18:16Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Selfref|This is an explanation for a peripheral. For the API, visit [[Peripheral (API)]].}}&lt;br /&gt;
A [[Peripheral]] is a Minecraft block which can be controlled using the [[Peripheral (API)|Peripheral API]]. Sometimes this is the main purpose of the block, e.g. for monitors and printers. Other times, it is merely incidental to the block's main purpose.&lt;br /&gt;
&lt;br /&gt;
== Built-in peripherals ==&lt;br /&gt;
ComputerCraft itself includes some peripherals. Specifically:&lt;br /&gt;
* [[Monitor]]s and [[Advanced Monitor|advanced monitor]]s allow computers to display text in the world.&lt;br /&gt;
* [[Printer]]s allow computers to print text on paper.&lt;br /&gt;
* [[Disk Drive|Disk drive]]s allow computers to access floppy disks.&lt;br /&gt;
* [[Wireless Modem|Wireless]] and [[Wired Modem|wired]] modems allow computers to send messages to each other.&lt;br /&gt;
* [[Computer]]s, [[Advanced Computer|advanced computer]]s, [[Turtle|turtle]]s and [[Turtle|advanced turtle]]s can be turned on and off using the peripheral API.&lt;br /&gt;
&lt;br /&gt;
For a full list of ComputerCraft peripherals, see [[:Category:Peripherals]].&lt;br /&gt;
&lt;br /&gt;
== Mod Peripherals ==&lt;br /&gt;
Many mods add blocks which are peripherals. If this is the main purpose of the mod, it is often called a '''peripheral mod'''. Confusingly, this is sometimes shortened to '''peripheral'''.&lt;br /&gt;
&lt;br /&gt;
Some mods, notably [[OpenPeripheral]], add a peripheral ability to blocks which don't normally have it (such as chests).&lt;br /&gt;
&lt;br /&gt;
See [[:Category:User Created Peripherals]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Disambiguation Pages]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils&amp;diff=6790</id>
		<title>Paintutils</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils&amp;diff=6790"/>
				<updated>2014-10-24T00:17:14Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Redirected page to Paintutils (API)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Paintutils (API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Multishell&amp;diff=6789</id>
		<title>Multishell</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Multishell&amp;diff=6789"/>
				<updated>2014-10-24T00:16:22Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Selfref|This is an explanation for Multishell. For the API, visit [[Multishell (API)]].}}&lt;br /&gt;
{{lowercase}}[[File:Multishell.png|thumb|300px|Multiple instances of multishell may run at at time, producing layers of tabs.]]&lt;br /&gt;
As of ComputerCraft 1.6, '''multishell''' is a script automatically executed on startup by advanced systems. It allows easy use of multiple tabs of processes running on the one unit at the same time. By default, it launches just the one tab, running either [[CraftOS]] or [[TurtleOS]] - at a glance, a system with multishell looks identical to a system without, until such time as multiple tabs are running (at which point a menu bar appears).&lt;br /&gt;
&lt;br /&gt;
Additional tabs may be opened by use of the [[fg]] or [[bg]] commands - supplied with a parameter, they'll launch the specified script in a new tab (in the foreground or background, respectively), or if not, they'll simply launch another shell. You may switch between tabs simply by clicking their titles on the top menu bar. Note that scripts continue to run regardless as to whether they're in the foreground or not.&lt;br /&gt;
&lt;br /&gt;
The multishell system operates by making heavy use of the [[window (API)|window API]] (also introduced by ComputerCraft 1.6). If it is active on a unit, that unit will furthermore have access to the [[multishell (API)|multishell API]] (plus a couple of extra [[shell (API)|shell API]] commands), allowing other scripts to interact with it directly.&lt;br /&gt;
&lt;br /&gt;
Note that the area of the screen taken by up by the menu bar is unavailable to scripts running within tabs. Some scripts may require full screen access to operate correctly - whether or not you'll be ''warned'' of this depends on whether the individual script author considered to [[term.getSize|check the display size]], so bear it in mind.&lt;br /&gt;
&lt;br /&gt;
[[Category:Programs]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Keys&amp;diff=6788</id>
		<title>Keys</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Keys&amp;diff=6788"/>
				<updated>2014-10-24T00:14:18Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Redirected page to Keys (API)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Keys_(API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Io&amp;diff=6787</id>
		<title>Io</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Io&amp;diff=6787"/>
				<updated>2014-10-24T00:13:38Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Redirected page to IO (API)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[IO_(API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Help&amp;diff=6786</id>
		<title>Help</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Help&amp;diff=6786"/>
				<updated>2014-10-24T00:12:59Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Redirected page to Help (API)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Help_(API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Gps&amp;diff=6785</id>
		<title>Gps</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Gps&amp;diff=6785"/>
				<updated>2014-10-24T00:12:06Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Created page with &amp;quot;The term '''Gps''' may refer to: * Gps API Provides a method for turtles and computers to retrieve their own location. * Gps Program A program ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The term '''Gps''' may refer to:&lt;br /&gt;
* [[Gps_(API)|Gps API]] Provides a method for turtles and computers to retrieve their own location.&lt;br /&gt;
* [[Gps_(program)|Gps Program]] A program designed to make use of the positioning capabilities introduced in CC 1.31.&lt;br /&gt;
&lt;br /&gt;
[[Category:Disambiguation_Pages]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Fs&amp;diff=6784</id>
		<title>Fs</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Fs&amp;diff=6784"/>
				<updated>2014-10-24T00:07:55Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: See my recent changes for reasoning&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Fs_(API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Bit&amp;diff=6783</id>
		<title>Bit</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Bit&amp;diff=6783"/>
				<updated>2014-10-24T00:05:23Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: See my recent changes for reasoning&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Bit_(API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Parallel&amp;diff=6782</id>
		<title>Parallel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Parallel&amp;diff=6782"/>
				<updated>2014-10-24T00:03:53Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: I'm recreating these redirect pages. I'm supposing cyclic redirects are endless redirect loops, which will not happen on the page this redirects to. If you think these should be removed, please discuss it with me.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Parallel_(API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Math&amp;diff=6781</id>
		<title>Math</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Math&amp;diff=6781"/>
				<updated>2014-10-24T00:03:42Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: I'm recreating these redirect pages. I'm supposing cyclic redirects are endless redirect loops, which will not happen on the page this redirects to. If you think these should be removed, please discuss it with me.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Math_(API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Os&amp;diff=6780</id>
		<title>Os</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Os&amp;diff=6780"/>
				<updated>2014-10-24T00:01:24Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: I'm recreating these redirect pages. I'm supposing cyclic redirects are endless redirect loops, which will not happen on the page this redirects to. If you think these should be removed, please discuss it with me.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[OS_(API)]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User_talk:AfterLifeLochie&amp;diff=6779</id>
		<title>User talk:AfterLifeLochie</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User_talk:AfterLifeLochie&amp;diff=6779"/>
				<updated>2014-10-22T01:37:17Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: /* Why were API redirects removed? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Another test. Ignore this.&lt;br /&gt;
&lt;br /&gt;
== Why did you revert my changes on the function and example templates? ==&lt;br /&gt;
&lt;br /&gt;
The 24px ones were really small and blurry. --[[Special:Contributions/67.189.72.22|67.189.72.22]] 13:17, 3 December 2012 (MSK)&lt;br /&gt;
* The templates are optimized for screen-readers at present, and are only meant to be a complimentary object. In addition, the files themselves are actually blurry and aren't rendered in high-enough definition. If and when I get FTP access, I can setup a better system than the current one, but the most important point; ''please don't edit live production templates without using a sandbox''. The effects of a template bungle could be a potential eye-sore. ''[[User:AfterLifeLochie|AfterLifeLochie]] 13:22, 3 December 2012 (MSK)''&lt;br /&gt;
&lt;br /&gt;
== APT Minecraft Tekkit window. ==&lt;br /&gt;
&lt;br /&gt;
Lochie, I was viewing your new forum thread on ComputerCraft APT and realised you were running Tekkit. I am glad that not all of the Mod Admins are so hardcoming on the Technic Team. Yours, [[User:Jonjon1234|Jonjon1234]] 15:51, 14 December 2012 (MSK)&lt;br /&gt;
&lt;br /&gt;
== Program Listing? ==&lt;br /&gt;
&lt;br /&gt;
Question for you:  As a rookie to CC, I find it really hard to track down APIs or Programs in the forums for such.  Sites like Turtlescripts have spawned trying to be a better browseable index of programs.&lt;br /&gt;
&lt;br /&gt;
Would it make sense to have a Program Catalog on the site?  I was thinking relatively lightweight, a table with the name, author, summary, current supported version, and a link to the Programs forum thread for it.  Possibly have different sections for the major groupings, such as API, OS, Turtles, etc.  I can do a mock-up version of what I'm describing if I'm describing poorly.  Having posted a couple programs (and more to come), I'd have no issue creating a forum thread, then adding it to a Wiki page.  I'd prefer the visibility. [[User:Rihlsul|Rihlsul]] 07:04, 27 March 2013 (MSK)&lt;br /&gt;
&lt;br /&gt;
== Why did you revert my edits? ==&lt;br /&gt;
&lt;br /&gt;
I just noticed my new version on [[Login_with_Roaming_Profiles|this page]] was removed, can you please tell me why? [[User:Latias1290|Latias1290]] 05:45, 28 August 2013 (GMT)&lt;br /&gt;
&lt;br /&gt;
* Do not paste copyrighted or 'copyrighted' code, text or images on the ComputerCraft Wiki. By pasting code, text and content you release it to the public domain and I cannot assert you own said code due to the comments and 'copyright lines'. ''[[User:AfterLifeLochie|AfterLifeLochie]] 05:50, 28 August 2013 (GMT)''&lt;br /&gt;
::I thought it was fine because &amp;quot;Dirk Kok&amp;quot; is my real name, but Ill leave it out. [[User:Latias1290|Latias1290]] 05:51, 28 August 2013 (GMT)&lt;br /&gt;
::* No, under no circumstances is copyright content permitted. You must release it to public domain to paste it here. ''[[User:AfterLifeLochie|AfterLifeLochie]] 05:52, 28 August 2013 (GMT)''&lt;br /&gt;
&lt;br /&gt;
== Any chance for Lua syntax highlighting? ==&lt;br /&gt;
&lt;br /&gt;
I started this topic a few minutes ago on the [[Wiki Todo#Wiki Admin Things|Wiki Todo]] and I'm placing this note here to make sure you get a chance to see it. -[[User:Turkey|Turkey]] 23:58, 29 August 2014 (GMT)&lt;br /&gt;
&lt;br /&gt;
== Why were API redirects removed? ==&lt;br /&gt;
&lt;br /&gt;
When I searched for an API, which in my case was Term, most people would be looking for the API. However there isn't a redirect page. In fact there aren't ''any'' redirect pages for the APIs. Why is this? When I tried to create it I was greeted with the message saying you deleted it for the reason &amp;quot;Omnomnom redirect pages!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So there were redirect pages? Why remove them? They're very useful and help you find what you're looking for.&lt;br /&gt;
[[User:Mitterdoo|Mitterdoo]] 01:33, 22 October 2014 (GMT)&lt;br /&gt;
&lt;br /&gt;
'''EDITED'''&lt;br /&gt;
I just saw for other API redirects that the reason was &amp;quot;Cyclic redirects will be removed&amp;quot; But why would that ever happen? There isn't anything on the API pages that redirect back to the deleted pages, otherwise they wouldn't exist.&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User_talk:AfterLifeLochie&amp;diff=6778</id>
		<title>User talk:AfterLifeLochie</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User_talk:AfterLifeLochie&amp;diff=6778"/>
				<updated>2014-10-22T01:34:37Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Added username&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Another test. Ignore this.&lt;br /&gt;
&lt;br /&gt;
== Why did you revert my changes on the function and example templates? ==&lt;br /&gt;
&lt;br /&gt;
The 24px ones were really small and blurry. --[[Special:Contributions/67.189.72.22|67.189.72.22]] 13:17, 3 December 2012 (MSK)&lt;br /&gt;
* The templates are optimized for screen-readers at present, and are only meant to be a complimentary object. In addition, the files themselves are actually blurry and aren't rendered in high-enough definition. If and when I get FTP access, I can setup a better system than the current one, but the most important point; ''please don't edit live production templates without using a sandbox''. The effects of a template bungle could be a potential eye-sore. ''[[User:AfterLifeLochie|AfterLifeLochie]] 13:22, 3 December 2012 (MSK)''&lt;br /&gt;
&lt;br /&gt;
== APT Minecraft Tekkit window. ==&lt;br /&gt;
&lt;br /&gt;
Lochie, I was viewing your new forum thread on ComputerCraft APT and realised you were running Tekkit. I am glad that not all of the Mod Admins are so hardcoming on the Technic Team. Yours, [[User:Jonjon1234|Jonjon1234]] 15:51, 14 December 2012 (MSK)&lt;br /&gt;
&lt;br /&gt;
== Program Listing? ==&lt;br /&gt;
&lt;br /&gt;
Question for you:  As a rookie to CC, I find it really hard to track down APIs or Programs in the forums for such.  Sites like Turtlescripts have spawned trying to be a better browseable index of programs.&lt;br /&gt;
&lt;br /&gt;
Would it make sense to have a Program Catalog on the site?  I was thinking relatively lightweight, a table with the name, author, summary, current supported version, and a link to the Programs forum thread for it.  Possibly have different sections for the major groupings, such as API, OS, Turtles, etc.  I can do a mock-up version of what I'm describing if I'm describing poorly.  Having posted a couple programs (and more to come), I'd have no issue creating a forum thread, then adding it to a Wiki page.  I'd prefer the visibility. [[User:Rihlsul|Rihlsul]] 07:04, 27 March 2013 (MSK)&lt;br /&gt;
&lt;br /&gt;
== Why did you revert my edits? ==&lt;br /&gt;
&lt;br /&gt;
I just noticed my new version on [[Login_with_Roaming_Profiles|this page]] was removed, can you please tell me why? [[User:Latias1290|Latias1290]] 05:45, 28 August 2013 (GMT)&lt;br /&gt;
&lt;br /&gt;
* Do not paste copyrighted or 'copyrighted' code, text or images on the ComputerCraft Wiki. By pasting code, text and content you release it to the public domain and I cannot assert you own said code due to the comments and 'copyright lines'. ''[[User:AfterLifeLochie|AfterLifeLochie]] 05:50, 28 August 2013 (GMT)''&lt;br /&gt;
::I thought it was fine because &amp;quot;Dirk Kok&amp;quot; is my real name, but Ill leave it out. [[User:Latias1290|Latias1290]] 05:51, 28 August 2013 (GMT)&lt;br /&gt;
::* No, under no circumstances is copyright content permitted. You must release it to public domain to paste it here. ''[[User:AfterLifeLochie|AfterLifeLochie]] 05:52, 28 August 2013 (GMT)''&lt;br /&gt;
&lt;br /&gt;
== Any chance for Lua syntax highlighting? ==&lt;br /&gt;
&lt;br /&gt;
I started this topic a few minutes ago on the [[Wiki Todo#Wiki Admin Things|Wiki Todo]] and I'm placing this note here to make sure you get a chance to see it. -[[User:Turkey|Turkey]] 23:58, 29 August 2014 (GMT)&lt;br /&gt;
&lt;br /&gt;
== Why were API redirects removed? ==&lt;br /&gt;
&lt;br /&gt;
When I searched for an API, which in my case was Term, most people would be looking for the API. However there isn't a redirect page. In fact there aren't 'any' redirect pages for the APIs. Why is this? When I tried to create it I was greeted with the message saying you deleted it for the reason &amp;quot;Omnomnom redirect pages!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So there were redirect pages? Why remove them? They're very useful and help you find what you're looking for.&lt;br /&gt;
[[User:Mitterdoo|Mitterdoo]] 01:33, 22 October 2014 (GMT)&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User_talk:AfterLifeLochie&amp;diff=6777</id>
		<title>User talk:AfterLifeLochie</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User_talk:AfterLifeLochie&amp;diff=6777"/>
				<updated>2014-10-22T01:33:45Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: /* Why were API redirects removed? */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Another test. Ignore this.&lt;br /&gt;
&lt;br /&gt;
== Why did you revert my changes on the function and example templates? ==&lt;br /&gt;
&lt;br /&gt;
The 24px ones were really small and blurry. --[[Special:Contributions/67.189.72.22|67.189.72.22]] 13:17, 3 December 2012 (MSK)&lt;br /&gt;
* The templates are optimized for screen-readers at present, and are only meant to be a complimentary object. In addition, the files themselves are actually blurry and aren't rendered in high-enough definition. If and when I get FTP access, I can setup a better system than the current one, but the most important point; ''please don't edit live production templates without using a sandbox''. The effects of a template bungle could be a potential eye-sore. ''[[User:AfterLifeLochie|AfterLifeLochie]] 13:22, 3 December 2012 (MSK)''&lt;br /&gt;
&lt;br /&gt;
== APT Minecraft Tekkit window. ==&lt;br /&gt;
&lt;br /&gt;
Lochie, I was viewing your new forum thread on ComputerCraft APT and realised you were running Tekkit. I am glad that not all of the Mod Admins are so hardcoming on the Technic Team. Yours, [[User:Jonjon1234|Jonjon1234]] 15:51, 14 December 2012 (MSK)&lt;br /&gt;
&lt;br /&gt;
== Program Listing? ==&lt;br /&gt;
&lt;br /&gt;
Question for you:  As a rookie to CC, I find it really hard to track down APIs or Programs in the forums for such.  Sites like Turtlescripts have spawned trying to be a better browseable index of programs.&lt;br /&gt;
&lt;br /&gt;
Would it make sense to have a Program Catalog on the site?  I was thinking relatively lightweight, a table with the name, author, summary, current supported version, and a link to the Programs forum thread for it.  Possibly have different sections for the major groupings, such as API, OS, Turtles, etc.  I can do a mock-up version of what I'm describing if I'm describing poorly.  Having posted a couple programs (and more to come), I'd have no issue creating a forum thread, then adding it to a Wiki page.  I'd prefer the visibility. [[User:Rihlsul|Rihlsul]] 07:04, 27 March 2013 (MSK)&lt;br /&gt;
&lt;br /&gt;
== Why did you revert my edits? ==&lt;br /&gt;
&lt;br /&gt;
I just noticed my new version on [[Login_with_Roaming_Profiles|this page]] was removed, can you please tell me why? [[User:Latias1290|Latias1290]] 05:45, 28 August 2013 (GMT)&lt;br /&gt;
&lt;br /&gt;
* Do not paste copyrighted or 'copyrighted' code, text or images on the ComputerCraft Wiki. By pasting code, text and content you release it to the public domain and I cannot assert you own said code due to the comments and 'copyright lines'. ''[[User:AfterLifeLochie|AfterLifeLochie]] 05:50, 28 August 2013 (GMT)''&lt;br /&gt;
::I thought it was fine because &amp;quot;Dirk Kok&amp;quot; is my real name, but Ill leave it out. [[User:Latias1290|Latias1290]] 05:51, 28 August 2013 (GMT)&lt;br /&gt;
::* No, under no circumstances is copyright content permitted. You must release it to public domain to paste it here. ''[[User:AfterLifeLochie|AfterLifeLochie]] 05:52, 28 August 2013 (GMT)''&lt;br /&gt;
&lt;br /&gt;
== Any chance for Lua syntax highlighting? ==&lt;br /&gt;
&lt;br /&gt;
I started this topic a few minutes ago on the [[Wiki Todo#Wiki Admin Things|Wiki Todo]] and I'm placing this note here to make sure you get a chance to see it. -[[User:Turkey|Turkey]] 23:58, 29 August 2014 (GMT)&lt;br /&gt;
&lt;br /&gt;
== Why were API redirects removed? ==&lt;br /&gt;
&lt;br /&gt;
When I searched for an API, which in my case was Term, most people would be looking for the API. However there isn't a redirect page. In fact there aren't 'any' redirect pages for the APIs. Why is this? When I tried to create it I was greeted with the message saying you deleted it for the reason &amp;quot;Omnomnom redirect pages!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
So there were redirect pages? Why remove them? They're very useful and help you find what you're looking for.&lt;br /&gt;
01:33, 22 October 2014 (GMT)&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=CraftOS&amp;diff=6776</id>
		<title>CraftOS</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=CraftOS&amp;diff=6776"/>
				<updated>2014-10-20T23:57:01Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: By searching &amp;quot;shell&amp;quot; you are redirected to this page. Some people search for the API, so link to that is on top of page.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Stub|Needs more info - especially links to other articles.}}&lt;br /&gt;
{{Selfref|This is the article for CraftOS. If you were redirected from Shell and are looking for the API, see [[Shell (API)]]}}&lt;br /&gt;
[[File:2012-01-30_23.02.52.png|frame|right|CraftOS's interface.]]CraftOS is the default ComputerCraft OS. It has a DOS style interface, where you use ls to view programs, cd to move through directories, and type the name of a program to run it.&lt;br /&gt;
&lt;br /&gt;
Its features include...&lt;br /&gt;
*DOS style interface&lt;br /&gt;
*Default; guaranteed to work unlike the others which may break with ComputerCraft updates&lt;br /&gt;
*Do-It-Yourself, allowing you to customize what you want on your OS&lt;br /&gt;
&lt;br /&gt;
[[Category:OSes]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Selfref&amp;diff=6775</id>
		<title>Template:Selfref</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Selfref&amp;diff=6775"/>
				<updated>2014-10-20T23:55:39Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Added template; making changes very soon&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{msgbox&lt;br /&gt;
| title = Is this the page you were looking for?&lt;br /&gt;
| text = {{{1}}}&lt;br /&gt;
| bgcol = #CCEEFF&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Shell.resolveProgram&amp;diff=5829</id>
		<title>Shell.resolveProgram</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Shell.resolveProgram&amp;diff=5829"/>
				<updated>2013-07-14T02:17:26Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Function&lt;br /&gt;
 |name=shell.resolveProgram&lt;br /&gt;
 |args=[[string]] program&lt;br /&gt;
 |api=shell&lt;br /&gt;
 |returns=[[string]] path&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |desc=Gets the absolute path to the program&lt;br /&gt;
 |examples={{Example&lt;br /&gt;
  |desc=Finds the path to default program &amp;quot;hello&amp;quot;&lt;br /&gt;
  |code=shell.resolveProgram(&amp;quot;hello&amp;quot;)&lt;br /&gt;
  |output=rom/programs/computer/hello&lt;br /&gt;
 }}&lt;br /&gt;
}}&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Shell.resolveProgram&amp;diff=5828</id>
		<title>Shell.resolveProgram</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Shell.resolveProgram&amp;diff=5828"/>
				<updated>2013-07-14T02:16:07Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: Created page with &amp;quot;{{Function  |name=shell.resolveProgram  |args=string program  |api=shell  |returns=string path  |addon=ComputerCraft  |examples={{Example   |desc=Gets the absolute pat...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Function&lt;br /&gt;
 |name=shell.resolveProgram&lt;br /&gt;
 |args=[[string]] program&lt;br /&gt;
 |api=shell&lt;br /&gt;
 |returns=[[string]] path&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |examples={{Example&lt;br /&gt;
  |desc=Gets the absolute path to the program&lt;br /&gt;
  |code=shell.resolveProgram(&amp;quot;hello&amp;quot;)&lt;br /&gt;
  |output=rom/programs/computer/hello&lt;br /&gt;
 }}&lt;br /&gt;
}}&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=5782</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=5782"/>
				<updated>2013-07-05T20:29:08Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to work with your [[Turtle|Turtles]].&lt;br /&gt;
&lt;br /&gt;
===Key===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Color  !! Turtles that can perform this&lt;br /&gt;
|-&lt;br /&gt;
| White  ||All&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|Green   || Crafty&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
| Yellow || Mining, Felling, Digging, Farming&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
| Red    || Any tool&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- ##################&lt;br /&gt;
To add additional colors, visit Template:row-lightgreen, copy the source, do a search for Template:row-yourcolor and hit Create Page. ################## --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===API===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! width=&amp;quot;100px&amp;quot; | Return&lt;br /&gt;
! width=&amp;quot;200px&amp;quot; | Method name&lt;br /&gt;
! Description&lt;br /&gt;
! Min version&lt;br /&gt;
|-{{row-lightgreen}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.craft]]({{type|int}} quantity)&lt;br /&gt;
|Craft items using ingredients anywhere in the turtle's inventory and place results in the active slot. If a quantity is specified, it will craft only up to that many items, otherwise, it will craft as many of the items as possible.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Try to move the turtle forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Try to move the turtle backward&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Try to move the turtle up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Try to move the turtle down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|Turn the turtle left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|Turn the turtle right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.select]]({{type|int}} slotNum)&lt;br /&gt;
|Make the turtle select slot ''slotNum'' (1 is top left, 16 (9 in 1.33 and earlier) is bottom right)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|int}} count&lt;br /&gt;
|[[turtle.getItemCount]]({{type|int}} slotNum)&lt;br /&gt;
|Counts how many items are in slot ''slotNum''&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|int}} count&lt;br /&gt;
|[[turtle.getItemSpace]]({{type|int}} slotNum)&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in slot ''slotNum''&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.attack]]()&lt;br /&gt;
|Attacks in front of the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success &lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks above the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.attackDown]]()&lt;br /&gt;
|Attacks under the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.dig]]()&lt;br /&gt;
|Breaks the block in front. With hoe: tills the dirt in front of it.&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.digUp]]()&lt;br /&gt;
|Breaks the block above. With hoe: tills the dirt above it.&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightyellow}}&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.digDown]]()&lt;br /&gt;
|Breaks the block below. With hoe: tills the dirt below it.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.place]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|string}} signText])&lt;br /&gt;
|Places a block of the selected slot in front. Engrave ''signText'' on signs if provided.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a block of the selected slot above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a block of the selected slot below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detect]]()&lt;br /&gt;
|Detects if there is a block in front.  Does not detect mobs.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a block above&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a block below&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compare]]()&lt;br /&gt;
|Detects if the block in front is the same as the one in the currently selected slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareUp]]()&lt;br /&gt;
|Detects if the block above is the same as the one in the currently selected slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareDown]]()&lt;br /&gt;
|Detects if the block below is the same as the one in the currently selected slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} result&lt;br /&gt;
|[[turtle.compareTo]]({{type|int}} slot)&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same. Returns true if they are the same, false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.drop]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|int}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops ''count'' items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e in front of the turtle) it will try to place into the inventory, returning false if the inventory is full.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|int}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops ''count'' items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e above the turtle) it will try to place into the inventory, returning false if the inventory is full. If below a furnace, will place item in the bottom slot.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|int}} count])&lt;br /&gt;
|Drops all items in the selected slot, or specified, drops ''count'' items.&amp;lt;br /&amp;gt;[&amp;gt;= 1.4 only:] If there is a inventory on the side (i.e below the turtle) it will try to place into the inventory, returning false if the inventory is full. If above a furnace, will place item in the top slot.&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suck]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory in front of the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suck|turtle.suckUp]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.suck|turtle.suckDown]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle, then places it in the selected slot. If the turtle can't pick up the item, the function returns false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.refuel]]([&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{type|int}} quantity])&lt;br /&gt;
|If the current selected slot contains a fuel item, it will consume it to give the turtle the ability to move.&amp;lt;br /&amp;gt;Added in 1.4 and is only needed in needfuel mode. If the current slot doesn't contain a fuel item, it returns false. Fuel values for different items can be found at [[Turtle.refuel#Fuel_Values]]. If a quantity is specified, it will refuel only up to that many items, otherwise, it will consume all the items in the slot.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|int}} fuel&lt;br /&gt;
|[[turtle.getFuelLevel]]()&lt;br /&gt;
|Returns the current fuel level of the turtle, this is the number of blocks the turtle can move.&amp;lt;br /&amp;gt;If turtleNeedFuel = 0 then it returns &amp;quot;unlimited&amp;quot;.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|boolean}} success&lt;br /&gt;
|[[turtle.transferTo]]({{type|int}} slot [, {{type|int}} quantity])&lt;br /&gt;
|Transfers ''quantity'' items from the selected slot to ''slot''. If ''quantity'' isn't specified, will attempt to transfer everything in the selected slot to ''slot''.&lt;br /&gt;
| 1.45&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Trivia:&lt;br /&gt;
During the 1.4 beta, turtle.getFuelLevel() in softcore(that is now turtleneedsfuel = 0) returned 9000.&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Modem_(API)&amp;diff=5259</id>
		<title>Modem (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Modem_(API)&amp;diff=5259"/>
				<updated>2013-03-29T11:20:36Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is for the modem API. For the blocks, see [[Modem]].''&lt;br /&gt;
&lt;br /&gt;
With the advent of ComputerCraft 1.5, the behavior of modems has changed somewhat drastically. Although the rednet api still has the same functionality, it is really just a wrapper for what is a completely different system underneath.&lt;br /&gt;
&lt;br /&gt;
The major change introduced to modems in this version of ComputerCraft is channels: Channels are essentially open networks which can be opened, closed, and listened on by any computer within range. To interact with channels, one must directly wrap the peripheral as opposed to the previous interaction with the rednet API.&lt;br /&gt;
&lt;br /&gt;
Here is a list of functions available from modems:&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;|Function&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|isOpen( [[int_(type)|int]] channel )&lt;br /&gt;
|Check to see if the specified channel is open&lt;br /&gt;
|-&lt;br /&gt;
|open( [[int_(type)|int]] channel )&lt;br /&gt;
|Opens the specified channel to allow for listening. The channel specified must be larger than 0 and less than 65535.&lt;br /&gt;
|-&lt;br /&gt;
|close( [[int_(type)|int]] channel )&lt;br /&gt;
|Closes an open channel to disallow listening&lt;br /&gt;
|-&lt;br /&gt;
|closeAll( )&lt;br /&gt;
|Closes all open channels&lt;br /&gt;
|-&lt;br /&gt;
|transmit( [[int_(type)|int]] channel, [[int_(type)|int]] replyChannel, [[string_(type)|string]] message )&lt;br /&gt;
|Transmits a message on the specified channel&lt;br /&gt;
|-&lt;br /&gt;
|isWireless( )&lt;br /&gt;
|Returns true if the modem is wireless; false if it is wired.&lt;br /&gt;
|}&lt;br /&gt;
==Sending Messages==&lt;br /&gt;
Sending messages is simple and does not require that you open any channels. Simply use the transmit function like so:&lt;br /&gt;
  &amp;lt;span&amp;gt;&lt;br /&gt;
  local modem = peripheral.wrap(&amp;quot;right&amp;quot;) --Wraps the modem on the right side.&lt;br /&gt;
  modem.transmit(3, 1, &amp;quot;Hello world!&amp;quot;)  &lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
What did that do? First I wrapped the peripheral in order to interact with it. Second, I used modem.transmit(channel, replyChannel, message) in order to send my message. In case you were wondering, the reply channel is captured by the listening computer and suggests which channel they should reply on.&lt;br /&gt;
&lt;br /&gt;
==Receiving Messages==&lt;br /&gt;
Receiving messages requires that you be familiar with events. As of this moment, there is no api which cuts out events from the process. Here is an example of how to receive messages:&lt;br /&gt;
  &amp;lt;span&amp;gt;&lt;br /&gt;
  local modem = peripheral.wrap(&amp;quot;left&amp;quot;)&lt;br /&gt;
  modem.open(3)--Open channel 3 so that we can listen on it&lt;br /&gt;
  local event, modemSide, senderChannel, &lt;br /&gt;
    replyChannel, message, senderDistance = os.pullEvent(&amp;quot;modem_message&amp;quot;)&lt;br /&gt;
  print(&amp;quot;I just received a message from: &amp;quot;..senderChannel)&lt;br /&gt;
  print(&amp;quot;I should apparently reply on: &amp;quot;..replyChannel)&lt;br /&gt;
  print(&amp;quot;The modem receiving this is located on the &amp;quot;..modemSide..&amp;quot; side&amp;quot;)&lt;br /&gt;
  print(&amp;quot;The message was: &amp;quot;..message)&lt;br /&gt;
  print(&amp;quot;The sender is: &amp;quot;..senderDistance..&amp;quot; blocks away from me.&amp;quot;)&lt;br /&gt;
  &amp;lt;/span&amp;gt;&lt;br /&gt;
So what did I do? Quite simply, I called os.pullEvent() with the string argument &amp;quot;modem_message&amp;quot;, which blocks all other events from being returned. When the &amp;quot;modem_message&amp;quot; event is captured, it returns the arguments: event, modemSide, senderChannel, replyChannel, message, senderDistance. I captured these and then printed them out.&lt;br /&gt;
&lt;br /&gt;
==Keep in Mind...==&lt;br /&gt;
* You can only open 128 channels at any given time.&lt;br /&gt;
* The max channel you can open is 65535.&lt;br /&gt;
* You can listen on more than one channel at a time. For example, if I have channel 3 and channel 5 open and somebody sends a message on channel 5, I will still receive it. If they send a message on channel 3, I will receive that.&lt;br /&gt;
* Sending messages does not require you to open any channels prior to sending it.&lt;br /&gt;
* If you aren't receiving a message when you think you should, check to make sure that you have opened the channel first!&lt;br /&gt;
* Modems and channels are not secure! If you are sending a message over rednet, it is available to any computer listening on the sent channel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Wireless_Modem&amp;diff=5258</id>
		<title>Wireless Modem</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Wireless_Modem&amp;diff=5258"/>
				<updated>2013-03-29T11:19:39Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{NeedsWork|The behaviour of Rednet has changed as of 1.5 - please consider updating this page with information. (Please don't add prerelease info!)}}&lt;br /&gt;
:''This page is for the Modem blocks. For the modem API, see [[Modem_(API)|Modem (API)]]''&lt;br /&gt;
{{Block&lt;br /&gt;
|name=Modem&lt;br /&gt;
|image=WirelessModem.png&lt;br /&gt;
|id=4094&lt;br /&gt;
|damage-value=1&lt;br /&gt;
|is-peripheral=Yes&lt;br /&gt;
|peripheral-api=Modem (API)&lt;br /&gt;
}}&lt;br /&gt;
Modems are blocks which can be used to wirelessly transfer data between [[Computer|computers]] and [[Turtle|turtles]], using the [[Rednet_(API)|Rednet API]] or the [[Modem_(API)|Modem API]].&lt;br /&gt;
To place a modem on a side of a computer, right-click to place the modem while sneaking.&lt;br /&gt;
&lt;br /&gt;
It is also possible to turn the modem on and off by typing &amp;quot;rednet.open ( side )&amp;quot; to open and &amp;quot;rednet.close ( side )&amp;quot; to close.&lt;br /&gt;
&lt;br /&gt;
Modems can send messages to other modems located up to 64 meters away, or 16 meters during a thunderstorm.&lt;br /&gt;
As of 1.4 Modem range is increased with higher altitudes. If there is no thunderstorm, the range will always be higher than 64, and at max altitude you would have a range of 384 meters.&lt;br /&gt;
&lt;br /&gt;
In 1.4 and 1.41 there is a miscalculation that causes the range to only be 381 meters at max altitude.&lt;br /&gt;
&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_torch    |C2=stone&lt;br /&gt;
 |A3=stone |B3=stone          |C3=stone&lt;br /&gt;
 |Output=Modem&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
== Example (Rednet API)==&lt;br /&gt;
* Place 2 computers and add modems to them by clicking the right mouse button while sneaking.&lt;br /&gt;
* Access them, and start Lua.&lt;br /&gt;
* Once Lua has started, type &amp;quot;[[rednet_(API)|rednet]].[[rednet.open|open]] (&amp;quot;&amp;lt;relative location to modem, e.g. left, right&amp;gt;&amp;quot;)&amp;quot; on both computers.&lt;br /&gt;
* Check if there exists a connection: a dim, red light should be found on the modem.&lt;br /&gt;
* Type on one computer &amp;quot;[[rednet_(API)|rednet]].[[rednet.receive|receive]] (60)&amp;quot;. This will make the computer freeze for 60 seconds, or until it has received a signal from the other computers.&lt;br /&gt;
* Now, type &amp;quot;[[rednet_(API)|rednet]].[[rednet.broadcast|broadcast]] ('&amp;lt;your message&amp;gt;')&amp;quot; on the other computer. This should send your message to all computers connected.&lt;br /&gt;
* Opening the first computer should show the message written on the second computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Modem as a Peripheral==&lt;br /&gt;
To use a Modem as a peripheral, you need to either call a method directly using [[peripheral.call]](), or, wrap the modem using the [[Peripheral_(API)|Peripheral API]]. Wrapped modems provide all functions listed in the [[Rednet_(API)|Rednet API]].&lt;br /&gt;
&lt;br /&gt;
For this example, we have a Modem connected to the top of our [[Computer]]:&lt;br /&gt;
&lt;br /&gt;
 -- Immediately invoke a method without wrapping&lt;br /&gt;
 peripheral.call(&amp;quot;top&amp;quot;, &amp;quot;open&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;
 local modem = peripheral.wrap(&amp;quot;top&amp;quot;)&lt;br /&gt;
 modem.open(&amp;quot;top&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
[[Category:Peripherals]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=1143</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=1143"/>
				<updated>2012-03-20T03:02:33Z</updated>
		
		<summary type="html">&lt;p&gt;Mitterdoo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Turtle API is used to Work with your Turtles.&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;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Let the Turtle move forward&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Let the Turtle move back&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Let the Turtle move up&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Let the Turtle move down &lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|The Turtle turns left&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|The Turtle turns right&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.select]]( slotNum )&lt;br /&gt;
|The Turtle selects the given Slot (1 is top left, 9 is bottom right)&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.getItemCount]]( slotNum )&lt;br /&gt;
|Counts how many items are in the given Slot&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.getItemSpace]]( slotNum )&lt;br /&gt;
|Counts how many items you need to fill the stack in the given Slot&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.dig]]()&lt;br /&gt;
|Breaks the Block in front&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.digUp]]()&lt;br /&gt;
|Breaks the Block above&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.digDown]]()&lt;br /&gt;
|Breaks the Block below&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.place]]()&lt;br /&gt;
|Places a Block of the selected Slot in front&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.placeUp]]()&lt;br /&gt;
|Places a Block of the selected Slot above&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.placeDown]]()&lt;br /&gt;
|Places a Block of the selected Slot below&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.detect]]()&lt;br /&gt;
|Detects if there is a Block in front&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.detectUp]]()&lt;br /&gt;
|Detects if there is a Block above&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.detectDown]]()&lt;br /&gt;
|Detects if there is a Block below&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.compare]]()&lt;br /&gt;
|Detects if the block in front is the same as the one in the selected Slot&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.compareUp]]()&lt;br /&gt;
|Detects if the block above is the same as the one in the selected Slot&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.compareDown]]()&lt;br /&gt;
|Detects if the block below is the same as the one in the selected Slot&lt;br /&gt;
|-&lt;br /&gt;
|[[turtle.drop]]( [amount] )&lt;br /&gt;
|Drops everything of the selected Slot or the specified amount&lt;br /&gt;
|}&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Mitterdoo</name></author>	</entry>

	</feed>