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

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Os.startTimer&amp;diff=5495</id>
		<title>Os.startTimer</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Os.startTimer&amp;diff=5495"/>
				<updated>2013-04-23T00:05:45Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: it returns an int not a table&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=os.startTimer&lt;br /&gt;
 |args=[[float (type)|float]] time&lt;br /&gt;
 |api=OS&lt;br /&gt;
 |returns=[[int (type)|int]] timerID&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |desc=Adds a timer which will fire a &amp;quot;timer&amp;quot; event once after &amp;lt;var&amp;gt;time&amp;lt;/var&amp;gt; seconds have passed. It returns an int which acts as a unique ID for the timer.&lt;br /&gt;
 |examples=&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Changelog&amp;diff=5282</id>
		<title>Template:Changelog</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Changelog&amp;diff=5282"/>
				<updated>2013-03-30T21:15:19Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: Added 1.52&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 15%&amp;quot; | Version&lt;br /&gt;
! class=&amp;quot;unsortable&amp;quot; | New Features or Changes&lt;br /&gt;
! style=&amp;quot;width: 15%&amp;quot; | Minecraft Version&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/03/26/computercraft-1-52// Computercraft 1.52]&lt;br /&gt;
|&lt;br /&gt;
* Ported to Minecraft 1.5.1&lt;br /&gt;
|align=center|1.5.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/03/15/computercraft-1-51// Computercraft 1.51]&lt;br /&gt;
|&lt;br /&gt;
* Ported to Minecraft 1.5&lt;br /&gt;
* Added [[Wired Modem|Wired Modems]]&lt;br /&gt;
* Added [[Networking Cable|Networking Cables]]&lt;br /&gt;
* Made [[Wireless Modem|Wireless Modems]] more expensive to craft&lt;br /&gt;
* New redstone API functions: getAnalogInput(), setAnalogOutput(), getAnalogOutput()&lt;br /&gt;
* Peripherals can now be controlled remotely over wired networks&lt;br /&gt;
* New peripheral API function: getNames()&lt;br /&gt;
* New event: “monitor_resize” when the size of a monitor changes&lt;br /&gt;
* Except for labelled computers and turtles, ComputerCraft blocks no longer drop items in creative mode&lt;br /&gt;
* The pick block function works in creative mode now works for all ComputerCraft blocks&lt;br /&gt;
* All blocks and items now use the IDs numbers assigned by FTB by default&lt;br /&gt;
* Fixed turtles sometimes placing blocks with incorrect orientations&lt;br /&gt;
* Fixed Wireless modems being able to send messages to themselves&lt;br /&gt;
* Fixed [[turtle.attack]]() having a very short range&lt;br /&gt;
* Various bugfixes&lt;br /&gt;
|align=center|1.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/02/11/computercraft-1-5/ Computercraft 1.5]&lt;br /&gt;
|&lt;br /&gt;
*Redesigned Wireless Modems; they can now send and receive on multiple channels, independent of the computer ID. To use these features, interface with modem peripherals directly. The rednet API still functions as before.&lt;br /&gt;
*[[Floppy Disk|Floppy Disks]] can now be dyed with multiple dyes, just like armour.&lt;br /&gt;
*The “excavate” program now retains fuel in it’s inventory, so can run unattended.&lt;br /&gt;
*[[turtle.place]]() now tries all possible block orientations before failing.&lt;br /&gt;
*[[turtle.refuel]](0) returns true if a fuel item is selected.&lt;br /&gt;
*[[turtle.craft]](0) returns true if the inventory is a valid recipe.&lt;br /&gt;
*The in-game help system now has documentation for all the peripherals and their methods, including the new [[modem]] functionality.&lt;br /&gt;
*A romantic surprise.&lt;br /&gt;
|align=center|1.4.7&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/12/27/computercraft-1-481-miscperipherals-fix/ Computercraft 1.481]&lt;br /&gt;
|&lt;br /&gt;
*Fixed compatibility bug with MiscPeripherals.&lt;br /&gt;
|align=center|1.4.6&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/12/23/computercraft-1-48/ Computercraft 1.48]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.6&lt;br /&gt;
*[[Advanced Monitor|Advanced Monitors]] can now be used as touchscreens&lt;br /&gt;
*[[Advanced Monitor|Advanced Monitors]] are now easier to craft&lt;br /&gt;
*[[Turtle|Turtles]] now get slightly less movement from fuel&lt;br /&gt;
*[[Turtle|Turtles]] can now push items&lt;br /&gt;
*[[Computer|Computers]] can now control Command Blocks, if enabled in the config&lt;br /&gt;
*New API function: os.day()&lt;br /&gt;
*A Christmas surprise&lt;br /&gt;
|align=center|1.4.6&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/11/15/computercraft-1-47-and-minecon-news/ ComputerCraft 1.47]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.4&lt;br /&gt;
*Fixed label tooltips not showing up in SMP&lt;br /&gt;
|align=center|1.4.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/25/computercraft-1-46-minecraft-update/ ComputerCraft 1.46]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.2&lt;br /&gt;
*ComputerCraft items now have their own tab in Creative Mode&lt;br /&gt;
|align=center|1.4.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/22/computercraft-1-45-now-with-colors/ ComputerCraft 1.45]&lt;br /&gt;
|&lt;br /&gt;
*Added [[Advanced Computer|Advanced Computers]]&lt;br /&gt;
*Added [[Advanced Monitor|Advanced Monitors]]&lt;br /&gt;
*New program: paint (by nitrogenfingers)&lt;br /&gt;
*New API: [[paintutils_(API)|paintutils]]&lt;br /&gt;
*New term functions: term.setBackgroundColor, term.setTextColor, term.isColor&lt;br /&gt;
*New [[Turtle|Turtle]] function: [[turtle.transferTo]]&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/04/computercraft-1-43-books/ ComputerCraft 1.43]&lt;br /&gt;
|&lt;br /&gt;
*Added Printed Pages (bind several Printed Page items into one with string)&lt;br /&gt;
*Added Printed Books (add a leather cover to the above)&lt;br /&gt;
*Labelled [[Turtle|Turtles]] now keep their fuel when broken&lt;br /&gt;
*Fixed incompatibility with Forge 275 and above&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/09/22/computercraft-1-42-is-released/ ComputerCraft 1.42]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.3.2 and the Forge mod system&lt;br /&gt;
*Added [[Printer|Printers]]&lt;br /&gt;
*Floppy Disks can now be dyed different colours&lt;br /&gt;
*Wireless Crafty Turtles can now be crafted&lt;br /&gt;
*All new textures&lt;br /&gt;
*New Forge config file&lt;br /&gt;
*Various tweaks and bug fixes&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/07/29/computercraft-1-41-bugfix-update/ ComputerCraft 1.41]&lt;br /&gt;
|&lt;br /&gt;
*Fixed labelled [[Computer|Computers]] not keeping their data when destroyed&lt;br /&gt;
*Fixed the “excavate” program outputting lots of spam&lt;br /&gt;
*File system size limits now take into account empty files and directories&lt;br /&gt;
*Some small changes to the Turtle Upgrade API ahead of it’s impending release.(Update: The API has now been released)&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/07/27/computercraft-1-4-is-released/ ComputerCraft 1.4]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Forge Mod Loader: ComputerCraft can now be ran directly from the .zip without extraction&lt;br /&gt;
*Added Farming [[Turtle|Turtles]], Felling [[Turtle|Turtles]], Digging [[Turtle|Turtles]], Melee [[Turtle|Turtles]] and Crafty [[Turtle|Turtles]]&lt;br /&gt;
*Added 14 new[[Turtle|Turtles]] Combinations accessible by combining the turtle upgrades above&lt;br /&gt;
*Labelled [[Computer|Computers]] and turtles can now be crafted into turtles or other turtle types without losing their ID, label and data&lt;br /&gt;
*Added a [[Turtle|Turtles]] Upgrade API” for mod developers to create their own tools and peripherals for turtles&lt;br /&gt;
*[[Turtle|Turtles]] can now attack entities with [[turtle.attack]](), and collect their dropped items&lt;br /&gt;
*[[Turtle|Turtles]] can now use [[turtle.place]]() with any item the player can, and can interact with entities&lt;br /&gt;
*[[Turtle|Turtles]] can now craft items with [[turtle.craft]]()&lt;br /&gt;
*[[Turtle|Turtles]] can now place items into inventories with [[turtle.drop]]()&lt;br /&gt;
*Changed the behaviour of [[turtle.place]]() and [[turtle.drop]]() to only consider the currently selected slot&lt;br /&gt;
*[[Turtle|Turtles]] can now pick up items from the ground, or from inventories, with [[turtle.suck]]()&lt;br /&gt;
*[[Turtle|Turtles]] can now compare items in their inventories&lt;br /&gt;
*[[Turtle|Turtles]] can place signs with text on them with [[turtle.place]]( [signText] )&lt;br /&gt;
*[[Turtle|Turtles]] now optionally require fuel items to move, and can refuel themselves&lt;br /&gt;
*The size of the the [[Turtle|Turtle]] inventory has been increased to 16&lt;br /&gt;
*The size of the [[Turtle|Turtle]] screen has been increased&lt;br /&gt;
*New [[Turtle|Turtle]] functions: [[turtle.compareTo]]( [slotNum] ), [[turtle.craft]](), [[turtle.attack]](), [[turtle.attackUp]](), [[turtle.attackDown]](), [[turtle.drop|turtle.dropUp]](), [[turtle.drop|turtle.dropDown]](), [[turtle.getFuelLevel]](), [[turtle.refuel]]()&lt;br /&gt;
*New [[Disk]] function: [[disk.getDiskID]]()&lt;br /&gt;
*New [[Turtle|Turtle]] programs: craft, refuel&lt;br /&gt;
*“excavate” program now much smarter: Will return items to a chest when full, attack mobs, and refuel itself automatically&lt;br /&gt;
*New API: keys&lt;br /&gt;
*Added optional Floppy Disk and Hard Drive space limits for [[Computer|Computers]] and [[Turtle|Turtles]]&lt;br /&gt;
*New fs function: [[fs.getFreeSpace]]( path ), also [[fs.getDrive]]() works again&lt;br /&gt;
*The send and receive range of wireless modems now increases with altitude, allowing long range networking from high-altitude [[Computer|Computers]] (great for GPS networks)&lt;br /&gt;
*[[http.request]]() now supports https:// URLs&lt;br /&gt;
*Right clicking a [[Disk Drive]] with a [[Floppy Disk]] or a Record when sneaking will insert the item into the [[Disk Drive]] automatically&lt;br /&gt;
*The default size of the [[Computer]] screen has been increased&lt;br /&gt;
*Several stability and security fixes: LuaJ can now no longer leave dangling threads when a computer is unloaded, turtles can no longer be destroyed by tree leaves or walking off the edge of the loaded map. [[Computer|Computers]] no longer crash when used with RedPower frames&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/04/23/computercraft-updated-to-1-2-5/ ComputerCraft 1.33]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.5&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/03/30/computercraft-1-32-out-now/ ComputerCraft 1.32]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.4&lt;br /&gt;
*Fixed a big memory leak in LuaJ that caused extra threads to stay around forever when [[Computer|Computers]] were shut down.&lt;br /&gt;
|align=center|1.2.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/03/13/computercraft-1-31-is-released/ ComputerCraft 1.31]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.3&lt;br /&gt;
*Added [[Monitor|Monitors]] (thanks to Cloudy). Build huge external displays for your [[Computer|Computers]]!&lt;br /&gt;
*New positioning capabilities for [[Computer|Computers]] and [[Turtle|Turtles]]. Build GPS networks and triangulate the positions of your turtles position so they never get lost!&lt;br /&gt;
*New [[turtle.compare]]() function for turtles for more intelligent mining.&lt;br /&gt;
*New programs and APIs: gps, monitor, vector&lt;br /&gt;
*New program: pastebin (requires enableAPI_HTTP=1 in mod_ComputerCraft.cfg), upload and download programs made by other users ingame!&lt;br /&gt;
*Added a new top secret program designed for use with Monitors, see if you can find it.&lt;br /&gt;
*Lots of additions to existing APIs and programs. Type &amp;quot;help whatsnew&amp;quot; in game for the full details.&lt;br /&gt;
|align=center|1.2.3&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/02/23/computercraft-1-3-trailer/ ComputerCraft 1.3]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft Forge.&lt;br /&gt;
*Added [[Turtle|Turtles]], Mining [[Turtle|Turtles]], Wireless [[Turtle|Turtles]] and Wireless Mining [[Turtle|Turtles]] (Block ID 209).&lt;br /&gt;
*Added a Peripheral API to allow mod developers to create custom peripherals for ComputerCraft. Details on this will be posted in the next few days.&lt;br /&gt;
*Added [[Modem|Wireless Modems]]. Use the [[Rednet_(API)|rednet API]] to send data wirelessly between [[Computer|Computers]] and [[Turtle|Turtles]]!&lt;br /&gt;
*[[Computer|Computers]] and Disk Drives no longer get destroyed by water.&lt;br /&gt;
*[[Computer|Computers]] and [[Turtle|Turtles]] can now be labelled, destroyed, and moved around, keeping their state.&lt;br /&gt;
*[[Computer|Computers]] and [[Turtle|Turtles]] can connect to adjacent devices, and turn them on or off.&lt;br /&gt;
*User programs now give line numbers in their error messages, for easier debugging.&lt;br /&gt;
*New APIs and programs for [[Turtle|Turtles]]: turtle, excavate, tunnel, go, turn and dance.&lt;br /&gt;
*Lots of additions to existing APIs and programs. Type &amp;quot;help whatsnew&amp;quot; in game for the full details.&lt;br /&gt;
|align=center|1.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.21&lt;br /&gt;
|&lt;br /&gt;
*Added shortcut key to shutdown the computer.&lt;br /&gt;
*Added a help API add-on pack.&lt;br /&gt;
*Various bug fixes.&lt;br /&gt;
|align=center|1.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.2&lt;br /&gt;
|&lt;br /&gt;
*Added Disk Drives&lt;br /&gt;
*Added shortcut keys to terminate the current program and reboot the computer.&lt;br /&gt;
*Added a new system for user created APIs.&lt;br /&gt;
*Added RedNet.&lt;br /&gt;
*Added [[shell.setPath]]() and [[shell.setAlias]]().&lt;br /&gt;
*Added a new ROM startup script.&lt;br /&gt;
*Added [[os.clock]](), [[os.time]](), and [[os.setAlarm]]().&lt;br /&gt;
*Added game: &amp;quot;Worm!&amp;quot;&lt;br /&gt;
*Added programs: alias, apis, copy, delete, dj, drive, eject, id, label, list, move, reboot, redset, rename, time, worm.&lt;br /&gt;
*Added APIs: bit, colours, disk, help, rednet, parallel, textutils&lt;br /&gt;
*Text can be edited with left and right arrow keys.&lt;br /&gt;
*Many bug fixes&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.11&lt;br /&gt;
|&lt;br /&gt;
*Fixed bug where [[Computer|Computers]] could not read input from RedPower cables which had a bend in the immediately adjacent square.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.1&lt;br /&gt;
|&lt;br /&gt;
*Changed the default block ID for the [[Computer|Computer]] to 207.&lt;br /&gt;
*Added multiplayer support.&lt;br /&gt;
*Added connectivity with RedPower bundled cables.&lt;br /&gt;
*Added HTTP API&lt;br /&gt;
*Fixed support for HD textures on the front of [[Computer|Computers]].&lt;br /&gt;
*Added command history to the [[Computer]].&lt;br /&gt;
*Added config options to change the size of the [[Computer]] GUI and the text color.&lt;br /&gt;
*Programs with infinite loops that don't yield will no longer freeze Minecraft and will terminate after 10 seconds.&lt;br /&gt;
*Extended Help and fixed typos/small errors in various programs.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.02&lt;br /&gt;
|&lt;br /&gt;
*Fixed the MCPatcher HD textures incompatibility that was causing the computer texture to replace cobblestone blocks.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.01&lt;br /&gt;
|&lt;br /&gt;
*Added a ModLoader configuration file, so the computers block ID can be changed.&lt;br /&gt;
*Made the error message that displays when Lua files are not correctly installed much more clear, no more &amp;quot;Assertion failed.&amp;quot;&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.0&lt;br /&gt;
|&lt;br /&gt;
*First Release&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Command_Block_(API)&amp;diff=5281</id>
		<title>Command Block (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Command_Block_(API)&amp;diff=5281"/>
				<updated>2013-03-30T21:10:09Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Command Block API allows you to run commands in a Command Block, using it as a peripheral.&lt;br /&gt;
(The peripheral can only be used if allowed in the config, which is default to false)&lt;br /&gt;
&lt;br /&gt;
Functions exposed by the Command Block, where commandBlock is warped to a command block :&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;*&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;
|[[commandBlock.getCommand]]( )&lt;br /&gt;
|Returns a string containing the command currently inside the Command Block.&lt;br /&gt;
|-&lt;br /&gt;
|[[commandBlock.setCommand]]( [[string_(type)|string]] command )&lt;br /&gt;
|Sets the command in the Command Block. '''This does not run it.'''&lt;br /&gt;
|-&lt;br /&gt;
|[[commandBlock.runCommand]]( )&lt;br /&gt;
|Runs the command inside the Command Block previously set by [[commandBlock.setCommand]]( )&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Note==&lt;br /&gt;
All Command Block functions are to be used ''after'' wrapping the block in a peripheral.&lt;br /&gt;
'''example''':&lt;br /&gt;
&amp;lt;span&amp;gt;&lt;br /&gt;
 commandBlock = [[peripheral.wrap]](&amp;quot;left&amp;quot;)&lt;br /&gt;
 commandBlock.setCommand(&amp;quot;time set 1000&amp;quot;)&lt;br /&gt;
 commandBlock.runCommand()&lt;br /&gt;
 local currentCommand = commandBlock.getCommand()&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Peripheral APIs]]&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Command_Block_(API)&amp;diff=5280</id>
		<title>Command Block (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Command_Block_(API)&amp;diff=5280"/>
				<updated>2013-03-30T21:09:21Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Command Block API allows you to run commands in a Command Block, using it as a peripheral.&lt;br /&gt;
(The peripheral can only be used if allowed in the config, which is default to false)&lt;br /&gt;
&lt;br /&gt;
Functions exposed by the Command Block, where commandBlock is warped to a command block :&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;
|[[commandBlock.getCommand]]( )&lt;br /&gt;
|Returns a string containing the command currently inside the Command Block.&lt;br /&gt;
|-&lt;br /&gt;
|[[commandBlock.setCommand]]( [[string_(type)|string]] command )&lt;br /&gt;
|Sets the command in the Command Block. '''This does not run it.'''&lt;br /&gt;
|-&lt;br /&gt;
|[[commandBlock.runCommand]]( )&lt;br /&gt;
|Runs the command inside the Command Block previously set by [[commandBlock.setCommand]]( )&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Note==&lt;br /&gt;
All Command Block functions are to be used ''after'' wrapping the block in a peripheral.&lt;br /&gt;
'''example''':&lt;br /&gt;
&amp;lt;span&amp;gt;&lt;br /&gt;
 commandBlock = [[peripheral.wrap]](&amp;quot;left&amp;quot;)&lt;br /&gt;
 commandBlock.setCommand(&amp;quot;time set 1000&amp;quot;)&lt;br /&gt;
 commandBlock.runCommand()&lt;br /&gt;
 local currentCommand = commandBlock.getCommand()&lt;br /&gt;
&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Peripheral APIs]]&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:News&amp;diff=5274</id>
		<title>Template:News</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:News&amp;diff=5274"/>
				<updated>2013-03-30T04:34:14Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: add a news&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;'''March 26, 2013'''&lt;br /&gt;
*Computercraft 1.52 is out for Minecraft '''1.5.1'''.&lt;br /&gt;
'''December 27, 2012'''&lt;br /&gt;
*Computercraft 1.481 is released as a quick hotfix for MiscPeripherals.&lt;br /&gt;
'''December 23, 2012'''&lt;br /&gt;
*Computercraft 1.48 is out for Minecraft '''1.4.6'''!&lt;br /&gt;
'''November 20th, 2012''':&lt;br /&gt;
*Computercraft 1.47 works just fine for Minecraft '''1.4.5'''!&lt;br /&gt;
'''November 15th, 2012''':&lt;br /&gt;
*Computercraft 1.47 is out for Minecraft '''1.4.4'''!&lt;br /&gt;
*Minecon news '''[http://www.computercraft.info/2012/11/15/computercraft-1-47-and-minecon-news/ here!]'''&lt;br /&gt;
'''October 25th, 2012''':&lt;br /&gt;
*ComputerCraft 1.46 is out for Minecraft '''1.4.2'''!&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Version&amp;diff=5273</id>
		<title>Template:Version</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Version&amp;diff=5273"/>
				<updated>2013-03-30T04:30:26Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: New version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ATTENTION WIKI-ENS. Please do not alter the markup on this page,&lt;br /&gt;
  only change the values inside the table-cells (&amp;lt;td&amp;gt;). Thanks and&lt;br /&gt;
  love, AfterLifeLochie                                             --&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;width:100px;&amp;quot;&amp;gt;[[File:Icon_Minecraft.png]]&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;Minecraft&amp;lt;/b&amp;gt;:&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;ComputerCraft '''1.52''' for '''Minecraft 1.5.1'''&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;width:100px;&amp;quot;&amp;gt;[[File:Icon_Bukkit.png]]&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;Bukkit&amp;lt;/b&amp;gt;:&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;ComputerCraft '''1.41''' for '''MCPC Build 177+'''&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;'''[[Changelog]]'''&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Recipes&amp;diff=5272</id>
		<title>Recipes</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Recipes&amp;diff=5272"/>
				<updated>2013-03-30T04:28:59Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: change the presentation of the old recipe&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;|Item&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Crafting ingredients&lt;br /&gt;
|-&lt;br /&gt;
|[[Computer]]&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;
|-&lt;br /&gt;
|[[Wired Modem]]&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=Stone          |C3=Stone&lt;br /&gt;
 |Output=Wired_Modem&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Networking Cable]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |          B1=Stone    &lt;br /&gt;
 |A2=Stone |B2=Redstone       |C2=Stone&lt;br /&gt;
           |B3=Stone      &lt;br /&gt;
 |Output=Networking_Cable&lt;br /&gt;
 |OA=6&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Wireless Modem|Wireless Modem]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone          |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=ender_pearl       |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;
|[[Wireless Modem|Wireless Modem (old recipe, changed in 1.5)]]&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;
|[[Disk Drive]]&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=Redstone      |C3=Stone&lt;br /&gt;
 |Output=Disk_Drive&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Floppy Disk]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |B1=Redstone&lt;br /&gt;
 |B2=paper&lt;br /&gt;
 |Output=disk&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Turtle]] (and see [[Turtle#Recipes|Turtle recipes]])&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&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Monitor]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Stone |B1=Stone      |C1=Stone&lt;br /&gt;
 |A2=Stone |B2=glass_pane |C2=Stone&lt;br /&gt;
 |A3=Stone |B3=Stone      |C3=Stone&lt;br /&gt;
 |Output=Monitor&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Printer]]&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=Ink_Sac       |C3=Stone&lt;br /&gt;
 |Output=printer&lt;br /&gt;
 }}&lt;br /&gt;
|-&lt;br /&gt;
|[[Advanced Computer]]&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      |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;
|-&lt;br /&gt;
|[[Advanced Monitor]]&lt;br /&gt;
|{{Crafting grid&lt;br /&gt;
 |A1=Gold_Ingot |B1=Gold_Ingot |C1=Gold_Ingot&lt;br /&gt;
 |A2=Gold_Ingot |B2=glass_pane |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=Gold_Ingot |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Monitor |OA=4&lt;br /&gt;
 }}&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Lists]]&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_(API)&amp;diff=5255</id>
		<title>Talk:Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_(API)&amp;diff=5255"/>
				<updated>2013-03-29T08:23:37Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: /* Syntax Page */ Damn it i typed 3 times wrong&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Is there a way to detect a block's type? Preferably without picking it up; it would be nice to be able to write a function to check the block about to be broken against a list of &amp;quot;Do not break&amp;quot; blocks, such as Industrial craft's MFSU, which loses all held power when picked up. &lt;br /&gt;
&lt;br /&gt;
Also I request a way to set server-wide list of blocks immune to the turtle.dig() functions, such as say personal safes (Industrial Craft again).&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:50.131.199.48|50.131.199.48]] ([[User talk:50.131.199.48|talk]] • [[Special:Contributions/50.131.199.48|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:As far as I know, there's no way to check the block type with the current API. Could be a feature in the future though, never know. {{User:Scarfacial/Signature|22:17 - 8 March 2012}}&lt;br /&gt;
::Would be interesting to see if one could write a function for that. {{User:Banane9/Signature|22:43 - 9 March 2012}}&lt;br /&gt;
:::i would see it too please. But i dont think that you can make that in a function&lt;br /&gt;
:::[[User:Dude|Dude]] 22:13, 9 March 2012 (UTC)&lt;br /&gt;
::::You can determine if the block matches the one in its inventory using turtle.select(slot) and then turtle.compare() or turtle.compareUp() or turtle.compareDown()&lt;br /&gt;
&lt;br /&gt;
== turtle collect ? ==&lt;br /&gt;
&lt;br /&gt;
i understand that the turtle can drop items from its inventory with turtle.drop( [amount] )&lt;br /&gt;
but is there a way to make the turtle collect items (like a player would do) around and store it in inventory ?&lt;br /&gt;
(from what i understand right now the turtle collects items taken from a digged block ?&lt;br /&gt;
thanks&lt;br /&gt;
:Nope they don't collect items that are already dropped --[[User:Banane9|Banane9]] 12:22, 11 July 2012 (UTC)&lt;br /&gt;
:Now in 1.4 there is the [[turtle.suck|turtle.suck()]] function --[[User:Dadmob18|Dadmob18]] 12:22, 27 Sep 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== treefarm ==&lt;br /&gt;
&lt;br /&gt;
i have write a big programm (120 lines) that destory the tree full (with the leaves) when the tree is grown. so the turtle can plant an new tree an beginn at the start. My problem: the programm dont work and i cant find the faults... &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Dude|Dude]] ([[User talk:Dude|talk]] • [[Special:Contributions/Dude|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:Maybe because the leaves of the tree decay and that f*cks up the code? We cant help you without seeing your code ;) --[[User:Banane9|Banane9]] 12:22, 11 July 2012 (UTC)&lt;br /&gt;
::On a similar note, I have written a disassembler script which (mostly) disassembles arbitrary things from the top down, but it really gets messed up by doors and other turtles and pistons, it is basically because interacting with blocks only works well if the blocks don't change while you are trying to deal with them/use them for navigating.&lt;br /&gt;
&lt;br /&gt;
== Turtle API to detect block/item ID? ==&lt;br /&gt;
&lt;br /&gt;
I have a suggestion, what if you have a function like: turtle.getBlockID() which would return ID, damage value, or simmilar&lt;br /&gt;
:Dan doesn't want Block IDs as they'd break the 4th wall. --[[User:Pinkishu|Pinkishu]] 13:12, 16 August 2012 (CEST)&lt;br /&gt;
BlockIDs? Breaking the 4th wall? Weird, but fine. How about returning strings? &amp;quot;Wood&amp;quot;, &amp;quot;Diamond&amp;quot;, &amp;quot;Whatever&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== More than 1 mover per turtle.up() ==&lt;br /&gt;
&lt;br /&gt;
is there a way to make a turtle go up more than once for each turtle.up() ? like maybe turtle.up(36) (i tried that but it said attempt to call nil)&lt;br /&gt;
&lt;br /&gt;
You could use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
turtleold = turtle.up&lt;br /&gt;
function turtlenew(times)&lt;br /&gt;
for i=1,times do&lt;br /&gt;
turtle.up()&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
turtle.up = turtlenew&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then just use turtle.up(5) and stuff, because it overrides the function.&lt;br /&gt;
&lt;br /&gt;
If you want to make sure, the turtle wasn't blocked, you should add a return value. I'd also recommend sticking close to the regular interface, if you replace turtle.up().&lt;br /&gt;
To keep most regular uses working, maybe something like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
turtle.up = function(times)&lt;br /&gt;
  for i=1,times do&lt;br /&gt;
    if not turtle.up() then&lt;br /&gt;
      return false, i&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;br /&gt;
  return true, times&lt;br /&gt;
end&lt;br /&gt;
ok, moves = turtle.up(5)&lt;br /&gt;
if not ok then&lt;br /&gt;
  -- check for obstacles or fuel shortage etc.&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Can you tell the turtle to drop/not pick up unwanted items like dirt, cobble, sand and gravel?&lt;br /&gt;
&lt;br /&gt;
== Detecting Fluids ==&lt;br /&gt;
&lt;br /&gt;
It seems as though water or lava aren't considered as blocks, and I was wondering if it would be possible to make it possible to detect a fluid but not directly, something like a fluid temperature attachment, and&lt;br /&gt;
with that you could distinguish between water, lava and air and perhaps fire. As i said nothing too easy like a function that spits out a string like &amp;quot;water&amp;quot; or &amp;quot;lava&amp;quot; or &amp;quot;air&amp;quot;. Just something that allows the programmer to make functions that can come to those conclusions.&lt;br /&gt;
&lt;br /&gt;
--[[User:Sand|Sand]] 00:46, 7 October 2012 (EDT)&lt;br /&gt;
&lt;br /&gt;
I have also just realized that if there is going to be a way to detect fluids, there will need to be a way to pick them up/ place them as well.&lt;br /&gt;
&lt;br /&gt;
==Anything==&lt;br /&gt;
&lt;br /&gt;
Whenever I try to do anything with a turtle, it says &amp;quot;No such program&amp;quot;, and normally I am good at programming. How do I do even the simplest things with these turtles?&lt;br /&gt;
&lt;br /&gt;
Please post this on the forums. It's easier to reply there. --[[User:Thesbros|Thesbros]] 17:25, 21 October 2012 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Fighting game ==&lt;br /&gt;
&lt;br /&gt;
Check out http://en.wikipedia.org/wiki/Crobots  Just adding a ranged detect() that see's mobs and other turtles and we have crobot fighting games in minecraft :-D&lt;br /&gt;
&lt;br /&gt;
== Syntax Page == &lt;br /&gt;
&lt;br /&gt;
Shouldn't we use this syntax of table for all the others tables ? I think it's nice and clear ! [[User:Viproz|Viproz]] 12:22, 29 March 2013 (MSK)&lt;br /&gt;
&lt;br /&gt;
(change pages like this one : [[Paintutils_(API)]])&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_(API)&amp;diff=5254</id>
		<title>Talk:Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_(API)&amp;diff=5254"/>
				<updated>2013-03-29T08:23:01Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Is there a way to detect a block's type? Preferably without picking it up; it would be nice to be able to write a function to check the block about to be broken against a list of &amp;quot;Do not break&amp;quot; blocks, such as Industrial craft's MFSU, which loses all held power when picked up. &lt;br /&gt;
&lt;br /&gt;
Also I request a way to set server-wide list of blocks immune to the turtle.dig() functions, such as say personal safes (Industrial Craft again).&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:50.131.199.48|50.131.199.48]] ([[User talk:50.131.199.48|talk]] • [[Special:Contributions/50.131.199.48|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:As far as I know, there's no way to check the block type with the current API. Could be a feature in the future though, never know. {{User:Scarfacial/Signature|22:17 - 8 March 2012}}&lt;br /&gt;
::Would be interesting to see if one could write a function for that. {{User:Banane9/Signature|22:43 - 9 March 2012}}&lt;br /&gt;
:::i would see it too please. But i dont think that you can make that in a function&lt;br /&gt;
:::[[User:Dude|Dude]] 22:13, 9 March 2012 (UTC)&lt;br /&gt;
::::You can determine if the block matches the one in its inventory using turtle.select(slot) and then turtle.compare() or turtle.compareUp() or turtle.compareDown()&lt;br /&gt;
&lt;br /&gt;
== turtle collect ? ==&lt;br /&gt;
&lt;br /&gt;
i understand that the turtle can drop items from its inventory with turtle.drop( [amount] )&lt;br /&gt;
but is there a way to make the turtle collect items (like a player would do) around and store it in inventory ?&lt;br /&gt;
(from what i understand right now the turtle collects items taken from a digged block ?&lt;br /&gt;
thanks&lt;br /&gt;
:Nope they don't collect items that are already dropped --[[User:Banane9|Banane9]] 12:22, 11 July 2012 (UTC)&lt;br /&gt;
:Now in 1.4 there is the [[turtle.suck|turtle.suck()]] function --[[User:Dadmob18|Dadmob18]] 12:22, 27 Sep 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== treefarm ==&lt;br /&gt;
&lt;br /&gt;
i have write a big programm (120 lines) that destory the tree full (with the leaves) when the tree is grown. so the turtle can plant an new tree an beginn at the start. My problem: the programm dont work and i cant find the faults... &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Dude|Dude]] ([[User talk:Dude|talk]] • [[Special:Contributions/Dude|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:Maybe because the leaves of the tree decay and that f*cks up the code? We cant help you without seeing your code ;) --[[User:Banane9|Banane9]] 12:22, 11 July 2012 (UTC)&lt;br /&gt;
::On a similar note, I have written a disassembler script which (mostly) disassembles arbitrary things from the top down, but it really gets messed up by doors and other turtles and pistons, it is basically because interacting with blocks only works well if the blocks don't change while you are trying to deal with them/use them for navigating.&lt;br /&gt;
&lt;br /&gt;
== Turtle API to detect block/item ID? ==&lt;br /&gt;
&lt;br /&gt;
I have a suggestion, what if you have a function like: turtle.getBlockID() which would return ID, damage value, or simmilar&lt;br /&gt;
:Dan doesn't want Block IDs as they'd break the 4th wall. --[[User:Pinkishu|Pinkishu]] 13:12, 16 August 2012 (CEST)&lt;br /&gt;
BlockIDs? Breaking the 4th wall? Weird, but fine. How about returning strings? &amp;quot;Wood&amp;quot;, &amp;quot;Diamond&amp;quot;, &amp;quot;Whatever&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== More than 1 mover per turtle.up() ==&lt;br /&gt;
&lt;br /&gt;
is there a way to make a turtle go up more than once for each turtle.up() ? like maybe turtle.up(36) (i tried that but it said attempt to call nil)&lt;br /&gt;
&lt;br /&gt;
You could use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
turtleold = turtle.up&lt;br /&gt;
function turtlenew(times)&lt;br /&gt;
for i=1,times do&lt;br /&gt;
turtle.up()&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
turtle.up = turtlenew&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then just use turtle.up(5) and stuff, because it overrides the function.&lt;br /&gt;
&lt;br /&gt;
If you want to make sure, the turtle wasn't blocked, you should add a return value. I'd also recommend sticking close to the regular interface, if you replace turtle.up().&lt;br /&gt;
To keep most regular uses working, maybe something like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
turtle.up = function(times)&lt;br /&gt;
  for i=1,times do&lt;br /&gt;
    if not turtle.up() then&lt;br /&gt;
      return false, i&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;br /&gt;
  return true, times&lt;br /&gt;
end&lt;br /&gt;
ok, moves = turtle.up(5)&lt;br /&gt;
if not ok then&lt;br /&gt;
  -- check for obstacles or fuel shortage etc.&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Can you tell the turtle to drop/not pick up unwanted items like dirt, cobble, sand and gravel?&lt;br /&gt;
&lt;br /&gt;
== Detecting Fluids ==&lt;br /&gt;
&lt;br /&gt;
It seems as though water or lava aren't considered as blocks, and I was wondering if it would be possible to make it possible to detect a fluid but not directly, something like a fluid temperature attachment, and&lt;br /&gt;
with that you could distinguish between water, lava and air and perhaps fire. As i said nothing too easy like a function that spits out a string like &amp;quot;water&amp;quot; or &amp;quot;lava&amp;quot; or &amp;quot;air&amp;quot;. Just something that allows the programmer to make functions that can come to those conclusions.&lt;br /&gt;
&lt;br /&gt;
--[[User:Sand|Sand]] 00:46, 7 October 2012 (EDT)&lt;br /&gt;
&lt;br /&gt;
I have also just realized that if there is going to be a way to detect fluids, there will need to be a way to pick them up/ place them as well.&lt;br /&gt;
&lt;br /&gt;
==Anything==&lt;br /&gt;
&lt;br /&gt;
Whenever I try to do anything with a turtle, it says &amp;quot;No such program&amp;quot;, and normally I am good at programming. How do I do even the simplest things with these turtles?&lt;br /&gt;
&lt;br /&gt;
Please post this on the forums. It's easier to reply there. --[[User:Thesbros|Thesbros]] 17:25, 21 October 2012 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Fighting game ==&lt;br /&gt;
&lt;br /&gt;
Check out http://en.wikipedia.org/wiki/Crobots  Just adding a ranged detect() that see's mobs and other turtles and we have crobot fighting games in minecraft :-D&lt;br /&gt;
&lt;br /&gt;
== Syntax Page == &lt;br /&gt;
&lt;br /&gt;
Shouldn't we use this syntax of table for all the others tables ? I think it's nice and clear ! [[User:Viproz|Viproz]] 12:22, 29 March 2013 (MSK)&lt;br /&gt;
&lt;br /&gt;
(change pages like this one : [[Paintutils_(API]])&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_(API)&amp;diff=5253</id>
		<title>Talk:Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_(API)&amp;diff=5253"/>
				<updated>2013-03-29T08:22:19Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: Nice syntax question&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Is there a way to detect a block's type? Preferably without picking it up; it would be nice to be able to write a function to check the block about to be broken against a list of &amp;quot;Do not break&amp;quot; blocks, such as Industrial craft's MFSU, which loses all held power when picked up. &lt;br /&gt;
&lt;br /&gt;
Also I request a way to set server-wide list of blocks immune to the turtle.dig() functions, such as say personal safes (Industrial Craft again).&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:50.131.199.48|50.131.199.48]] ([[User talk:50.131.199.48|talk]] • [[Special:Contributions/50.131.199.48|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:As far as I know, there's no way to check the block type with the current API. Could be a feature in the future though, never know. {{User:Scarfacial/Signature|22:17 - 8 March 2012}}&lt;br /&gt;
::Would be interesting to see if one could write a function for that. {{User:Banane9/Signature|22:43 - 9 March 2012}}&lt;br /&gt;
:::i would see it too please. But i dont think that you can make that in a function&lt;br /&gt;
:::[[User:Dude|Dude]] 22:13, 9 March 2012 (UTC)&lt;br /&gt;
::::You can determine if the block matches the one in its inventory using turtle.select(slot) and then turtle.compare() or turtle.compareUp() or turtle.compareDown()&lt;br /&gt;
&lt;br /&gt;
== turtle collect ? ==&lt;br /&gt;
&lt;br /&gt;
i understand that the turtle can drop items from its inventory with turtle.drop( [amount] )&lt;br /&gt;
but is there a way to make the turtle collect items (like a player would do) around and store it in inventory ?&lt;br /&gt;
(from what i understand right now the turtle collects items taken from a digged block ?&lt;br /&gt;
thanks&lt;br /&gt;
:Nope they don't collect items that are already dropped --[[User:Banane9|Banane9]] 12:22, 11 July 2012 (UTC)&lt;br /&gt;
:Now in 1.4 there is the [[turtle.suck|turtle.suck()]] function --[[User:Dadmob18|Dadmob18]] 12:22, 27 Sep 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== treefarm ==&lt;br /&gt;
&lt;br /&gt;
i have write a big programm (120 lines) that destory the tree full (with the leaves) when the tree is grown. so the turtle can plant an new tree an beginn at the start. My problem: the programm dont work and i cant find the faults... &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Dude|Dude]] ([[User talk:Dude|talk]] • [[Special:Contributions/Dude|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:Maybe because the leaves of the tree decay and that f*cks up the code? We cant help you without seeing your code ;) --[[User:Banane9|Banane9]] 12:22, 11 July 2012 (UTC)&lt;br /&gt;
::On a similar note, I have written a disassembler script which (mostly) disassembles arbitrary things from the top down, but it really gets messed up by doors and other turtles and pistons, it is basically because interacting with blocks only works well if the blocks don't change while you are trying to deal with them/use them for navigating.&lt;br /&gt;
&lt;br /&gt;
== Turtle API to detect block/item ID? ==&lt;br /&gt;
&lt;br /&gt;
I have a suggestion, what if you have a function like: turtle.getBlockID() which would return ID, damage value, or simmilar&lt;br /&gt;
:Dan doesn't want Block IDs as they'd break the 4th wall. --[[User:Pinkishu|Pinkishu]] 13:12, 16 August 2012 (CEST)&lt;br /&gt;
BlockIDs? Breaking the 4th wall? Weird, but fine. How about returning strings? &amp;quot;Wood&amp;quot;, &amp;quot;Diamond&amp;quot;, &amp;quot;Whatever&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== More than 1 mover per turtle.up() ==&lt;br /&gt;
&lt;br /&gt;
is there a way to make a turtle go up more than once for each turtle.up() ? like maybe turtle.up(36) (i tried that but it said attempt to call nil)&lt;br /&gt;
&lt;br /&gt;
You could use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
turtleold = turtle.up&lt;br /&gt;
function turtlenew(times)&lt;br /&gt;
for i=1,times do&lt;br /&gt;
turtle.up()&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
turtle.up = turtlenew&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then just use turtle.up(5) and stuff, because it overrides the function.&lt;br /&gt;
&lt;br /&gt;
If you want to make sure, the turtle wasn't blocked, you should add a return value. I'd also recommend sticking close to the regular interface, if you replace turtle.up().&lt;br /&gt;
To keep most regular uses working, maybe something like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
turtle.up = function(times)&lt;br /&gt;
  for i=1,times do&lt;br /&gt;
    if not turtle.up() then&lt;br /&gt;
      return false, i&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;br /&gt;
  return true, times&lt;br /&gt;
end&lt;br /&gt;
ok, moves = turtle.up(5)&lt;br /&gt;
if not ok then&lt;br /&gt;
  -- check for obstacles or fuel shortage etc.&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Can you tell the turtle to drop/not pick up unwanted items like dirt, cobble, sand and gravel?&lt;br /&gt;
&lt;br /&gt;
== Detecting Fluids ==&lt;br /&gt;
&lt;br /&gt;
It seems as though water or lava aren't considered as blocks, and I was wondering if it would be possible to make it possible to detect a fluid but not directly, something like a fluid temperature attachment, and&lt;br /&gt;
with that you could distinguish between water, lava and air and perhaps fire. As i said nothing too easy like a function that spits out a string like &amp;quot;water&amp;quot; or &amp;quot;lava&amp;quot; or &amp;quot;air&amp;quot;. Just something that allows the programmer to make functions that can come to those conclusions.&lt;br /&gt;
&lt;br /&gt;
--[[User:Sand|Sand]] 00:46, 7 October 2012 (EDT)&lt;br /&gt;
&lt;br /&gt;
I have also just realized that if there is going to be a way to detect fluids, there will need to be a way to pick them up/ place them as well.&lt;br /&gt;
&lt;br /&gt;
==Anything==&lt;br /&gt;
&lt;br /&gt;
Whenever I try to do anything with a turtle, it says &amp;quot;No such program&amp;quot;, and normally I am good at programming. How do I do even the simplest things with these turtles?&lt;br /&gt;
&lt;br /&gt;
Please post this on the forums. It's easier to reply there. --[[User:Thesbros|Thesbros]] 17:25, 21 October 2012 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Fighting game ==&lt;br /&gt;
&lt;br /&gt;
Check out http://en.wikipedia.org/wiki/Crobots  Just adding a ranged detect() that see's mobs and other turtles and we have crobot fighting games in minecraft :-D&lt;br /&gt;
&lt;br /&gt;
== Syntax Page == &lt;br /&gt;
&lt;br /&gt;
Shouldn't we use this syntax of table for all the others tables ? I think it's nice and clear ! [[User:Viproz|Viproz]] 12:22, 29 March 2013 (MSK)&lt;br /&gt;
(change pages like this one : [[Paintutils_(API]]))&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_(API)&amp;diff=5252</id>
		<title>Talk:Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Turtle_(API)&amp;diff=5252"/>
				<updated>2013-03-29T08:21:08Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: Nice syntax question&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Is there a way to detect a block's type? Preferably without picking it up; it would be nice to be able to write a function to check the block about to be broken against a list of &amp;quot;Do not break&amp;quot; blocks, such as Industrial craft's MFSU, which loses all held power when picked up. &lt;br /&gt;
&lt;br /&gt;
Also I request a way to set server-wide list of blocks immune to the turtle.dig() functions, such as say personal safes (Industrial Craft again).&amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:50.131.199.48|50.131.199.48]] ([[User talk:50.131.199.48|talk]] • [[Special:Contributions/50.131.199.48|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:As far as I know, there's no way to check the block type with the current API. Could be a feature in the future though, never know. {{User:Scarfacial/Signature|22:17 - 8 March 2012}}&lt;br /&gt;
::Would be interesting to see if one could write a function for that. {{User:Banane9/Signature|22:43 - 9 March 2012}}&lt;br /&gt;
:::i would see it too please. But i dont think that you can make that in a function&lt;br /&gt;
:::[[User:Dude|Dude]] 22:13, 9 March 2012 (UTC)&lt;br /&gt;
::::You can determine if the block matches the one in its inventory using turtle.select(slot) and then turtle.compare() or turtle.compareUp() or turtle.compareDown()&lt;br /&gt;
&lt;br /&gt;
== turtle collect ? ==&lt;br /&gt;
&lt;br /&gt;
i understand that the turtle can drop items from its inventory with turtle.drop( [amount] )&lt;br /&gt;
but is there a way to make the turtle collect items (like a player would do) around and store it in inventory ?&lt;br /&gt;
(from what i understand right now the turtle collects items taken from a digged block ?&lt;br /&gt;
thanks&lt;br /&gt;
:Nope they don't collect items that are already dropped --[[User:Banane9|Banane9]] 12:22, 11 July 2012 (UTC)&lt;br /&gt;
:Now in 1.4 there is the [[turtle.suck|turtle.suck()]] function --[[User:Dadmob18|Dadmob18]] 12:22, 27 Sep 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== treefarm ==&lt;br /&gt;
&lt;br /&gt;
i have write a big programm (120 lines) that destory the tree full (with the leaves) when the tree is grown. so the turtle can plant an new tree an beginn at the start. My problem: the programm dont work and i cant find the faults... &amp;lt;small&amp;gt;&amp;lt;span class=&amp;quot;autosigned&amp;quot;&amp;gt;— Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Dude|Dude]] ([[User talk:Dude|talk]] • [[Special:Contributions/Dude|contribs]]) &amp;lt;/span&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;!-- Template:Unsigned --&amp;gt;&lt;br /&gt;
:Maybe because the leaves of the tree decay and that f*cks up the code? We cant help you without seeing your code ;) --[[User:Banane9|Banane9]] 12:22, 11 July 2012 (UTC)&lt;br /&gt;
::On a similar note, I have written a disassembler script which (mostly) disassembles arbitrary things from the top down, but it really gets messed up by doors and other turtles and pistons, it is basically because interacting with blocks only works well if the blocks don't change while you are trying to deal with them/use them for navigating.&lt;br /&gt;
&lt;br /&gt;
== Turtle API to detect block/item ID? ==&lt;br /&gt;
&lt;br /&gt;
I have a suggestion, what if you have a function like: turtle.getBlockID() which would return ID, damage value, or simmilar&lt;br /&gt;
:Dan doesn't want Block IDs as they'd break the 4th wall. --[[User:Pinkishu|Pinkishu]] 13:12, 16 August 2012 (CEST)&lt;br /&gt;
BlockIDs? Breaking the 4th wall? Weird, but fine. How about returning strings? &amp;quot;Wood&amp;quot;, &amp;quot;Diamond&amp;quot;, &amp;quot;Whatever&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== More than 1 mover per turtle.up() ==&lt;br /&gt;
&lt;br /&gt;
is there a way to make a turtle go up more than once for each turtle.up() ? like maybe turtle.up(36) (i tried that but it said attempt to call nil)&lt;br /&gt;
&lt;br /&gt;
You could use:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
turtleold = turtle.up&lt;br /&gt;
function turtlenew(times)&lt;br /&gt;
for i=1,times do&lt;br /&gt;
turtle.up()&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
turtle.up = turtlenew&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Then just use turtle.up(5) and stuff, because it overrides the function.&lt;br /&gt;
&lt;br /&gt;
If you want to make sure, the turtle wasn't blocked, you should add a return value. I'd also recommend sticking close to the regular interface, if you replace turtle.up().&lt;br /&gt;
To keep most regular uses working, maybe something like:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
turtle.up = function(times)&lt;br /&gt;
  for i=1,times do&lt;br /&gt;
    if not turtle.up() then&lt;br /&gt;
      return false, i&lt;br /&gt;
    end&lt;br /&gt;
  end&lt;br /&gt;
  return true, times&lt;br /&gt;
end&lt;br /&gt;
ok, moves = turtle.up(5)&lt;br /&gt;
if not ok then&lt;br /&gt;
  -- check for obstacles or fuel shortage etc.&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Can you tell the turtle to drop/not pick up unwanted items like dirt, cobble, sand and gravel?&lt;br /&gt;
&lt;br /&gt;
== Detecting Fluids ==&lt;br /&gt;
&lt;br /&gt;
It seems as though water or lava aren't considered as blocks, and I was wondering if it would be possible to make it possible to detect a fluid but not directly, something like a fluid temperature attachment, and&lt;br /&gt;
with that you could distinguish between water, lava and air and perhaps fire. As i said nothing too easy like a function that spits out a string like &amp;quot;water&amp;quot; or &amp;quot;lava&amp;quot; or &amp;quot;air&amp;quot;. Just something that allows the programmer to make functions that can come to those conclusions.&lt;br /&gt;
&lt;br /&gt;
--[[User:Sand|Sand]] 00:46, 7 October 2012 (EDT)&lt;br /&gt;
&lt;br /&gt;
I have also just realized that if there is going to be a way to detect fluids, there will need to be a way to pick them up/ place them as well.&lt;br /&gt;
&lt;br /&gt;
==Anything==&lt;br /&gt;
&lt;br /&gt;
Whenever I try to do anything with a turtle, it says &amp;quot;No such program&amp;quot;, and normally I am good at programming. How do I do even the simplest things with these turtles?&lt;br /&gt;
&lt;br /&gt;
Please post this on the forums. It's easier to reply there. --[[User:Thesbros|Thesbros]] 17:25, 21 October 2012 (EDT)&lt;br /&gt;
&lt;br /&gt;
== Fighting game ==&lt;br /&gt;
&lt;br /&gt;
Check out http://en.wikipedia.org/wiki/Crobots  Just adding a ranged detect() that see's mobs and other turtles and we have crobot fighting games in minecraft :-D&lt;br /&gt;
&lt;br /&gt;
== Syntax Page == &lt;br /&gt;
&lt;br /&gt;
Shouldn't we use this syntax of table for all the others tables ? I think it's nice and clear ! [[User:Viproz|Viproz]] 12:21, 29 March 2013 (MSK)&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.drawPixel&amp;diff=5251</id>
		<title>Paintutils.drawPixel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawPixel&amp;diff=5251"/>
				<updated>2013-03-29T08:17:53Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: BTW need someone to test what it returns&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=paintutils.drawPixel&lt;br /&gt;
 |args=[[int (type)|int]] x, [[int (type)|int]] y, [[colour (API)|colour]] colour&lt;br /&gt;
 |api=paintutils&lt;br /&gt;
 |returns=To complete&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |desc=Draw a pixel on the screen&lt;br /&gt;
 |examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=This code will draw a red pixel at the position (10, 8)&lt;br /&gt;
|code=image = [[paintutils.drawPixel]](10, 8, [[colour (API)|colour]].red)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.drawPixel&amp;diff=5250</id>
		<title>Paintutils.drawPixel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawPixel&amp;diff=5250"/>
				<updated>2013-03-29T08:14:50Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: edit the links to the apis&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=paintutils.drawPixel&lt;br /&gt;
 |args=[[int (type)|int]] x, [[int (type)|int]] y, [[colour (API)|colour]] colour&lt;br /&gt;
 |api=paintutils&lt;br /&gt;
 |returns=To complete&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |desc=Draw a pixel on the screen&lt;br /&gt;
 |examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=This code will draw a pixel in red colour at the position (10, 8)&lt;br /&gt;
|code=image = [[paintutils.drawPixel]](10, 8, [[colour (API)|colour]].red)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.drawPixel&amp;diff=5249</id>
		<title>Paintutils.drawPixel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawPixel&amp;diff=5249"/>
				<updated>2013-03-29T08:13:04Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: Created page with &amp;quot;{{lowercase}} {{Function  |name=paintutils.drawPixel  |args=int x, int y, colour colour  |api=paintutils  |returns=To complete ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=paintutils.drawPixel&lt;br /&gt;
 |args=[[int (type)|int]] x, [[int (type)|int]] y, [[colour (type)|colour]] colour&lt;br /&gt;
 |api=paintutils&lt;br /&gt;
 |returns=To complete&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |desc=Draw a pixel on the screen&lt;br /&gt;
 |examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=This code will draw a pixel in red colour at the position (10, 8)&lt;br /&gt;
|code=image = [[paintutils.drawPixel|paintutils.drawPixel(10, 8, colour.red)]]&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User:Viproz&amp;diff=5222</id>
		<title>User:Viproz</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User:Viproz&amp;diff=5222"/>
				<updated>2013-03-24T21:56:43Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: Created page with &amp;quot;Hi I'm Viproz, I'm french !  I know C/C++ and enough lua to use it with CC, I like this mod, with it we can do whatever we want !&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi I'm Viproz, I'm french !&lt;br /&gt;
&lt;br /&gt;
I know C/C++ and enough lua to use it with CC, I like this mod, with it we can do whatever we want !&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template_talk:Version&amp;diff=5221</id>
		<title>Template talk:Version</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template_talk:Version&amp;diff=5221"/>
				<updated>2013-03-24T21:48:24Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: sign my comment&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the new MCPC+, i think we can remove the bukkit version, Can't we ?&lt;br /&gt;
[[User:Viproz|Viproz]] 01:48, 25 March 2013 (MSK) (edit)&lt;br /&gt;
&lt;br /&gt;
Theoretically, yes - I'd check with Cloudy, as he was porting. Remember to sign your comments with &amp;lt;nowiki&amp;gt;~~~~&amp;lt;/nowiki&amp;gt; (four tildes). ''[[User:AfterLifeLochie|AfterLifeLochie]] 16:16, 24 March 2013 (MSK)''&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template_talk:Version&amp;diff=5218</id>
		<title>Template talk:Version</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template_talk:Version&amp;diff=5218"/>
				<updated>2013-03-24T12:14:08Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: about bukkit&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;With the new MCPC+, i think we can remove the bukkit version, Can't we ?&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Version&amp;diff=5217</id>
		<title>Template:Version</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Version&amp;diff=5217"/>
				<updated>2013-03-24T12:12:04Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: just change the version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ATTENTION WIKI-ENS. Please do not alter the markup on this page,&lt;br /&gt;
  only change the values inside the table-cells (&amp;lt;td&amp;gt;). Thanks and&lt;br /&gt;
  love, AfterLifeLochie                                             --&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;width:100px;&amp;quot;&amp;gt;[[File:Icon_Minecraft.png]]&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;Minecraft&amp;lt;/b&amp;gt;:&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;ComputerCraft '''1.51''' for '''Minecraft 1.5'''&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;width:100px;&amp;quot;&amp;gt;[[File:Icon_Bukkit.png]]&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;Bukkit&amp;lt;/b&amp;gt;:&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;ComputerCraft '''1.41''' for '''MCPC Build 177+'''&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;'''[[Changelog]]'''&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Version&amp;diff=5216</id>
		<title>Template:Version</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Version&amp;diff=5216"/>
				<updated>2013-03-24T12:10:50Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: just change the version&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ATTENTION WIKI-ENS. Please do not alter the markup on this page,&lt;br /&gt;
  only change the values inside the table-cells (&amp;lt;td&amp;gt;). Thanks and&lt;br /&gt;
  love, AfterLifeLochie                                             --&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;width:100px;&amp;quot;&amp;gt;[[File:Icon_Minecraft.png]]&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;Minecraft&amp;lt;/b&amp;gt;:&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;ComputerCraft '''1.5'1'' for '''Minecraft 1.5'''&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;width:100px;&amp;quot;&amp;gt;[[File:Icon_Bukkit.png]]&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;Bukkit&amp;lt;/b&amp;gt;:&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;ComputerCraft '''1.41''' for '''MCPC Build 177+'''&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;'''[[Changelog]]'''&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Advanced_Monitor&amp;diff=5188</id>
		<title>Talk:Advanced Monitor</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Advanced_Monitor&amp;diff=5188"/>
				<updated>2013-03-10T02:39:12Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: Need some help to change the recipe.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Recipe ==&lt;br /&gt;
I can't change the number of production of the recipe, it's not working like on ic2 forums. Does anyone know how to change it ?&lt;br /&gt;
&lt;br /&gt;
== Exclusive Functions Section ==&lt;br /&gt;
I don't think the &amp;quot;exclusive functions&amp;quot; section is necessary.  The notes in the peripheral functions table seems to cover that quite well enough.&lt;br /&gt;
&amp;lt;br /&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;Agreed; it'll be removed now (if not, on my next pass). Anonymous wiki contributor; if you could sign your posts using four tildes (&amp;lt;nowiki&amp;gt;~~~~&amp;lt;/nowiki&amp;gt;), it helps me track comments + suggestions. Thanks. ''[[User:AfterLifeLochie|AfterLifeLochie]] 23:16, 29 November 2012 (MSK)''&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Changelog&amp;diff=5086</id>
		<title>Template:Changelog</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Changelog&amp;diff=5086"/>
				<updated>2013-02-22T06:03:36Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: forget the modem link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 15%&amp;quot; | Version&lt;br /&gt;
! class=&amp;quot;unsortable&amp;quot; | New Features or Changes&lt;br /&gt;
! style=&amp;quot;width: 15%&amp;quot; | Minecraft Version&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/02/11/computercraft-1-5/ Computercraft 1.5]&lt;br /&gt;
|&lt;br /&gt;
*Redesigned Wireless Modems; they can now send and receive on multiple channels, independent of the computer ID. To use these features, interface with modem peripherals directly. The rednet API still functions as before.&lt;br /&gt;
*[[Floppy Disk|Floppy Disks]] can now be dyed with multiple dyes, just like armour.&lt;br /&gt;
*The “excavate” program now retains fuel in it’s inventory, so can run unattended.&lt;br /&gt;
*[[turtle.place]]() now tries all possible block orientations before failing.&lt;br /&gt;
*[[turtle.refuel]](0) returns true if a fuel item is selected.&lt;br /&gt;
*[[turtle.craft]](0) returns true if the inventory is a valid recipe.&lt;br /&gt;
*The in-game help system now has documentation for all the peripherals and their methods, including the new [[modem]] functionality.&lt;br /&gt;
*A romantic surprise.&lt;br /&gt;
|align=center|1.4.7&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/12/27/computercraft-1-481-miscperipherals-fix/ Computercraft 1.481]&lt;br /&gt;
|&lt;br /&gt;
*Fixed compatibility bug with MiscPeripherals.&lt;br /&gt;
|align=center|1.4.6&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/12/23/computercraft-1-48/ Computercraft 1.48]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.6&lt;br /&gt;
*[[Advanced Monitor|Advanced Monitors]] can now be used as touchscreens&lt;br /&gt;
*[[Advanced Monitor|Advanced Monitors]] are now easier to craft&lt;br /&gt;
*[[Turtle|Turtles]] now get slightly less movement from fuel&lt;br /&gt;
*[[Turtle|Turtles]] can now push items&lt;br /&gt;
*[[Computer|Computers]] can now control Command Blocks, if enabled in the config&lt;br /&gt;
*New API function: os.day()&lt;br /&gt;
*A Christmas surprise&lt;br /&gt;
|align=center|1.4.6&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/11/15/computercraft-1-47-and-minecon-news/ ComputerCraft 1.47]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.4&lt;br /&gt;
*Fixed label tooltips not showing up in SMP&lt;br /&gt;
|align=center|1.4.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/25/computercraft-1-46-minecraft-update/ ComputerCraft 1.46]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.2&lt;br /&gt;
*ComputerCraft items now have their own tab in Creative Mode&lt;br /&gt;
|align=center|1.4.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/22/computercraft-1-45-now-with-colors/ ComputerCraft 1.45]&lt;br /&gt;
|&lt;br /&gt;
*Added [[Advanced Computer|Advanced Computers]]&lt;br /&gt;
*Added [[Advanced Monitor|Advanced Monitors]]&lt;br /&gt;
*New program: paint (by nitrogenfingers)&lt;br /&gt;
*New API: [[paintutils_(API)|paintutils]]&lt;br /&gt;
*New term functions: term.setBackgroundColor, term.setTextColor, term.isColor&lt;br /&gt;
*New [[Turtle|Turtle]] function: [[turtle.transferTo]]&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/04/computercraft-1-43-books/ ComputerCraft 1.43]&lt;br /&gt;
|&lt;br /&gt;
*Added Printed Pages (bind several Printed Page items into one with string)&lt;br /&gt;
*Added Printed Books (add a leather cover to the above)&lt;br /&gt;
*Labelled [[Turtle|Turtles]] now keep their fuel when broken&lt;br /&gt;
*Fixed incompatibility with Forge 275 and above&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/09/22/computercraft-1-42-is-released/ ComputerCraft 1.42]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.3.2 and the Forge mod system&lt;br /&gt;
*Added [[Printer|Printers]]&lt;br /&gt;
*Floppy Disks can now be dyed different colours&lt;br /&gt;
*Wireless Crafty Turtles can now be crafted&lt;br /&gt;
*All new textures&lt;br /&gt;
*New Forge config file&lt;br /&gt;
*Various tweaks and bug fixes&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/07/29/computercraft-1-41-bugfix-update/ ComputerCraft 1.41]&lt;br /&gt;
|&lt;br /&gt;
*Fixed labelled [[Computer|Computers]] not keeping their data when destroyed&lt;br /&gt;
*Fixed the “excavate” program outputting lots of spam&lt;br /&gt;
*File system size limits now take into account empty files and directories&lt;br /&gt;
*Some small changes to the Turtle Upgrade API ahead of it’s impending release.(Update: The API has now been released)&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/07/27/computercraft-1-4-is-released/ ComputerCraft 1.4]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Forge Mod Loader: ComputerCraft can now be ran directly from the .zip without extraction&lt;br /&gt;
*Added Farming [[Turtle|Turtles]], Felling [[Turtle|Turtles]], Digging [[Turtle|Turtles]], Melee [[Turtle|Turtles]] and Crafty [[Turtle|Turtles]]&lt;br /&gt;
*Added 14 new[[Turtle|Turtles]] Combinations accessible by combining the turtle upgrades above&lt;br /&gt;
*Labelled [[Computer|Computers]] and turtles can now be crafted into turtles or other turtle types without losing their ID, label and data&lt;br /&gt;
*Added a [[Turtle|Turtles]] Upgrade API” for mod developers to create their own tools and peripherals for turtles&lt;br /&gt;
*[[Turtle|Turtles]] can now attack entities with [[turtle.attack]](), and collect their dropped items&lt;br /&gt;
*[[Turtle|Turtles]] can now use [[turtle.place]]() with any item the player can, and can interact with entities&lt;br /&gt;
*[[Turtle|Turtles]] can now craft items with [[turtle.craft]]()&lt;br /&gt;
*[[Turtle|Turtles]] can now place items into inventories with [[turtle.drop]]()&lt;br /&gt;
*Changed the behaviour of [[turtle.place]]() and [[turtle.drop]]() to only consider the currently selected slot&lt;br /&gt;
*[[Turtle|Turtles]] can now pick up items from the ground, or from inventories, with [[turtle.suck]]()&lt;br /&gt;
*[[Turtle|Turtles]] can now compare items in their inventories&lt;br /&gt;
*[[Turtle|Turtles]] can place signs with text on them with [[turtle.place]]( [signText] )&lt;br /&gt;
*[[Turtle|Turtles]] now optionally require fuel items to move, and can refuel themselves&lt;br /&gt;
*The size of the the [[Turtle|Turtle]] inventory has been increased to 16&lt;br /&gt;
*The size of the [[Turtle|Turtle]] screen has been increased&lt;br /&gt;
*New [[Turtle|Turtle]] functions: [[turtle.compareTo]]( [slotNum] ), [[turtle.craft]](), [[turtle.attack]](), [[turtle.attackUp]](), [[turtle.attackDown]](), [[turtle.drop|turtle.dropUp]](), [[turtle.drop|turtle.dropDown]](), [[turtle.getFuelLevel]](), [[turtle.refuel]]()&lt;br /&gt;
*New [[Disk]] function: [[disk.getDiskID]]()&lt;br /&gt;
*New [[Turtle|Turtle]] programs: craft, refuel&lt;br /&gt;
*“excavate” program now much smarter: Will return items to a chest when full, attack mobs, and refuel itself automatically&lt;br /&gt;
*New API: keys&lt;br /&gt;
*Added optional Floppy Disk and Hard Drive space limits for [[Computer|Computers]] and [[Turtle|Turtles]]&lt;br /&gt;
*New fs function: [[fs.getFreeSpace]]( path ), also [[fs.getDrive]]() works again&lt;br /&gt;
*The send and receive range of wireless modems now increases with altitude, allowing long range networking from high-altitude [[Computer|Computers]] (great for GPS networks)&lt;br /&gt;
*[[http.request]]() now supports https:// URLs&lt;br /&gt;
*Right clicking a [[Disk Drive]] with a [[Floppy Disk]] or a Record when sneaking will insert the item into the [[Disk Drive]] automatically&lt;br /&gt;
*The default size of the [[Computer]] screen has been increased&lt;br /&gt;
*Several stability and security fixes: LuaJ can now no longer leave dangling threads when a computer is unloaded, turtles can no longer be destroyed by tree leaves or walking off the edge of the loaded map. [[Computer|Computers]] no longer crash when used with RedPower frames&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/04/23/computercraft-updated-to-1-2-5/ ComputerCraft 1.33]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.5&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/03/30/computercraft-1-32-out-now/ ComputerCraft 1.32]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.4&lt;br /&gt;
*Fixed a big memory leak in LuaJ that caused extra threads to stay around forever when [[Computer|Computers]] were shut down.&lt;br /&gt;
|align=center|1.2.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/03/13/computercraft-1-31-is-released/ ComputerCraft 1.31]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.3&lt;br /&gt;
*Added [[Monitor|Monitors]] (thanks to Cloudy). Build huge external displays for your [[Computer|Computers]]!&lt;br /&gt;
*New positioning capabilities for [[Computer|Computers]] and [[Turtle|Turtles]]. Build GPS networks and triangulate the positions of your turtles position so they never get lost!&lt;br /&gt;
*New [[turtle.compare]]() function for turtles for more intelligent mining.&lt;br /&gt;
*New programs and APIs: gps, monitor, vector&lt;br /&gt;
*New program: pastebin (requires enableAPI_HTTP=1 in mod_ComputerCraft.cfg), upload and download programs made by other users ingame!&lt;br /&gt;
*Added a new top secret program designed for use with Monitors, see if you can find it.&lt;br /&gt;
*Lots of additions to existing APIs and programs. Type &amp;quot;help whatsnew&amp;quot; in game for the full details.&lt;br /&gt;
|align=center|1.2.3&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/02/23/computercraft-1-3-trailer/ ComputerCraft 1.3]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft Forge.&lt;br /&gt;
*Added [[Turtle|Turtles]], Mining [[Turtle|Turtles]], Wireless [[Turtle|Turtles]] and Wireless Mining [[Turtle|Turtles]] (Block ID 209).&lt;br /&gt;
*Added a Peripheral API to allow mod developers to create custom peripherals for ComputerCraft. Details on this will be posted in the next few days.&lt;br /&gt;
*Added [[Modem|Wireless Modems]]. Use the [[Rednet_(API)|rednet API]] to send data wirelessly between [[Computer|Computers]] and [[Turtle|Turtles]]!&lt;br /&gt;
*[[Computer|Computers]] and Disk Drives no longer get destroyed by water.&lt;br /&gt;
*[[Computer|Computers]] and [[Turtle|Turtles]] can now be labelled, destroyed, and moved around, keeping their state.&lt;br /&gt;
*[[Computer|Computers]] and [[Turtle|Turtles]] can connect to adjacent devices, and turn them on or off.&lt;br /&gt;
*User programs now give line numbers in their error messages, for easier debugging.&lt;br /&gt;
*New APIs and programs for [[Turtle|Turtles]]: turtle, excavate, tunnel, go, turn and dance.&lt;br /&gt;
*Lots of additions to existing APIs and programs. Type &amp;quot;help whatsnew&amp;quot; in game for the full details.&lt;br /&gt;
|align=center|1.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.21&lt;br /&gt;
|&lt;br /&gt;
*Added shortcut key to shutdown the computer.&lt;br /&gt;
*Added a help API add-on pack.&lt;br /&gt;
*Various bug fixes.&lt;br /&gt;
|align=center|1.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.2&lt;br /&gt;
|&lt;br /&gt;
*Added Disk Drives&lt;br /&gt;
*Added shortcut keys to terminate the current program and reboot the computer.&lt;br /&gt;
*Added a new system for user created APIs.&lt;br /&gt;
*Added RedNet.&lt;br /&gt;
*Added [[shell.setPath]]() and [[shell.setAlias]]().&lt;br /&gt;
*Added a new ROM startup script.&lt;br /&gt;
*Added [[os.clock]](), [[os.time]](), and [[os.setAlarm]]().&lt;br /&gt;
*Added game: &amp;quot;Worm!&amp;quot;&lt;br /&gt;
*Added programs: alias, apis, copy, delete, dj, drive, eject, id, label, list, move, reboot, redset, rename, time, worm.&lt;br /&gt;
*Added APIs: bit, colours, disk, help, rednet, parallel, textutils&lt;br /&gt;
*Text can be edited with left and right arrow keys.&lt;br /&gt;
*Many bug fixes&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.11&lt;br /&gt;
|&lt;br /&gt;
*Fixed bug where [[Computer|Computers]] could not read input from RedPower cables which had a bend in the immediately adjacent square.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.1&lt;br /&gt;
|&lt;br /&gt;
*Changed the default block ID for the [[Computer|Computer]] to 207.&lt;br /&gt;
*Added multiplayer support.&lt;br /&gt;
*Added connectivity with RedPower bundled cables.&lt;br /&gt;
*Added HTTP API&lt;br /&gt;
*Fixed support for HD textures on the front of [[Computer|Computers]].&lt;br /&gt;
*Added command history to the [[Computer]].&lt;br /&gt;
*Added config options to change the size of the [[Computer]] GUI and the text color.&lt;br /&gt;
*Programs with infinite loops that don't yield will no longer freeze Minecraft and will terminate after 10 seconds.&lt;br /&gt;
*Extended Help and fixed typos/small errors in various programs.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.02&lt;br /&gt;
|&lt;br /&gt;
*Fixed the MCPatcher HD textures incompatibility that was causing the computer texture to replace cobblestone blocks.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.01&lt;br /&gt;
|&lt;br /&gt;
*Added a ModLoader configuration file, so the computers block ID can be changed.&lt;br /&gt;
*Made the error message that displays when Lua files are not correctly installed much more clear, no more &amp;quot;Assertion failed.&amp;quot;&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.0&lt;br /&gt;
|&lt;br /&gt;
*First Release&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Changelog&amp;diff=5085</id>
		<title>Template:Changelog</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Changelog&amp;diff=5085"/>
				<updated>2013-02-22T06:02:30Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: add links to functions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 15%&amp;quot; | Version&lt;br /&gt;
! class=&amp;quot;unsortable&amp;quot; | New Features or Changes&lt;br /&gt;
! style=&amp;quot;width: 15%&amp;quot; | Minecraft Version&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/02/11/computercraft-1-5/ Computercraft 1.5]&lt;br /&gt;
|&lt;br /&gt;
*Redesigned Wireless Modems; they can now send and receive on multiple channels, independent of the computer ID. To use these features, interface with modem peripherals directly. The rednet API still functions as before.&lt;br /&gt;
*[[Floppy Disk|Floppy Disks]] can now be dyed with multiple dyes, just like armour.&lt;br /&gt;
*The “excavate” program now retains fuel in it’s inventory, so can run unattended.&lt;br /&gt;
*[[turtle.place]]() now tries all possible block orientations before failing.&lt;br /&gt;
*[[turtle.refuel]](0) returns true if a fuel item is selected.&lt;br /&gt;
*[[turtle.craft]](0) returns true if the inventory is a valid recipe.&lt;br /&gt;
*The in-game help system now has documentation for all the peripherals and their methods, including the new modem functionality.&lt;br /&gt;
*A romantic surprise.&lt;br /&gt;
|align=center|1.4.7&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/12/27/computercraft-1-481-miscperipherals-fix/ Computercraft 1.481]&lt;br /&gt;
|&lt;br /&gt;
*Fixed compatibility bug with MiscPeripherals.&lt;br /&gt;
|align=center|1.4.6&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/12/23/computercraft-1-48/ Computercraft 1.48]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.6&lt;br /&gt;
*[[Advanced Monitor|Advanced Monitors]] can now be used as touchscreens&lt;br /&gt;
*[[Advanced Monitor|Advanced Monitors]] are now easier to craft&lt;br /&gt;
*[[Turtle|Turtles]] now get slightly less movement from fuel&lt;br /&gt;
*[[Turtle|Turtles]] can now push items&lt;br /&gt;
*[[Computer|Computers]] can now control Command Blocks, if enabled in the config&lt;br /&gt;
*New API function: os.day()&lt;br /&gt;
*A Christmas surprise&lt;br /&gt;
|align=center|1.4.6&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/11/15/computercraft-1-47-and-minecon-news/ ComputerCraft 1.47]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.4&lt;br /&gt;
*Fixed label tooltips not showing up in SMP&lt;br /&gt;
|align=center|1.4.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/25/computercraft-1-46-minecraft-update/ ComputerCraft 1.46]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.2&lt;br /&gt;
*ComputerCraft items now have their own tab in Creative Mode&lt;br /&gt;
|align=center|1.4.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/22/computercraft-1-45-now-with-colors/ ComputerCraft 1.45]&lt;br /&gt;
|&lt;br /&gt;
*Added [[Advanced Computer|Advanced Computers]]&lt;br /&gt;
*Added [[Advanced Monitor|Advanced Monitors]]&lt;br /&gt;
*New program: paint (by nitrogenfingers)&lt;br /&gt;
*New API: [[paintutils_(API)|paintutils]]&lt;br /&gt;
*New term functions: term.setBackgroundColor, term.setTextColor, term.isColor&lt;br /&gt;
*New [[Turtle|Turtle]] function: [[turtle.transferTo]]&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/04/computercraft-1-43-books/ ComputerCraft 1.43]&lt;br /&gt;
|&lt;br /&gt;
*Added Printed Pages (bind several Printed Page items into one with string)&lt;br /&gt;
*Added Printed Books (add a leather cover to the above)&lt;br /&gt;
*Labelled [[Turtle|Turtles]] now keep their fuel when broken&lt;br /&gt;
*Fixed incompatibility with Forge 275 and above&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/09/22/computercraft-1-42-is-released/ ComputerCraft 1.42]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.3.2 and the Forge mod system&lt;br /&gt;
*Added [[Printer|Printers]]&lt;br /&gt;
*Floppy Disks can now be dyed different colours&lt;br /&gt;
*Wireless Crafty Turtles can now be crafted&lt;br /&gt;
*All new textures&lt;br /&gt;
*New Forge config file&lt;br /&gt;
*Various tweaks and bug fixes&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/07/29/computercraft-1-41-bugfix-update/ ComputerCraft 1.41]&lt;br /&gt;
|&lt;br /&gt;
*Fixed labelled [[Computer|Computers]] not keeping their data when destroyed&lt;br /&gt;
*Fixed the “excavate” program outputting lots of spam&lt;br /&gt;
*File system size limits now take into account empty files and directories&lt;br /&gt;
*Some small changes to the Turtle Upgrade API ahead of it’s impending release.(Update: The API has now been released)&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/07/27/computercraft-1-4-is-released/ ComputerCraft 1.4]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Forge Mod Loader: ComputerCraft can now be ran directly from the .zip without extraction&lt;br /&gt;
*Added Farming [[Turtle|Turtles]], Felling [[Turtle|Turtles]], Digging [[Turtle|Turtles]], Melee [[Turtle|Turtles]] and Crafty [[Turtle|Turtles]]&lt;br /&gt;
*Added 14 new[[Turtle|Turtles]] Combinations accessible by combining the turtle upgrades above&lt;br /&gt;
*Labelled [[Computer|Computers]] and turtles can now be crafted into turtles or other turtle types without losing their ID, label and data&lt;br /&gt;
*Added a [[Turtle|Turtles]] Upgrade API” for mod developers to create their own tools and peripherals for turtles&lt;br /&gt;
*[[Turtle|Turtles]] can now attack entities with [[turtle.attack]](), and collect their dropped items&lt;br /&gt;
*[[Turtle|Turtles]] can now use [[turtle.place]]() with any item the player can, and can interact with entities&lt;br /&gt;
*[[Turtle|Turtles]] can now craft items with [[turtle.craft]]()&lt;br /&gt;
*[[Turtle|Turtles]] can now place items into inventories with [[turtle.drop]]()&lt;br /&gt;
*Changed the behaviour of [[turtle.place]]() and [[turtle.drop]]() to only consider the currently selected slot&lt;br /&gt;
*[[Turtle|Turtles]] can now pick up items from the ground, or from inventories, with [[turtle.suck]]()&lt;br /&gt;
*[[Turtle|Turtles]] can now compare items in their inventories&lt;br /&gt;
*[[Turtle|Turtles]] can place signs with text on them with [[turtle.place]]( [signText] )&lt;br /&gt;
*[[Turtle|Turtles]] now optionally require fuel items to move, and can refuel themselves&lt;br /&gt;
*The size of the the [[Turtle|Turtle]] inventory has been increased to 16&lt;br /&gt;
*The size of the [[Turtle|Turtle]] screen has been increased&lt;br /&gt;
*New [[Turtle|Turtle]] functions: [[turtle.compareTo]]( [slotNum] ), [[turtle.craft]](), [[turtle.attack]](), [[turtle.attackUp]](), [[turtle.attackDown]](), [[turtle.drop|turtle.dropUp]](), [[turtle.drop|turtle.dropDown]](), [[turtle.getFuelLevel]](), [[turtle.refuel]]()&lt;br /&gt;
*New [[Disk]] function: [[disk.getDiskID]]()&lt;br /&gt;
*New [[Turtle|Turtle]] programs: craft, refuel&lt;br /&gt;
*“excavate” program now much smarter: Will return items to a chest when full, attack mobs, and refuel itself automatically&lt;br /&gt;
*New API: keys&lt;br /&gt;
*Added optional Floppy Disk and Hard Drive space limits for [[Computer|Computers]] and [[Turtle|Turtles]]&lt;br /&gt;
*New fs function: [[fs.getFreeSpace]]( path ), also [[fs.getDrive]]() works again&lt;br /&gt;
*The send and receive range of wireless modems now increases with altitude, allowing long range networking from high-altitude [[Computer|Computers]] (great for GPS networks)&lt;br /&gt;
*[[http.request]]() now supports https:// URLs&lt;br /&gt;
*Right clicking a [[Disk Drive]] with a [[Floppy Disk]] or a Record when sneaking will insert the item into the [[Disk Drive]] automatically&lt;br /&gt;
*The default size of the [[Computer]] screen has been increased&lt;br /&gt;
*Several stability and security fixes: LuaJ can now no longer leave dangling threads when a computer is unloaded, turtles can no longer be destroyed by tree leaves or walking off the edge of the loaded map. [[Computer|Computers]] no longer crash when used with RedPower frames&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/04/23/computercraft-updated-to-1-2-5/ ComputerCraft 1.33]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.5&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/03/30/computercraft-1-32-out-now/ ComputerCraft 1.32]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.4&lt;br /&gt;
*Fixed a big memory leak in LuaJ that caused extra threads to stay around forever when [[Computer|Computers]] were shut down.&lt;br /&gt;
|align=center|1.2.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/03/13/computercraft-1-31-is-released/ ComputerCraft 1.31]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.3&lt;br /&gt;
*Added [[Monitor|Monitors]] (thanks to Cloudy). Build huge external displays for your [[Computer|Computers]]!&lt;br /&gt;
*New positioning capabilities for [[Computer|Computers]] and [[Turtle|Turtles]]. Build GPS networks and triangulate the positions of your turtles position so they never get lost!&lt;br /&gt;
*New [[turtle.compare]]() function for turtles for more intelligent mining.&lt;br /&gt;
*New programs and APIs: gps, monitor, vector&lt;br /&gt;
*New program: pastebin (requires enableAPI_HTTP=1 in mod_ComputerCraft.cfg), upload and download programs made by other users ingame!&lt;br /&gt;
*Added a new top secret program designed for use with Monitors, see if you can find it.&lt;br /&gt;
*Lots of additions to existing APIs and programs. Type &amp;quot;help whatsnew&amp;quot; in game for the full details.&lt;br /&gt;
|align=center|1.2.3&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/02/23/computercraft-1-3-trailer/ ComputerCraft 1.3]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft Forge.&lt;br /&gt;
*Added [[Turtle|Turtles]], Mining [[Turtle|Turtles]], Wireless [[Turtle|Turtles]] and Wireless Mining [[Turtle|Turtles]] (Block ID 209).&lt;br /&gt;
*Added a Peripheral API to allow mod developers to create custom peripherals for ComputerCraft. Details on this will be posted in the next few days.&lt;br /&gt;
*Added [[Modem|Wireless Modems]]. Use the [[Rednet_(API)|rednet API]] to send data wirelessly between [[Computer|Computers]] and [[Turtle|Turtles]]!&lt;br /&gt;
*[[Computer|Computers]] and Disk Drives no longer get destroyed by water.&lt;br /&gt;
*[[Computer|Computers]] and [[Turtle|Turtles]] can now be labelled, destroyed, and moved around, keeping their state.&lt;br /&gt;
*[[Computer|Computers]] and [[Turtle|Turtles]] can connect to adjacent devices, and turn them on or off.&lt;br /&gt;
*User programs now give line numbers in their error messages, for easier debugging.&lt;br /&gt;
*New APIs and programs for [[Turtle|Turtles]]: turtle, excavate, tunnel, go, turn and dance.&lt;br /&gt;
*Lots of additions to existing APIs and programs. Type &amp;quot;help whatsnew&amp;quot; in game for the full details.&lt;br /&gt;
|align=center|1.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.21&lt;br /&gt;
|&lt;br /&gt;
*Added shortcut key to shutdown the computer.&lt;br /&gt;
*Added a help API add-on pack.&lt;br /&gt;
*Various bug fixes.&lt;br /&gt;
|align=center|1.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.2&lt;br /&gt;
|&lt;br /&gt;
*Added Disk Drives&lt;br /&gt;
*Added shortcut keys to terminate the current program and reboot the computer.&lt;br /&gt;
*Added a new system for user created APIs.&lt;br /&gt;
*Added RedNet.&lt;br /&gt;
*Added [[shell.setPath]]() and [[shell.setAlias]]().&lt;br /&gt;
*Added a new ROM startup script.&lt;br /&gt;
*Added [[os.clock]](), [[os.time]](), and [[os.setAlarm]]().&lt;br /&gt;
*Added game: &amp;quot;Worm!&amp;quot;&lt;br /&gt;
*Added programs: alias, apis, copy, delete, dj, drive, eject, id, label, list, move, reboot, redset, rename, time, worm.&lt;br /&gt;
*Added APIs: bit, colours, disk, help, rednet, parallel, textutils&lt;br /&gt;
*Text can be edited with left and right arrow keys.&lt;br /&gt;
*Many bug fixes&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.11&lt;br /&gt;
|&lt;br /&gt;
*Fixed bug where [[Computer|Computers]] could not read input from RedPower cables which had a bend in the immediately adjacent square.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.1&lt;br /&gt;
|&lt;br /&gt;
*Changed the default block ID for the [[Computer|Computer]] to 207.&lt;br /&gt;
*Added multiplayer support.&lt;br /&gt;
*Added connectivity with RedPower bundled cables.&lt;br /&gt;
*Added HTTP API&lt;br /&gt;
*Fixed support for HD textures on the front of [[Computer|Computers]].&lt;br /&gt;
*Added command history to the [[Computer]].&lt;br /&gt;
*Added config options to change the size of the [[Computer]] GUI and the text color.&lt;br /&gt;
*Programs with infinite loops that don't yield will no longer freeze Minecraft and will terminate after 10 seconds.&lt;br /&gt;
*Extended Help and fixed typos/small errors in various programs.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.02&lt;br /&gt;
|&lt;br /&gt;
*Fixed the MCPatcher HD textures incompatibility that was causing the computer texture to replace cobblestone blocks.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.01&lt;br /&gt;
|&lt;br /&gt;
*Added a ModLoader configuration file, so the computers block ID can be changed.&lt;br /&gt;
*Made the error message that displays when Lua files are not correctly installed much more clear, no more &amp;quot;Assertion failed.&amp;quot;&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.0&lt;br /&gt;
|&lt;br /&gt;
*First Release&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Version&amp;diff=5084</id>
		<title>Template:Version</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Version&amp;diff=5084"/>
				<updated>2013-02-22T05:58:58Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: Edit version number&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- ATTENTION WIKI-ENS. Please do not alter the markup on this page,&lt;br /&gt;
  only change the values inside the table-cells (&amp;lt;td&amp;gt;). Thanks and&lt;br /&gt;
  love, AfterLifeLochie                                             --&amp;gt;&lt;br /&gt;
&amp;lt;table style=&amp;quot;width:100%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;width:100px;&amp;quot;&amp;gt;[[File:Icon_Minecraft.png]]&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;Minecraft&amp;lt;/b&amp;gt;:&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;ComputerCraft '''1.5''' for '''Minecraft 1.4.7 &amp;amp; 1.4.6'''&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;width:100px;&amp;quot;&amp;gt;[[File:Icon_Bukkit.png]]&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;b&amp;gt;Bukkit&amp;lt;/b&amp;gt;:&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;ComputerCraft '''1.41''' for '''MCPC Build 177+'''&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;'''[[Changelog]]'''&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Template:Changelog&amp;diff=5083</id>
		<title>Template:Changelog</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Template:Changelog&amp;diff=5083"/>
				<updated>2013-02-22T05:56:19Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: Add version 1.5&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;width: 100%&amp;quot;&lt;br /&gt;
! style=&amp;quot;width: 15%&amp;quot; | Version&lt;br /&gt;
! class=&amp;quot;unsortable&amp;quot; | New Features or Changes&lt;br /&gt;
! style=&amp;quot;width: 15%&amp;quot; | Minecraft Version&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2013/02/11/computercraft-1-5/ Computercraft 1.5]&lt;br /&gt;
|&lt;br /&gt;
*Redesigned Wireless Modems; they can now send and receive on multiple channels, independent of the computer ID. To use these features, interface with modem peripherals directly. The rednet API still functions as before.&lt;br /&gt;
*Floppy Disks can now be dyed with multiple dyes, just like armour.&lt;br /&gt;
*The “excavate” program now retains fuel in it’s inventory, so can run unattended.&lt;br /&gt;
*turtle.place() now tries all possible block orientations before failing.&lt;br /&gt;
*turtle.refuel(0) returns true if a fuel item is selected.&lt;br /&gt;
*turtle.craft(0) returns true if the inventory is a valid recipe.&lt;br /&gt;
*The in-game help system now has documentation for all the peripherals and their methods, including the new modem functionality.&lt;br /&gt;
*A romantic surprise.&lt;br /&gt;
|align=center|1.4.7&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/12/27/computercraft-1-481-miscperipherals-fix/ Computercraft 1.481]&lt;br /&gt;
|&lt;br /&gt;
*Fixed compatibility bug with MiscPeripherals.&lt;br /&gt;
|align=center|1.4.6&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/12/23/computercraft-1-48/ Computercraft 1.48]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.6&lt;br /&gt;
*[[Advanced Monitor|Advanced Monitors]] can now be used as touchscreens&lt;br /&gt;
*[[Advanced Monitor|Advanced Monitors]] are now easier to craft&lt;br /&gt;
*[[Turtle|Turtles]] now get slightly less movement from fuel&lt;br /&gt;
*[[Turtle|Turtles]] can now push items&lt;br /&gt;
*[[Computer|Computers]] can now control Command Blocks, if enabled in the config&lt;br /&gt;
*New API function: os.day()&lt;br /&gt;
*A Christmas surprise&lt;br /&gt;
|align=center|1.4.6&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/11/15/computercraft-1-47-and-minecon-news/ ComputerCraft 1.47]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.4&lt;br /&gt;
*Fixed label tooltips not showing up in SMP&lt;br /&gt;
|align=center|1.4.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/25/computercraft-1-46-minecraft-update/ ComputerCraft 1.46]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.4.2&lt;br /&gt;
*ComputerCraft items now have their own tab in Creative Mode&lt;br /&gt;
|align=center|1.4.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/22/computercraft-1-45-now-with-colors/ ComputerCraft 1.45]&lt;br /&gt;
|&lt;br /&gt;
*Added [[Advanced Computer|Advanced Computers]]&lt;br /&gt;
*Added [[Advanced Monitor|Advanced Monitors]]&lt;br /&gt;
*New program: paint (by nitrogenfingers)&lt;br /&gt;
*New API: [[paintutils_(API)|paintutils]]&lt;br /&gt;
*New term functions: term.setBackgroundColor, term.setTextColor, term.isColor&lt;br /&gt;
*New [[Turtle|Turtle]] function: [[turtle.transferTo]]&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/10/04/computercraft-1-43-books/ ComputerCraft 1.43]&lt;br /&gt;
|&lt;br /&gt;
*Added Printed Pages (bind several Printed Page items into one with string)&lt;br /&gt;
*Added Printed Books (add a leather cover to the above)&lt;br /&gt;
*Labelled [[Turtle|Turtles]] now keep their fuel when broken&lt;br /&gt;
*Fixed incompatibility with Forge 275 and above&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/09/22/computercraft-1-42-is-released/ ComputerCraft 1.42]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.3.2 and the Forge mod system&lt;br /&gt;
*Added [[Printer|Printers]]&lt;br /&gt;
*Floppy Disks can now be dyed different colours&lt;br /&gt;
*Wireless Crafty Turtles can now be crafted&lt;br /&gt;
*All new textures&lt;br /&gt;
*New Forge config file&lt;br /&gt;
*Various tweaks and bug fixes&lt;br /&gt;
|align=center|1.3.2&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/07/29/computercraft-1-41-bugfix-update/ ComputerCraft 1.41]&lt;br /&gt;
|&lt;br /&gt;
*Fixed labelled [[Computer|Computers]] not keeping their data when destroyed&lt;br /&gt;
*Fixed the “excavate” program outputting lots of spam&lt;br /&gt;
*File system size limits now take into account empty files and directories&lt;br /&gt;
*Some small changes to the Turtle Upgrade API ahead of it’s impending release.(Update: The API has now been released)&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/07/27/computercraft-1-4-is-released/ ComputerCraft 1.4]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Forge Mod Loader: ComputerCraft can now be ran directly from the .zip without extraction&lt;br /&gt;
*Added Farming [[Turtle|Turtles]], Felling [[Turtle|Turtles]], Digging [[Turtle|Turtles]], Melee [[Turtle|Turtles]] and Crafty [[Turtle|Turtles]]&lt;br /&gt;
*Added 14 new[[Turtle|Turtles]] Combinations accessible by combining the turtle upgrades above&lt;br /&gt;
*Labelled [[Computer|Computers]] and turtles can now be crafted into turtles or other turtle types without losing their ID, label and data&lt;br /&gt;
*Added a [[Turtle|Turtles]] Upgrade API” for mod developers to create their own tools and peripherals for turtles&lt;br /&gt;
*[[Turtle|Turtles]] can now attack entities with [[turtle.attack]](), and collect their dropped items&lt;br /&gt;
*[[Turtle|Turtles]] can now use [[turtle.place]]() with any item the player can, and can interact with entities&lt;br /&gt;
*[[Turtle|Turtles]] can now craft items with [[turtle.craft]]()&lt;br /&gt;
*[[Turtle|Turtles]] can now place items into inventories with [[turtle.drop]]()&lt;br /&gt;
*Changed the behaviour of [[turtle.place]]() and [[turtle.drop]]() to only consider the currently selected slot&lt;br /&gt;
*[[Turtle|Turtles]] can now pick up items from the ground, or from inventories, with [[turtle.suck]]()&lt;br /&gt;
*[[Turtle|Turtles]] can now compare items in their inventories&lt;br /&gt;
*[[Turtle|Turtles]] can place signs with text on them with [[turtle.place]]( [signText] )&lt;br /&gt;
*[[Turtle|Turtles]] now optionally require fuel items to move, and can refuel themselves&lt;br /&gt;
*The size of the the [[Turtle|Turtle]] inventory has been increased to 16&lt;br /&gt;
*The size of the [[Turtle|Turtle]] screen has been increased&lt;br /&gt;
*New [[Turtle|Turtle]] functions: [[turtle.compareTo]]( [slotNum] ), [[turtle.craft]](), [[turtle.attack]](), [[turtle.attackUp]](), [[turtle.attackDown]](), [[turtle.drop|turtle.dropUp]](), [[turtle.drop|turtle.dropDown]](), [[turtle.getFuelLevel]](), [[turtle.refuel]]()&lt;br /&gt;
*New [[Disk]] function: [[disk.getDiskID]]()&lt;br /&gt;
*New [[Turtle|Turtle]] programs: craft, refuel&lt;br /&gt;
*“excavate” program now much smarter: Will return items to a chest when full, attack mobs, and refuel itself automatically&lt;br /&gt;
*New API: keys&lt;br /&gt;
*Added optional Floppy Disk and Hard Drive space limits for [[Computer|Computers]] and [[Turtle|Turtles]]&lt;br /&gt;
*New fs function: [[fs.getFreeSpace]]( path ), also [[fs.getDrive]]() works again&lt;br /&gt;
*The send and receive range of wireless modems now increases with altitude, allowing long range networking from high-altitude [[Computer|Computers]] (great for GPS networks)&lt;br /&gt;
*[[http.request]]() now supports https:// URLs&lt;br /&gt;
*Right clicking a [[Disk Drive]] with a [[Floppy Disk]] or a Record when sneaking will insert the item into the [[Disk Drive]] automatically&lt;br /&gt;
*The default size of the [[Computer]] screen has been increased&lt;br /&gt;
*Several stability and security fixes: LuaJ can now no longer leave dangling threads when a computer is unloaded, turtles can no longer be destroyed by tree leaves or walking off the edge of the loaded map. [[Computer|Computers]] no longer crash when used with RedPower frames&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/04/23/computercraft-updated-to-1-2-5/ ComputerCraft 1.33]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.5&lt;br /&gt;
|align=center|1.2.5&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/03/30/computercraft-1-32-out-now/ ComputerCraft 1.32]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.4&lt;br /&gt;
*Fixed a big memory leak in LuaJ that caused extra threads to stay around forever when [[Computer|Computers]] were shut down.&lt;br /&gt;
|align=center|1.2.4&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/03/13/computercraft-1-31-is-released/ ComputerCraft 1.31]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft 1.2.3&lt;br /&gt;
*Added [[Monitor|Monitors]] (thanks to Cloudy). Build huge external displays for your [[Computer|Computers]]!&lt;br /&gt;
*New positioning capabilities for [[Computer|Computers]] and [[Turtle|Turtles]]. Build GPS networks and triangulate the positions of your turtles position so they never get lost!&lt;br /&gt;
*New [[turtle.compare]]() function for turtles for more intelligent mining.&lt;br /&gt;
*New programs and APIs: gps, monitor, vector&lt;br /&gt;
*New program: pastebin (requires enableAPI_HTTP=1 in mod_ComputerCraft.cfg), upload and download programs made by other users ingame!&lt;br /&gt;
*Added a new top secret program designed for use with Monitors, see if you can find it.&lt;br /&gt;
*Lots of additions to existing APIs and programs. Type &amp;quot;help whatsnew&amp;quot; in game for the full details.&lt;br /&gt;
|align=center|1.2.3&lt;br /&gt;
|-&lt;br /&gt;
|align=center|[http://www.computercraft.info/2012/02/23/computercraft-1-3-trailer/ ComputerCraft 1.3]&lt;br /&gt;
|&lt;br /&gt;
*Ported to Minecraft Forge.&lt;br /&gt;
*Added [[Turtle|Turtles]], Mining [[Turtle|Turtles]], Wireless [[Turtle|Turtles]] and Wireless Mining [[Turtle|Turtles]] (Block ID 209).&lt;br /&gt;
*Added a Peripheral API to allow mod developers to create custom peripherals for ComputerCraft. Details on this will be posted in the next few days.&lt;br /&gt;
*Added [[Modem|Wireless Modems]]. Use the [[Rednet_(API)|rednet API]] to send data wirelessly between [[Computer|Computers]] and [[Turtle|Turtles]]!&lt;br /&gt;
*[[Computer|Computers]] and Disk Drives no longer get destroyed by water.&lt;br /&gt;
*[[Computer|Computers]] and [[Turtle|Turtles]] can now be labelled, destroyed, and moved around, keeping their state.&lt;br /&gt;
*[[Computer|Computers]] and [[Turtle|Turtles]] can connect to adjacent devices, and turn them on or off.&lt;br /&gt;
*User programs now give line numbers in their error messages, for easier debugging.&lt;br /&gt;
*New APIs and programs for [[Turtle|Turtles]]: turtle, excavate, tunnel, go, turn and dance.&lt;br /&gt;
*Lots of additions to existing APIs and programs. Type &amp;quot;help whatsnew&amp;quot; in game for the full details.&lt;br /&gt;
|align=center|1.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.21&lt;br /&gt;
|&lt;br /&gt;
*Added shortcut key to shutdown the computer.&lt;br /&gt;
*Added a help API add-on pack.&lt;br /&gt;
*Various bug fixes.&lt;br /&gt;
|align=center|1.1&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.2&lt;br /&gt;
|&lt;br /&gt;
*Added Disk Drives&lt;br /&gt;
*Added shortcut keys to terminate the current program and reboot the computer.&lt;br /&gt;
*Added a new system for user created APIs.&lt;br /&gt;
*Added RedNet.&lt;br /&gt;
*Added [[shell.setPath]]() and [[shell.setAlias]]().&lt;br /&gt;
*Added a new ROM startup script.&lt;br /&gt;
*Added [[os.clock]](), [[os.time]](), and [[os.setAlarm]]().&lt;br /&gt;
*Added game: &amp;quot;Worm!&amp;quot;&lt;br /&gt;
*Added programs: alias, apis, copy, delete, dj, drive, eject, id, label, list, move, reboot, redset, rename, time, worm.&lt;br /&gt;
*Added APIs: bit, colours, disk, help, rednet, parallel, textutils&lt;br /&gt;
*Text can be edited with left and right arrow keys.&lt;br /&gt;
*Many bug fixes&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.11&lt;br /&gt;
|&lt;br /&gt;
*Fixed bug where [[Computer|Computers]] could not read input from RedPower cables which had a bend in the immediately adjacent square.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.1&lt;br /&gt;
|&lt;br /&gt;
*Changed the default block ID for the [[Computer|Computer]] to 207.&lt;br /&gt;
*Added multiplayer support.&lt;br /&gt;
*Added connectivity with RedPower bundled cables.&lt;br /&gt;
*Added HTTP API&lt;br /&gt;
*Fixed support for HD textures on the front of [[Computer|Computers]].&lt;br /&gt;
*Added command history to the [[Computer]].&lt;br /&gt;
*Added config options to change the size of the [[Computer]] GUI and the text color.&lt;br /&gt;
*Programs with infinite loops that don't yield will no longer freeze Minecraft and will terminate after 10 seconds.&lt;br /&gt;
*Extended Help and fixed typos/small errors in various programs.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.02&lt;br /&gt;
|&lt;br /&gt;
*Fixed the MCPatcher HD textures incompatibility that was causing the computer texture to replace cobblestone blocks.&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.01&lt;br /&gt;
|&lt;br /&gt;
*Added a ModLoader configuration file, so the computers block ID can be changed.&lt;br /&gt;
*Made the error message that displays when Lua files are not correctly installed much more clear, no more &amp;quot;Assertion failed.&amp;quot;&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|-&lt;br /&gt;
|align=center|ComputerCraft 1.0&lt;br /&gt;
|&lt;br /&gt;
*First Release&lt;br /&gt;
|align=center|1.0&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=5072</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=5072"/>
				<updated>2013-02-12T07:22:16Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: &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|bool}} success&lt;br /&gt;
|[[turtle.craft]]( 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|bool}} success&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Let the Turtle move forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Let the Turtle move back&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Let the Turtle move up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Let the Turtle move down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|Let the Turtle turn left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|Let the Turtle turn right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.select]](slotNum)&lt;br /&gt;
|The Turtle selects the given Slot (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}} result&lt;br /&gt;
|[[turtle.getItemCount]](slotNum)&lt;br /&gt;
|Counts how many items are in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|int}} result&lt;br /&gt;
|[[turtle.getItemSpace]](slotNum)&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|bool}} 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|bool}} success &lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks over the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} success&lt;br /&gt;
|[[turtle.place]](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|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} result&lt;br /&gt;
|[[turtle.compareTo]](slot)&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same, yields true if they are the same, and false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.drop]](count)&lt;br /&gt;
|Drops all items in the selected slot, or if count is specified, drops that many 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|bool}} success&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]](count)&lt;br /&gt;
|Drops all items in the selected slot, or if count is specified, drops that many 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|bool}} success&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]](count)&lt;br /&gt;
|Drops all items in the selected slot, or if count is specified, drops that many 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|bool}} 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. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.suckUp]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.suckDown]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.refuel]](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 yields 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 yields &amp;quot;unlimited&amp;quot;.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.transferTo]](slot, quantity)&lt;br /&gt;
|Transfers items from the selected slot to the specified slot in the [quantity] inputted.&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>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=5071</id>
		<title>Turtle (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle_(API)&amp;diff=5071"/>
				<updated>2013-02-12T07:20:44Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: &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|bool}} success&lt;br /&gt;
|[[turtle.craft]]( 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|bool}} success&lt;br /&gt;
|[[turtle.forward]]()&lt;br /&gt;
|Let the Turtle move forward&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.back]]()&lt;br /&gt;
|Let the Turtle move back&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.up]]()&lt;br /&gt;
|Let the Turtle move up&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.down]]()&lt;br /&gt;
|Let the Turtle move down &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.turnLeft]]()&lt;br /&gt;
|The Turtle turns left&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.turnRight]]()&lt;br /&gt;
|The Turtle turns right&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.select]](slotNum)&lt;br /&gt;
|The Turtle selects the given Slot (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}} result&lt;br /&gt;
|[[turtle.getItemCount]](slotNum)&lt;br /&gt;
|Counts how many items are in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|{{type|int}} result&lt;br /&gt;
|[[turtle.getItemSpace]](slotNum)&lt;br /&gt;
|Counts how many remaining items you need to fill the stack in the given Slot&lt;br /&gt;
|&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|bool}} 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|bool}} success &lt;br /&gt;
|[[turtle.attackUp]]()&lt;br /&gt;
|Attacks over the turtle.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-{{row-lightred}}&lt;br /&gt;
|{{type|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} success&lt;br /&gt;
|[[turtle.place]](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|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} 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|bool}} result&lt;br /&gt;
|[[turtle.compareTo]](slot)&lt;br /&gt;
|Compare the current selected slot and the given slot to see if the items are the same, yields true if they are the same, and false if not.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.drop]](count)&lt;br /&gt;
|Drops all items in the selected slot, or if count is specified, drops that many 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|bool}} success&lt;br /&gt;
|[[turtle.drop|turtle.dropUp]](count)&lt;br /&gt;
|Drops all items in the selected slot, or if count is specified, drops that many 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|bool}} success&lt;br /&gt;
|[[turtle.drop|turtle.dropDown]](count)&lt;br /&gt;
|Drops all items in the selected slot, or if count is specified, drops that many 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|bool}} 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. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.suckUp]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory above the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.suckDown]]()&lt;br /&gt;
|Picks up an item stack of any number, from the ground or an inventory below the turtle. If the turtle can't pick up the item, the function yields false.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.refuel]](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 yields 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 yields &amp;quot;unlimited&amp;quot;.&lt;br /&gt;
| 1.4&lt;br /&gt;
|-&lt;br /&gt;
|{{type|bool}} success&lt;br /&gt;
|[[turtle.transferTo]](slot, quantity)&lt;br /&gt;
|Transfers items from the selected slot to the specified slot in the [quantity] inputted.&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>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Os.pullEvent&amp;diff=4908</id>
		<title>Os.pullEvent</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Os.pullEvent&amp;diff=4908"/>
				<updated>2013-01-08T01:32:18Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: /* Event types */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=os.pullEvent&lt;br /&gt;
 |args=([[string]]) filter&lt;br /&gt;
 |api=OS&lt;br /&gt;
 |returns=(string)event, variable parameters(see table below)&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |desc=Waits (yields) until an event occurs&lt;br /&gt;
 |examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=The program requires to wait for a keypress to do something:&lt;br /&gt;
|code=[[Function (type)|function]] clear()&lt;br /&gt;
    [[term.clear]]()&lt;br /&gt;
    [[term.setCursorPos]] (1,1)&lt;br /&gt;
 end&lt;br /&gt;
 while true do&lt;br /&gt;
    clear()&lt;br /&gt;
    [[print]] (&amp;quot;Press E to do something.&amp;quot;)&lt;br /&gt;
    local event, param1 = os.pullEvent (&amp;quot;char&amp;quot;) -- limit os.pullEvent to the char event&lt;br /&gt;
    if param1 == &amp;quot;e&amp;quot; then -- if the returned value was 'e'&lt;br /&gt;
        clear()&lt;br /&gt;
        [[write]] (&amp;quot;Name: &amp;quot;)&lt;br /&gt;
        local name = [[read]]()&lt;br /&gt;
        [[print]] (name)&lt;br /&gt;
        break&lt;br /&gt;
    else&lt;br /&gt;
        clear()&lt;br /&gt;
        [[print]] (&amp;quot;Wrong button!&amp;quot;)&lt;br /&gt;
        [[os.sleep|sleep]] (1.5) -- I don't like a whole 2 seconds but 1 second is too short&lt;br /&gt;
    end&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Common syntax ===&lt;br /&gt;
&lt;br /&gt;
  event, param1, param2, param3 = os.pullEvent()&lt;br /&gt;
&lt;br /&gt;
Note: This is one of the most commonly used functions that can return multiple values.&lt;br /&gt;
It works like any other function call (such as &amp;quot;input = read()&amp;quot;) except that you can get more than one piece of information back.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
When os.pullEvent() is called, the computer waits until an event occurs.&lt;br /&gt;
Events can be triggered by several different things, such as a key being pressed or a redstone input changing.&lt;br /&gt;
They are usually triggered by ComputerCraft itself, when it needs to notify the computer that something happened.&lt;br /&gt;
They can also be triggered by peripherals, or by your program calling [[os.queueEvent]].&lt;br /&gt;
&lt;br /&gt;
More complicated input, such as &amp;quot;the user typing a line of text,&amp;quot; does ''not'' correspond to an event.&lt;br /&gt;
[[read]] handles this inside itself by waiting for the user to press a key, then updating the screen, moving the cursor, etc.&lt;br /&gt;
&lt;br /&gt;
Events have a type (which is a string) and 0-5 parameters (which are often but not always strings).&lt;br /&gt;
No built-in events use more than 3 parameters.&lt;br /&gt;
&lt;br /&gt;
When an event occurs, the event type, followed by the parameters, will be returned. If you have:&lt;br /&gt;
&lt;br /&gt;
  event, button, x, y = os.pullEvent()&lt;br /&gt;
&lt;br /&gt;
and the user clicks the mouse at coordinates 5,4 then:&lt;br /&gt;
* event will be set to &amp;quot;mouse_click&amp;quot; (the event type)&lt;br /&gt;
* button will be set to 0 (the first parameter)&lt;br /&gt;
* x will be set to 5 (the second parameter)&lt;br /&gt;
* y will be set to 4 (the third parameter)&lt;br /&gt;
&lt;br /&gt;
Note that in this example, we didn't specify a filter. If you specify a filter, then all events of different types will be ignored.&lt;br /&gt;
If the user inserts a disk, instead of clicking the mouse, then event will be &amp;quot;disk&amp;quot;, button will be the side the disk drive is on, and x and y will be nil.&lt;br /&gt;
&lt;br /&gt;
If we wanted to only wait for mouse clicks we could use:&lt;br /&gt;
&lt;br /&gt;
  event, button, x, y = os.pullEvent(&amp;quot;mouse_click&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
which will ignore any events that are not mouse clicks.&lt;br /&gt;
&lt;br /&gt;
If you assign more variables than necessary, the extra ones will be set to nil.&lt;br /&gt;
If you assign less variables than necessary, the extra parameters will be discarded.&lt;br /&gt;
&lt;br /&gt;
==Event types==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; | Name&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; | Description&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | Parameters&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
! 2&lt;br /&gt;
! 3&lt;br /&gt;
|-&lt;br /&gt;
![[char (event)|char]]&lt;br /&gt;
|Fired when text is typed on the keyboard&lt;br /&gt;
|(string)the letter typed&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[key (event)|key]]&lt;br /&gt;
|Fired when a key is pressed on the keyboard&lt;br /&gt;
|(number)numerical keycode&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[timer (event)|timer]]&lt;br /&gt;
|Fired when a timeout started by [[os.startTimer]]() completes&lt;br /&gt;
|(number)Value of the timer as returned by os.startTimer()&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[alarm (event)|alarm]]&lt;br /&gt;
|Fired when a time passed to [[os.setAlarm]]() is reached&lt;br /&gt;
|(number)Value of the alarm as returned by os.setAlarm()&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[redstone (event)|redstone]]&lt;br /&gt;
|Fired when the state of any of the redstone inputs change&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[terminate (event)|terminate]]&lt;br /&gt;
|Fired when a combination of keys CTRL and T is pressed and held for three seconds.&lt;br /&gt;
You will not normally see this event, as it is handled inside os.pullEvent.&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[disk (event)|disk]]&lt;br /&gt;
|Fired when a disk is inserted into an adjacent disk drive&lt;br /&gt;
|(string)side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[disk_eject (event)|disk_eject]]&lt;br /&gt;
|Fired when a disk is removed from an adjacent disk drive&lt;br /&gt;
|(string)side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[peripheral (event)|peripheral]]&lt;br /&gt;
|Fired when peripheral is attached&lt;br /&gt;
|(string)side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[peripheral_detach (event)| peripheral_detach]]&lt;br /&gt;
|Fired when peripheral is removed&lt;br /&gt;
|(string)side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[rednet_message (event)|rednet_message]]&lt;br /&gt;
|Fired when a rednet message is received from the [[Rednet_(API)|rednet API]]&lt;br /&gt;
|(number)senderID&lt;br /&gt;
|(string)message&lt;br /&gt;
|(number)distance travelled&lt;br /&gt;
|-&lt;br /&gt;
![[http_success (event)|http_success]]&lt;br /&gt;
|Fired when an attempt to receive text from / post text on a website is successful.&lt;br /&gt;
You will not normally see this event as it is handled inside http.get.&lt;br /&gt;
|(string)url of the site&lt;br /&gt;
|(table)text on the site&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[http_failure (event)|http_failure]]&lt;br /&gt;
|Fired when an attempt to receive text from / post text on a website is unsuccessful&lt;br /&gt;
You will not normally see this event as it is handled inside http.get.&lt;br /&gt;
|(string)url of the site&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[mouse_click (event)|mouse_click]]&lt;br /&gt;
|Fired when a mouse button is pressed&lt;br /&gt;
|(number)mouse button&lt;br /&gt;
|(number)x coordinate&lt;br /&gt;
|(number)y coordinate&lt;br /&gt;
|-&lt;br /&gt;
![[mouse_scroll (event)|mouse_scroll]]&lt;br /&gt;
|Fired when a mousewheel is scrolled.&lt;br /&gt;
|(number)scroll direction (-1 for up, 1 for down)&lt;br /&gt;
|(number)x coordinate(in screen chars)&lt;br /&gt;
|(number)y coordinate(in screen chars)&lt;br /&gt;
|-&lt;br /&gt;
![[mouse_drag (event)|mouse_drag]]&lt;br /&gt;
|Fired when the mouse is moved after clicking.&lt;br /&gt;
|(number)mouse button&lt;br /&gt;
|(number)x coordinate(in screen chars)&lt;br /&gt;
|(number)y coordinate(in screen chars)&lt;br /&gt;
|-&lt;br /&gt;
![[monitor_touch (event)|monitor_touch]]&lt;br /&gt;
|Fired when a player right click on an advanced monitor connected.&lt;br /&gt;
|(string)side&lt;br /&gt;
|(number)x coordinate(in screen chars)&lt;br /&gt;
|(number)y coordinate(in screen chars)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
[http://www.computercraft.info/forums2/index.php?/topic/1516-ospullevent-what-is-it-and-how-is-it-useful/page__view__findpost__p__11156 ''Onionnion's Guide on os.pullEvent()'']&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Mouse_click_(event)&amp;diff=4907</id>
		<title>Mouse click (event)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Mouse_click_(event)&amp;diff=4907"/>
				<updated>2013-01-08T01:31:01Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: changed os.pullEvent to os.pullEvent&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Event&lt;br /&gt;
|name=mouse_click&lt;br /&gt;
|desc=Fired when the terminal is clicked.&lt;br /&gt;
|return1=The mouse button that was clicked.&lt;br /&gt;
|return2=The X-coordinate of the click (in screen-characters).&lt;br /&gt;
|return3=The Y-coordinate of the click (in screen-characters).&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Print the button and the co-ordinates of every mouse click we receive a ''mouse_click'' event.&lt;br /&gt;
|code=&lt;br /&gt;
 while true do&lt;br /&gt;
   event, button, xPos, yPos = [[os.pullEvent]](&amp;quot;[[mouse_click_(event)|mouse_click]]&amp;quot;)&lt;br /&gt;
   [[print]](event .. &amp;quot; =&amp;gt; &amp;quot; .. tostring(button) .. &amp;quot;: &amp;quot; .. [[tostring]](button) .. &amp;quot;, &amp;quot; ..&lt;br /&gt;
     &amp;quot;X: &amp;quot; .. [[tostring]](xPos) .. &amp;quot;, &amp;quot; ..&lt;br /&gt;
     &amp;quot;Y: &amp;quot; .. [[tostring]](yPos))&lt;br /&gt;
 end&lt;br /&gt;
|output=The button that was pressed, followed by the X and Y position of the event.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Monitor_touch_(event)&amp;diff=4906</id>
		<title>Monitor touch (event)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Monitor_touch_(event)&amp;diff=4906"/>
				<updated>2013-01-08T01:30:11Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: Created page with &amp;quot;{{Event |name=monitor_touch |desc=Fired when the player right click on an advanced monitor connected. |return1=The side of the advanced monitor. |return2=The X-coordinate of t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Event&lt;br /&gt;
|name=monitor_touch&lt;br /&gt;
|desc=Fired when the player right click on an advanced monitor connected.&lt;br /&gt;
|return1=The side of the advanced monitor.&lt;br /&gt;
|return2=The X-coordinate of the click (in screen-characters).&lt;br /&gt;
|return3=The Y-coordinate of the click (in screen-characters).&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Print the side of the monitor and the co-ordinates of every mouse click we receive a ''monitor_touch'' event.&lt;br /&gt;
|code=&lt;br /&gt;
 while true do&lt;br /&gt;
   event, side, xPos, yPos = [[os.pullEvent]](&amp;quot;[[monitor_touch_(event)|monitor_touch]]&amp;quot;)&lt;br /&gt;
   [[print]](event .. &amp;quot; =&amp;gt; Side: &amp;quot; .. [[tostring]](side) .. &amp;quot;, &amp;quot; ..&lt;br /&gt;
     &amp;quot;X: &amp;quot; .. [[tostring]](xPos) .. &amp;quot;, &amp;quot; ..&lt;br /&gt;
     &amp;quot;Y: &amp;quot; .. [[tostring]](yPos))&lt;br /&gt;
 end&lt;br /&gt;
|output=The side of the advanced monitor, followed by the X and Y position of the event.&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Os.pullEvent&amp;diff=4905</id>
		<title>Os.pullEvent</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Os.pullEvent&amp;diff=4905"/>
				<updated>2013-01-08T01:19:33Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: /* Event types */ Add the new event monitor_touch&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=os.pullEvent&lt;br /&gt;
 |args=([[string]]) filter&lt;br /&gt;
 |api=OS&lt;br /&gt;
 |returns=(string)event, variable parameters(see table below)&lt;br /&gt;
 |addon=ComputerCraft&lt;br /&gt;
 |desc=Waits (yields) until an event occurs&lt;br /&gt;
 |examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=The program requires to wait for a keypress to do something:&lt;br /&gt;
|code=[[Function (type)|function]] clear()&lt;br /&gt;
    [[term.clear]]()&lt;br /&gt;
    [[term.setCursorPos]] (1,1)&lt;br /&gt;
 end&lt;br /&gt;
 while true do&lt;br /&gt;
    clear()&lt;br /&gt;
    [[print]] (&amp;quot;Press E to do something.&amp;quot;)&lt;br /&gt;
    local event, param1 = os.pullEvent (&amp;quot;char&amp;quot;) -- limit os.pullEvent to the char event&lt;br /&gt;
    if param1 == &amp;quot;e&amp;quot; then -- if the returned value was 'e'&lt;br /&gt;
        clear()&lt;br /&gt;
        [[write]] (&amp;quot;Name: &amp;quot;)&lt;br /&gt;
        local name = [[read]]()&lt;br /&gt;
        [[print]] (name)&lt;br /&gt;
        break&lt;br /&gt;
    else&lt;br /&gt;
        clear()&lt;br /&gt;
        [[print]] (&amp;quot;Wrong button!&amp;quot;)&lt;br /&gt;
        [[os.sleep|sleep]] (1.5) -- I don't like a whole 2 seconds but 1 second is too short&lt;br /&gt;
    end&lt;br /&gt;
 end&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Common syntax ===&lt;br /&gt;
&lt;br /&gt;
  event, param1, param2, param3 = os.pullEvent()&lt;br /&gt;
&lt;br /&gt;
Note: This is one of the most commonly used functions that can return multiple values.&lt;br /&gt;
It works like any other function call (such as &amp;quot;input = read()&amp;quot;) except that you can get more than one piece of information back.&lt;br /&gt;
&lt;br /&gt;
== How it works ==&lt;br /&gt;
When os.pullEvent() is called, the computer waits until an event occurs.&lt;br /&gt;
Events can be triggered by several different things, such as a key being pressed or a redstone input changing.&lt;br /&gt;
They are usually triggered by ComputerCraft itself, when it needs to notify the computer that something happened.&lt;br /&gt;
They can also be triggered by peripherals, or by your program calling [[os.queueEvent]].&lt;br /&gt;
&lt;br /&gt;
More complicated input, such as &amp;quot;the user typing a line of text,&amp;quot; does ''not'' correspond to an event.&lt;br /&gt;
[[read]] handles this inside itself by waiting for the user to press a key, then updating the screen, moving the cursor, etc.&lt;br /&gt;
&lt;br /&gt;
Events have a type (which is a string) and 0-5 parameters (which are often but not always strings).&lt;br /&gt;
No built-in events use more than 3 parameters.&lt;br /&gt;
&lt;br /&gt;
When an event occurs, the event type, followed by the parameters, will be returned. If you have:&lt;br /&gt;
&lt;br /&gt;
  event, button, x, y = os.pullEvent()&lt;br /&gt;
&lt;br /&gt;
and the user clicks the mouse at coordinates 5,4 then:&lt;br /&gt;
* event will be set to &amp;quot;mouse_click&amp;quot; (the event type)&lt;br /&gt;
* button will be set to 0 (the first parameter)&lt;br /&gt;
* x will be set to 5 (the second parameter)&lt;br /&gt;
* y will be set to 4 (the third parameter)&lt;br /&gt;
&lt;br /&gt;
Note that in this example, we didn't specify a filter. If you specify a filter, then all events of different types will be ignored.&lt;br /&gt;
If the user inserts a disk, instead of clicking the mouse, then event will be &amp;quot;disk&amp;quot;, button will be the side the disk drive is on, and x and y will be nil.&lt;br /&gt;
&lt;br /&gt;
If we wanted to only wait for mouse clicks we could use:&lt;br /&gt;
&lt;br /&gt;
  event, button, x, y = os.pullEvent(&amp;quot;mouse_click&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
which will ignore any events that are not mouse clicks.&lt;br /&gt;
&lt;br /&gt;
If you assign more variables than necessary, the extra ones will be set to nil.&lt;br /&gt;
If you assign less variables than necessary, the extra parameters will be discarded.&lt;br /&gt;
&lt;br /&gt;
==Event types==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; | Name&lt;br /&gt;
! rowspan=&amp;quot;2&amp;quot; | Description&lt;br /&gt;
! colspan=&amp;quot;3&amp;quot; | Parameters&lt;br /&gt;
|-&lt;br /&gt;
! 1&lt;br /&gt;
! 2&lt;br /&gt;
! 3&lt;br /&gt;
|-&lt;br /&gt;
![[char (event)|char]]&lt;br /&gt;
|Fired when text is typed on the keyboard&lt;br /&gt;
|(string)the letter typed&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[key (event)|key]]&lt;br /&gt;
|Fired when a key is pressed on the keyboard&lt;br /&gt;
|(number)numerical keycode&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[timer (event)|timer]]&lt;br /&gt;
|Fired when a timeout started by [[os.startTimer]]() completes&lt;br /&gt;
|(number)Value of the timer as returned by os.startTimer()&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[alarm (event)|alarm]]&lt;br /&gt;
|Fired when a time passed to [[os.setAlarm]]() is reached&lt;br /&gt;
|(number)Value of the alarm as returned by os.setAlarm()&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[redstone (event)|redstone]]&lt;br /&gt;
|Fired when the state of any of the redstone inputs change&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[terminate (event)|terminate]]&lt;br /&gt;
|Fired when a combination of keys CTRL and T is pressed and held for three seconds.&lt;br /&gt;
You will not normally see this event, as it is handled inside os.pullEvent.&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[disk (event)|disk]]&lt;br /&gt;
|Fired when a disk is inserted into an adjacent disk drive&lt;br /&gt;
|(string)side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[disk_eject (event)|disk_eject]]&lt;br /&gt;
|Fired when a disk is removed from an adjacent disk drive&lt;br /&gt;
|(string)side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[peripheral (event)|peripheral]]&lt;br /&gt;
|Fired when peripheral is attached&lt;br /&gt;
|(string)side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[peripheral_detach (event)| peripheral_detach]]&lt;br /&gt;
|Fired when peripheral is removed&lt;br /&gt;
|(string)side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[rednet_message (event)|rednet_message]]&lt;br /&gt;
|Fired when a rednet message is received from the [[Rednet_(API)|rednet API]]&lt;br /&gt;
|(number)senderID&lt;br /&gt;
|(string)message&lt;br /&gt;
|(number)distance travelled&lt;br /&gt;
|-&lt;br /&gt;
![[http_success (event)|http_success]]&lt;br /&gt;
|Fired when an attempt to receive text from / post text on a website is successful.&lt;br /&gt;
You will not normally see this event as it is handled inside http.get.&lt;br /&gt;
|(string)url of the site&lt;br /&gt;
|(table)text on the site&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[http_failure (event)|http_failure]]&lt;br /&gt;
|Fired when an attempt to receive text from / post text on a website is unsuccessful&lt;br /&gt;
You will not normally see this event as it is handled inside http.get.&lt;br /&gt;
|(string)url of the site&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
![[mouse_click (event)|mouse_click]]&lt;br /&gt;
|Fired when a mouse button is pressed&lt;br /&gt;
|(number)mouse button&lt;br /&gt;
|(number)x coordinate&lt;br /&gt;
|(number)y coordinate&lt;br /&gt;
|-&lt;br /&gt;
![[mouse_scroll (event)|mouse_scroll]]&lt;br /&gt;
|Fired when a mousewheel is scrolled.&lt;br /&gt;
|(number)scroll direction (-1 for up, 1 for down)&lt;br /&gt;
|(number)x coordinate(in screen chars)&lt;br /&gt;
|(number)y coordinate(in screen chars)&lt;br /&gt;
|-&lt;br /&gt;
![[mouse_drag (event)|mouse_drag]]&lt;br /&gt;
|Fired when the mouse is moved after clicking.&lt;br /&gt;
|(number)mouse button&lt;br /&gt;
|(number)x coordinate(in screen chars)&lt;br /&gt;
|(number)y coordinate(in screen chars)&lt;br /&gt;
|-&lt;br /&gt;
![[monitor_touch (event)|monitor_touch]]&lt;br /&gt;
|Fired when a player right click on the monitor.&lt;br /&gt;
|(string)side&lt;br /&gt;
|(number)x coordinate(in screen chars)&lt;br /&gt;
|(number)y coordinate(in screen chars)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
[http://www.computercraft.info/forums2/index.php?/topic/1516-ospullevent-what-is-it-and-how-is-it-useful/page__view__findpost__p__11156 ''Onionnion's Guide on os.pullEvent()'']&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Advanced_Monitor&amp;diff=4904</id>
		<title>Advanced Monitor</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Advanced_Monitor&amp;diff=4904"/>
				<updated>2013-01-08T01:08:21Z</updated>
		
		<summary type="html">&lt;p&gt;Viproz: Changed the number of advancedMonitor made in one recipe&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Block&lt;br /&gt;
|name=Advanced Monitor&lt;br /&gt;
|image=Iso_Advanced_Monitor.png&lt;br /&gt;
|id=4094&lt;br /&gt;
|damage-value=Un-used (clarify?)&lt;br /&gt;
|is-peripheral=Yes&lt;br /&gt;
}}&lt;br /&gt;
The Advanced Monitor is a new, improved version of the [[Monitor]].&lt;br /&gt;
&lt;br /&gt;
In contrast with the standard [[Monitor]], the Advanced Monitor has the ability to show colored text and programs on the screen, and the Advanced Monitor is golden (like the [[Advanced Computer]]), rather than the default stone grey color of the standard [[Monitor]]. &lt;br /&gt;
&lt;br /&gt;
For a list of the available colors on both [[Advanced Computer|Advanced Computers]] and the [[Advanced Monitor|Advanced Monitors]], see [[Colors_(API)#Colors|Colors API]].&lt;br /&gt;
&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=glass_pane |C2=Gold_Ingot&lt;br /&gt;
 |A3=Gold_Ingot |B3=Gold_Ingot   |C3=Gold_Ingot&lt;br /&gt;
 |Output=Advanced_Monitor |OA=4&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
==Using an Advanced Monitor==&lt;br /&gt;
The Advanced Monitor behaves exactly the same as the standard [[Monitor]] - except the Advanced Monitor is able to render text with a foreground and background [[Colors (API)#color|color]].&lt;br /&gt;
&lt;br /&gt;
The Advanced Monitor introduces two new methods: ''[[term.setTextColor|monitor.setTextColor]]([[colors (API)#colors|color]])'' and ''[[term.setBackgroundColor|monitor.setBackgroundColor]]([[colors (API)#colors|color]])''. These functions allow you to draw text with a specific foreground and background color. Please note that both spellings of the word color are accepted.&lt;br /&gt;
&lt;br /&gt;
To use an Advanced Monitor, you need to either call a method, or wrap the monitor using the Peripheral API. For this example, we have an Advanced Monitor 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;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;
 local monitor = peripheral.wrap(&amp;quot;top&amp;quot;)&lt;br /&gt;
 monitor.write(&amp;quot;Hello World!&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
== Peripheral Functions ==&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;
Methods in ''italic'' are available on [[Advanced Monitor|Advanced Monitors]] only.&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|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;
|''[[term.setTextColor|monitor.setTextColor]]([[colors (API)#colors|color]])''&lt;br /&gt;
|Sets the text-color of the [[Advanced Monitor]]. Available only to [[Advanced Monitor|Advanced Monitors]]&lt;br /&gt;
|-&lt;br /&gt;
|''[[term.setBackgroundColor|monitor.setBackgroundColor]]([[colors (API)#colors|color]])''&lt;br /&gt;
|Sets the background-color of the [[Advanced Monitor]]. Available only to [[Advanced Monitor|Advanced Monitors]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Blocks]][[Category:Peripherals]]&lt;/div&gt;</summary>
		<author><name>Viproz</name></author>	</entry>

	</feed>