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

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Colors_(API)&amp;diff=6133</id>
		<title>Colors (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Colors_(API)&amp;diff=6133"/>
				<updated>2014-03-18T01:28:43Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Fixed grammatical error&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Colors API allows you to manipulate sets of colors. This is useful in conjunction with Bundled Cables from the RedPower mod, RedNet Cables from the MineFactory Reloaded mod, and colors on [[Advanced Computer|Advanced Computers]] and [[Advanced Monitor|Advanced Monitors]].&lt;br /&gt;
&lt;br /&gt;
For the non-American English version just replace 'colors' with 'colours' and it will use the other API, colours—which is exactly the same, except in non-American English (e.g. gray is spelt grey and lightGray is spelt lightGrey).&lt;br /&gt;
&lt;br /&gt;
{{API table|Colors|image=Grid_disk.png|2=&lt;br /&gt;
&lt;br /&gt;
{{API table/row|[[colors.combine]]({{Type|number}} color1, {{Type|number}} color2, ...)|{{type|number}} value|&lt;br /&gt;
Combines one or more colors (or sets of colors) into a larger set.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row|[[colors.subtract]]({{Type|number}} colors, {{Type|number}} color1, {{Type|number}} color2, ...)|{{type|number}} value|&lt;br /&gt;
Removes one or more colors (or sets of colors) from an initial set.&lt;br /&gt;
|}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row|[[colors.test]]({{type|number}} colors, {{type|number}} color)|{{type|boolean}} contained|&lt;br /&gt;
Tests whether ''color'' is contained within '''colors'''.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Note:''' The standard addition (+) and subtraction (-) operators while able to be used on colors instead of colors.combine and colors.subtract should be avoided due to the nature of the colour format. For example&amp;lt;pre&amp;gt;print(colors.white + colors.white)&amp;lt;/pre&amp;gt;will output 2 which is orange as opposed to&amp;lt;pre&amp;gt;print(colors.combine(colors.white, colors.white))&amp;lt;/pre&amp;gt;will output 1 which is white.&lt;br /&gt;
&lt;br /&gt;
Furthermore, the [[Bit (API)]] may be used on sets of colors. For example, &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
bCableLeft  = rs.getBundledInput(&amp;quot;left&amp;quot;)&lt;br /&gt;
bCableRight = rs.getBundledInput(&amp;quot;right&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
-- Get a number representing colors on in both right and left bundled cables&lt;br /&gt;
commonColors    = bit.band(bCableLeft, bCableRight)&lt;br /&gt;
&lt;br /&gt;
-- Get all the colors active on either right or left&lt;br /&gt;
totalColors     = bit.bor(bCableLeft, bCableRight)&lt;br /&gt;
&lt;br /&gt;
-- Get the colors which are active on right, or left, but not both at the same time&lt;br /&gt;
exclusiveColors = bit.bxor(bCableLeft, bCableRight)&lt;br /&gt;
&lt;br /&gt;
-- Get the colors that are not active on the left&lt;br /&gt;
offColorsA      = bit.bnot(bCableLeft)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Colors==&lt;br /&gt;
Color constants include, in ascending bit order (including character used in the paint program):&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; width=&amp;quot;200px&amp;quot;&lt;br /&gt;
! Color&lt;br /&gt;
! Decimal&lt;br /&gt;
! Hexadecimal&lt;br /&gt;
! Binary&lt;br /&gt;
! Paint Default&lt;br /&gt;
|-&lt;br /&gt;
| colors.white&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 1&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x1&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000000000000001&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
| colors.orange&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 2&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x2&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000000000000010&lt;br /&gt;
| 1&lt;br /&gt;
|-&lt;br /&gt;
| colors.magenta&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 4&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x4&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000000000000100&lt;br /&gt;
| 2&lt;br /&gt;
|-&lt;br /&gt;
| colors.lightBlue&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 8&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x8&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000000000001000&lt;br /&gt;
| 3&lt;br /&gt;
|-&lt;br /&gt;
| colors.yellow&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 16&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x10&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000000000010000&lt;br /&gt;
| 4&lt;br /&gt;
|-&lt;br /&gt;
| colors.lime&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 32&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x20&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000000000100000&lt;br /&gt;
| 5&lt;br /&gt;
|-&lt;br /&gt;
| colors.pink&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 64&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x40&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000000001000000&lt;br /&gt;
| 6&lt;br /&gt;
|-&lt;br /&gt;
| colors.gray&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 128&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x80&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000000010000000&lt;br /&gt;
| 7&lt;br /&gt;
|-&lt;br /&gt;
| colors.lightGray&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 256&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x100&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000000100000000&lt;br /&gt;
| 8&lt;br /&gt;
|-&lt;br /&gt;
| colors.cyan&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 512&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x200&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000001000000000&lt;br /&gt;
| 9&lt;br /&gt;
|-&lt;br /&gt;
| colors.purple&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 1024&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x400&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000010000000000&lt;br /&gt;
| a&lt;br /&gt;
|-&lt;br /&gt;
| colors.blue&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 2048&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x800&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0000100000000000&lt;br /&gt;
| b&lt;br /&gt;
|-&lt;br /&gt;
| colors.brown&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 4096&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x1000&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0001000000000000&lt;br /&gt;
| c&lt;br /&gt;
|-&lt;br /&gt;
| colors.green&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 8192&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x2000&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0010000000000000&lt;br /&gt;
| d&lt;br /&gt;
|-&lt;br /&gt;
| colors.red&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 16384&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x4000&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0100000000000000&lt;br /&gt;
| e&lt;br /&gt;
|-&lt;br /&gt;
| colors.black&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 32768&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 0x8000&lt;br /&gt;
| align=&amp;quot;right&amp;quot; | 1000000000000000&lt;br /&gt;
| f&lt;br /&gt;
|}&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Bit_(API)&amp;diff=6132</id>
		<title>Bit (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Bit_(API)&amp;diff=6132"/>
				<updated>2014-03-18T01:23:38Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Fixed grammatical error&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Bit API is for manipulating numbers using bitwise binary operations.&lt;br /&gt;
&lt;br /&gt;
All of these functions treat the numbers as 32-bit integers, and will raise an error if an input number is greater than 4,294,967,295.&lt;br /&gt;
&lt;br /&gt;
{{API table|Bit|image=Grid disk.png|2=&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[bit.blshift]]({{type|number}} n, {{type|number}} bits)|{{type|number}} value&lt;br /&gt;
|Shifts a number left by a specified number of bits.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[bit.brshift]]({{type|number}} n, {{type|number}} bits)|{{type|number}} value&lt;br /&gt;
|Shifts a number right arithmetically by a specified number of bits.&lt;br /&gt;
|}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[bit.blogic_rshift]]({{type|number}} n, {{type|number}} bits)|{{type|number}} value&lt;br /&gt;
|Shifts a number right logically by a specified number of bits.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[bit.bxor]]({{type|number}} m, {{type|number}} n)|{{type|number}} value&lt;br /&gt;
|Computes the bitwise exclusive OR of two numbers.&lt;br /&gt;
|}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[bit.bor]]({{type|number}} m, {{type|number}} n)|{{type|number}} value&lt;br /&gt;
|Computes the bitwise inclusive OR of two numbers.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[bit.band]]({{type|number}} m, {{type|number}} n)|{{type|number}} value&lt;br /&gt;
|Computes the bitwise AND of two numbers.&lt;br /&gt;
|}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[bit.bnot]]({{type|number}} n)|{{type|number}} value&lt;br /&gt;
|Computes the bitwise NOT of a number.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Deprecated Functions =&lt;br /&gt;
{{Deprecated&lt;br /&gt;
|plural=yes&lt;br /&gt;
|type=These functions&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{API table|Bit|image=Grid disk.png|2=&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[bit.tobits]]({{type|number}} n)|{{type|table}} bit_tbl&lt;br /&gt;
|Converts a number to an array (numerically-indexed table) containing the corresponding binary bit values.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
{{API table/row&lt;br /&gt;
|[[bit.tonumb]]({{type|table}} bit_tbl)|{{type|number}} value&lt;br /&gt;
|Converts an array (numerically-indexed table) of 0 and 1 values representing a number in binary into that number.&lt;br /&gt;
|odd}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.refuel&amp;diff=5749</id>
		<title>Turtle.refuel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.refuel&amp;diff=5749"/>
				<updated>2013-06-04T14:50:12Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Added integer tag and prettied up the arg description&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.refuel&lt;br /&gt;
|args={{type|int}} amount of fuel items in current slot to consume&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] true if fuel, else false.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Fills the turtle with fuel.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Fills the turtle with fuel&lt;br /&gt;
|code=turtle.refuel( 4 )&lt;br /&gt;
|output=Tries to refuel with up to 4 items, returns true if it is a fuel and false if not. &lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Used in the command-line, the below code will tell the turtle to fuel itself using all inventory slots (1, 16)&lt;br /&gt;
|code=refuel all&lt;br /&gt;
|output=To complete &lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Fuel Values ==&lt;br /&gt;
Fuel values for different items.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Item&lt;br /&gt;
! Movement gained&lt;br /&gt;
! Added by&lt;br /&gt;
|-&lt;br /&gt;
| Biofuel Can&lt;br /&gt;
| 520&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|- &lt;br /&gt;
| Scrap&lt;br /&gt;
| 15&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|-&lt;br /&gt;
| Coalfuel Can&lt;br /&gt;
| 1520&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|-&lt;br /&gt;
| Wooden Scaffolding&lt;br /&gt;
| 15&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|-&lt;br /&gt;
| Peat&lt;br /&gt;
| 80&lt;br /&gt;
| Forestry&lt;br /&gt;
|- &lt;br /&gt;
| Sugar Cane&lt;br /&gt;
| 0&lt;br /&gt;
| Vanilla&lt;br /&gt;
|-&lt;br /&gt;
| Wooden Tools&lt;br /&gt;
| 10&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Lava&lt;br /&gt;
| 1000&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Blaze Rod&lt;br /&gt;
| 120&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Wood Blocks&lt;br /&gt;
| 15&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Sticks&lt;br /&gt;
| 5&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Coal/Charcoal&lt;br /&gt;
| 80&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Mushroom Blocks&lt;br /&gt;
| 15&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Coal Coke&lt;br /&gt;
| 320&lt;br /&gt;
| Railcraft&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
1.41:&lt;br /&gt;
&lt;br /&gt;
The formula for calculating the movement gain from a fuel is &amp;quot;((fuel / 100) * 6)&amp;quot;.&lt;br /&gt;
Where fuel is the items burn time in ticks in a regular furnace and &amp;quot;/&amp;quot; is integer division.&lt;br /&gt;
&lt;br /&gt;
1.42+:&lt;br /&gt;
&lt;br /&gt;
Formula changed to ((fuel * 6) / 100).&lt;br /&gt;
This will give more accurate movement values.&lt;br /&gt;
&lt;br /&gt;
1.48:&lt;br /&gt;
&lt;br /&gt;
Formula changed to ((fuel * 5) / 100)&lt;br /&gt;
== Trivia == &lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Term.clear&amp;diff=5748</id>
		<title>Term.clear</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Term.clear&amp;diff=5748"/>
				<updated>2013-06-04T14:40:09Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Cleaned up return value, code example description, and added a new example of possible uses with term.clear  (there are no args for term.clear and by putting 'none' it could be misleading to new members)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=term.clear&lt;br /&gt;
|returns=[[nil]]&lt;br /&gt;
|api=term&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Clears the screen&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Clears any text on the console or monitor, also sets the cursor to position (1, 1) on the screen.&lt;br /&gt;
|code=term.clear()&amp;lt;br /&amp;gt;term.setCursorPos(1,1)&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Turns the screen a specified colour&lt;br /&gt;
|code=term.setBackgroundColor(colors.blue)&amp;lt;br&amp;gt;term.clear()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Advanced_Monitor&amp;diff=5747</id>
		<title>Advanced Monitor</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Advanced_Monitor&amp;diff=5747"/>
				<updated>2013-06-04T06:01:03Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Clarified damage value&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&lt;br /&gt;
|is-peripheral=Yes&lt;br /&gt;
|peripheral-api=Term (API)&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 directly using [[peripheral.call]](), or, wrap the monitor using the [[Peripheral_(API)|Peripheral API]]. Wrapped monitors provide all functions listed in the [[Term_(API)|Term API]], with the exception of [[Monitor.setTextScale|monitor.setTextScale(size)]], which is native to monitors only.&lt;br /&gt;
&lt;br /&gt;
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;
{{BlocksItemsList}}&lt;br /&gt;
[[Category:Blocks]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Printer.getPaperLevel&amp;diff=5746</id>
		<title>Printer.getPaperLevel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Printer.getPaperLevel&amp;diff=5746"/>
				<updated>2013-06-03T21:10:58Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Fixed integer tag and added a better description for returned value&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=printer.getPaperLevel&lt;br /&gt;
|args=none&lt;br /&gt;
|returns=[[int (type)|int]] the amount of paper in the printer&lt;br /&gt;
|api=printer&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the total amount of paper in the printer.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints paper level&lt;br /&gt;
|code=print(printer.getPaperLevel())&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Os.time&amp;diff=5745</id>
		<title>Os.time</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Os.time&amp;diff=5745"/>
				<updated>2013-06-03T21:05:10Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Added float tag&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=os.time&lt;br /&gt;
|returns=[[Float_(type)|float]] The current in-game time.&lt;br /&gt;
|api=OS&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the current in-game time.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints current time in 12 hour format (with AM and PM).&lt;br /&gt;
|code=local time = os.time()&amp;lt;br/&amp;gt;time = textutils.formatTime(time, false)&amp;lt;br/&amp;gt;print(&amp;quot;The time is &amp;quot;..time)&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints current time in 24 hour format.&lt;br /&gt;
|code=local time = os.time()&amp;lt;br/&amp;gt;time = textutils.formatTime(time, true)&amp;lt;br/&amp;gt;print(&amp;quot;The time is &amp;quot;..time)&lt;br /&gt;
}}&lt;br /&gt;
|notes=&lt;br /&gt;
* You must use textutils.formatTime() if you want to print the time in readable form.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Os.day&amp;diff=5744</id>
		<title>Os.day</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Os.day&amp;diff=5744"/>
				<updated>2013-06-03T20:58:58Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Added integer tag&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=os.day&lt;br /&gt;
|returns=[[int (type)|int]] The current in-game day.&lt;br /&gt;
|api=OS&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the current in-game day.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints current day.&lt;br /&gt;
|code=local day = os.day()&amp;lt;br/&amp;gt;print(day)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Printer.getPageSize&amp;diff=5743</id>
		<title>Printer.getPageSize</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Printer.getPageSize&amp;diff=5743"/>
				<updated>2013-06-03T20:55:54Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Added integer tag&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=printer.getPageSize&lt;br /&gt;
|returns=[[int (type)|int]] Width and Height of the Page in the Printer&lt;br /&gt;
|api=printer&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the size of the page.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints the size of a page.&lt;br /&gt;
|code=local x, y = printer.getPageSize()&amp;lt;br/&amp;gt;print(x ..&amp;quot;, &amp;quot;.. y)&lt;br /&gt;
|output=&amp;lt;width&amp;gt;, &amp;lt;height&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Term.getSize&amp;diff=5742</id>
		<title>Term.getSize</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Term.getSize&amp;diff=5742"/>
				<updated>2013-06-03T20:51:33Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Added integer tag&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=term.getSize&lt;br /&gt;
|returns=[[int (type)|int]] the width and height of the terminal window.&lt;br /&gt;
|api=term&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns the width and height of the terminal window.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Sets the cursor position to the edge of the terminal window.&lt;br /&gt;
|code=local w, h = term.getSize()&amp;lt;br /&amp;gt;term.setCursorPos(w,1)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Term.isColor&amp;diff=5741</id>
		<title>Term.isColor</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Term.isColor&amp;diff=5741"/>
				<updated>2013-06-03T20:43:24Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Added boolean tag&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=term.isColor&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] returns true if it's an advanced computer.&lt;br /&gt;
|api=term&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns true if it's an advanced computer.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=This program verifies if the computer can display colors. &amp;lt;br /&amp;gt;If it can, the computer clears the screen and changes the background to lime, otherwise, it turns computer off.&lt;br /&gt;
|code=local isAdvanced = term.isColor and term.isColor() &amp;lt;br /&amp;gt;if isAdvanced then &amp;lt;br /&amp;gt;    term.setBackgroundColor(colors.lime)&amp;lt;br /&amp;gt;    term.clear()&amp;lt;br /&amp;gt;else&amp;lt;br /&amp;gt;    os.shutdown()&amp;lt;br /&amp;gt;end&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

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

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.compareUp&amp;diff=5739</id>
		<title>Turtle.compareUp</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.compareUp&amp;diff=5739"/>
				<updated>2013-06-03T20:20:10Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Added a better description for returned value&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.compareUp&lt;br /&gt;
|args=&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] returns true if the block above the turtle is the same as the one in the selected slot, false otherwise&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Detects if the block in above is the same as the one in the selected Slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Detects if the block above is the same as the one in the selected Slot.&lt;br /&gt;
|code=turtle.compareUp()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.refuel&amp;diff=5296</id>
		<title>Turtle.refuel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.refuel&amp;diff=5296"/>
				<updated>2013-04-08T15:45:50Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.refuel&lt;br /&gt;
|args=count&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] true if fuel, else false.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Fills the turtle with fuel.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Fills the turtle with fuel&lt;br /&gt;
|code=turtle.refuel( 4 )&lt;br /&gt;
|output=Tries to refuel with up to 4 items, returns true if it is a fuel and false if not. &lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Used in the command-line, the below code will tell the turtle to fuel itself using all inventory slots (1, 16)&lt;br /&gt;
|code=refuel all&lt;br /&gt;
|output=To complete &lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Fuel Values ==&lt;br /&gt;
Fuel values for different items.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Item&lt;br /&gt;
! Movement gained&lt;br /&gt;
! Added by&lt;br /&gt;
|-&lt;br /&gt;
| Biofuel Can&lt;br /&gt;
| 520&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|- &lt;br /&gt;
| Scrap&lt;br /&gt;
| 15&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|-&lt;br /&gt;
| Coalfuel Can&lt;br /&gt;
| 1520&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|-&lt;br /&gt;
| Wooden Scaffolding&lt;br /&gt;
| 15&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|-&lt;br /&gt;
| Peat&lt;br /&gt;
| 80&lt;br /&gt;
| Forestry&lt;br /&gt;
|- &lt;br /&gt;
| Sugar Cane&lt;br /&gt;
| 0&lt;br /&gt;
| Vanilla&lt;br /&gt;
|-&lt;br /&gt;
| Wooden Tools&lt;br /&gt;
| 10&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Lava&lt;br /&gt;
| 1000&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Blaze Rod&lt;br /&gt;
| 120&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Wood Blocks&lt;br /&gt;
| 15&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Sticks&lt;br /&gt;
| 5&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Coal/Charcoal&lt;br /&gt;
| 80&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Mushroom Blocks&lt;br /&gt;
| 15&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Coal Coke&lt;br /&gt;
| 320&lt;br /&gt;
| Railcraft&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
1.41:&lt;br /&gt;
&lt;br /&gt;
The formula for calculating the movement gain from a fuel is &amp;quot;((fuel / 100) * 6)&amp;quot;.&lt;br /&gt;
Where fuel is the items burn time in ticks in a regular furnace and &amp;quot;/&amp;quot; is integer division.&lt;br /&gt;
&lt;br /&gt;
1.42+:&lt;br /&gt;
&lt;br /&gt;
Formula changed to ((fuel * 6) / 100).&lt;br /&gt;
This will give more accurate movement values.&lt;br /&gt;
&lt;br /&gt;
1.48:&lt;br /&gt;
&lt;br /&gt;
Formula changed to ((fuel * 5) / 100)&lt;br /&gt;
== Trivia == &lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.refuel&amp;diff=5295</id>
		<title>Turtle.refuel</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.refuel&amp;diff=5295"/>
				<updated>2013-04-08T15:44:28Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Added a command-line example of turtle.refuel since users are clueless about it's existance&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.refuel&lt;br /&gt;
|args=count&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean_(type)|boolean]] true if fuel, else false.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Fills the turtle with fuel.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Fills the turtle with fuel&lt;br /&gt;
|code=turtle.refuel( 4 )&lt;br /&gt;
|output=Tries to refuel with up to 4 items, returns true if it is a fuel and false if not. &lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Fuels itself using all inventory slots (1, 16)&lt;br /&gt;
|code=refuel all&lt;br /&gt;
|output=To complete &lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Fuel Values ==&lt;br /&gt;
Fuel values for different items.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Item&lt;br /&gt;
! Movement gained&lt;br /&gt;
! Added by&lt;br /&gt;
|-&lt;br /&gt;
| Biofuel Can&lt;br /&gt;
| 520&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|- &lt;br /&gt;
| Scrap&lt;br /&gt;
| 15&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|-&lt;br /&gt;
| Coalfuel Can&lt;br /&gt;
| 1520&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|-&lt;br /&gt;
| Wooden Scaffolding&lt;br /&gt;
| 15&lt;br /&gt;
| IndustrialCraft&lt;br /&gt;
|-&lt;br /&gt;
| Peat&lt;br /&gt;
| 80&lt;br /&gt;
| Forestry&lt;br /&gt;
|- &lt;br /&gt;
| Sugar Cane&lt;br /&gt;
| 0&lt;br /&gt;
| Vanilla&lt;br /&gt;
|-&lt;br /&gt;
| Wooden Tools&lt;br /&gt;
| 10&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Lava&lt;br /&gt;
| 1000&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Blaze Rod&lt;br /&gt;
| 120&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Wood Blocks&lt;br /&gt;
| 15&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Sticks&lt;br /&gt;
| 5&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Coal/Charcoal&lt;br /&gt;
| 80&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Mushroom Blocks&lt;br /&gt;
| 15&lt;br /&gt;
| Vanilla &lt;br /&gt;
|-&lt;br /&gt;
| Coal Coke&lt;br /&gt;
| 320&lt;br /&gt;
| Railcraft&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
1.41:&lt;br /&gt;
&lt;br /&gt;
The formula for calculating the movement gain from a fuel is &amp;quot;((fuel / 100) * 6)&amp;quot;.&lt;br /&gt;
Where fuel is the items burn time in ticks in a regular furnace and &amp;quot;/&amp;quot; is integer division.&lt;br /&gt;
&lt;br /&gt;
1.42+:&lt;br /&gt;
&lt;br /&gt;
Formula changed to ((fuel * 6) / 100).&lt;br /&gt;
This will give more accurate movement values.&lt;br /&gt;
&lt;br /&gt;
1.48:&lt;br /&gt;
&lt;br /&gt;
Formula changed to ((fuel * 5) / 100)&lt;br /&gt;
== Trivia == &lt;br /&gt;
&lt;br /&gt;
[[Category:Lua_Core_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils_(API)&amp;diff=5268</id>
		<title>Paintutils (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils_(API)&amp;diff=5268"/>
				<updated>2013-03-29T16:40:17Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Function pages are all added&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{NeedsWork|Function pages are added. When the time is appropriate, whoever deems that time, may take this NeedsWork template down'' [[User:SuicidalSTDz|SuicidalSTDz]] 20:40, 29 March 2013 (MSK)}}&lt;br /&gt;
&lt;br /&gt;
Paintutils is an API to draw and load images&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table style=&amp;quot;width: 100%; border: solid 1px black; margin: 2px; border-spacing: 0px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td colspan=&amp;quot;2&amp;quot; style=&amp;quot;font-weight: bold; font-size: large; padding-bottom: .3em; border-bottom: solid #C9C9C9 1px; background: #D3FFC2; line-height:28px;&amp;quot;&amp;gt;&lt;br /&gt;
[[File:Grid_disk.png|24px]]&amp;amp;nbsp;&amp;amp;nbsp;&lt;br /&gt;
Paintutils (API)&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td style=&amp;quot;width: 350px; background: #E0E0E0; padding: .4em; font-weight:bold;&amp;quot;&amp;gt;Method Name&amp;lt;/td&amp;gt;&amp;lt;td style=&amp;quot;background: #E0E0E0; padding: .4em; font-weight:bold;&amp;quot;&amp;gt;Description&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #FFFFFF;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[paintutils.loadImage]](path)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Returns an image object.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #E8E8E8;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[paintutils.drawImage]](image, x, y)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Draws an image at (x, y) where image is an image object.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #FFFFFF;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[paintutils.drawPixel]](x, y, colour)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Draws a pixel at (x, y) in the colour specified.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tr style=&amp;quot;background-color: #E8E8E8;&amp;quot;&amp;gt;&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;[[paintutils.drawLine]](startX, startY, endX, endY, colour)&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border-top: solid #C9C9C9 1px; padding: .4em;&amp;quot;&amp;gt;Draws a line from (startX, startY) to (endX, endY) in the colour specified.&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Os.pullEvent&amp;diff=5267</id>
		<title>Os.pullEvent</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Os.pullEvent&amp;diff=5267"/>
				<updated>2013-03-29T16:23:28Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Added an example of os.pullEvent as a function iterator in for loops&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=os.pullEvent&lt;br /&gt;
 |args=[{{type|string}} filter]&lt;br /&gt;
 |api=OS&lt;br /&gt;
 |returns={{type|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;
{{Example&lt;br /&gt;
|desc=This script shows how the os.pullEvent function can be used as an iterator instead of using a while loop:&lt;br /&gt;
|code=for event, param1 in os.pullEvent do --this will continuously fire an event without the use of a while loop&lt;br /&gt;
    [[print]](&amp;quot;Event: &amp;quot;..event)&lt;br /&gt;
    [[print]](&amp;quot;Param1: &amp;quot;..param1)&lt;br /&gt;
 end&lt;br /&gt;
[[User:SuicidalSTDz|SuicidalSTDz]] 20:23, 29 March 2013 (MSK)&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 fewer 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 !! 2 !! 3&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[char (event)|char]]&lt;br /&gt;
|Fired when text is typed on the keyboard&lt;br /&gt;
| {{type|string}} the letter typed&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[key (event)|key]]&lt;br /&gt;
|Fired when a key is pressed on the keyboard&lt;br /&gt;
|{{type|number}} numerical keycode&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[timer (event)|timer]]&lt;br /&gt;
|Fired when a timeout started by [[os.startTimer]]() completes&lt;br /&gt;
|{{type|number}} Value of the timer as returned by os.startTimer()&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[alarm (event)|alarm]]&lt;br /&gt;
|Fired when a time passed to [[os.setAlarm]]() is reached&lt;br /&gt;
|{{type|number}} Value of the alarm as returned by os.setAlarm()&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[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;
! scope=&amp;quot;row&amp;quot; | [[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;
! scope=&amp;quot;row&amp;quot; | [[disk (event)|disk]]&lt;br /&gt;
|Fired when a disk is inserted into an adjacent disk drive&lt;br /&gt;
|{{type|string}} side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[disk_eject (event)|disk_eject]]&lt;br /&gt;
|Fired when a disk is removed from an adjacent disk drive&lt;br /&gt;
|{{type|string}} side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[peripheral (event)|peripheral]]&lt;br /&gt;
|Fired when peripheral is attached&lt;br /&gt;
|{{type|string}} side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[peripheral_detach (event)| peripheral_detach]]&lt;br /&gt;
|Fired when peripheral is removed&lt;br /&gt;
|{{type|string}} side&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[rednet_message (event)|rednet_message]]&lt;br /&gt;
|Fired when a rednet message is received from the [[Rednet_(API)|rednet API]]&lt;br /&gt;
|{{type|number}} senderID&lt;br /&gt;
|{{type|string}} message&lt;br /&gt;
|{{type|number}} distance travelled&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[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;
|{{type|string}} url of the site&lt;br /&gt;
|{{type|table}} text on the site&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[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;
|{{type|string}} url of the site&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[mouse_click (event)|mouse_click]]&lt;br /&gt;
|Fired when a mouse button is pressed&lt;br /&gt;
|{{type|number}} mouse button&lt;br /&gt;
|{{type|number}} x coordinate&lt;br /&gt;
|{{type|number}} y coordinate&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[mouse_scroll (event)|mouse_scroll]]&lt;br /&gt;
|Fired when a mousewheel is scrolled.&lt;br /&gt;
|{{type|number}} scroll direction (-1 for up, 1 for down)&lt;br /&gt;
|{{type|number}} x coordinate(in screen chars)&lt;br /&gt;
|{{type|number}} y coordinate(in screen chars)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[mouse_drag (event)|mouse_drag]]&lt;br /&gt;
|Fired when the mouse is moved after clicking.&lt;br /&gt;
|{{type|number}} mouse button&lt;br /&gt;
|{{type|number}} x coordinate(in screen chars)&lt;br /&gt;
|{{type|number}} y coordinate(in screen chars)&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; | [[monitor_touch (event)|monitor_touch]]&lt;br /&gt;
|Fired when a player right click on an advanced monitor connected.&lt;br /&gt;
|{{type|string}} side&lt;br /&gt;
|{{type|number}} x coordinate(in screen chars)&lt;br /&gt;
|{{type|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>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Shell.aliases&amp;diff=5266</id>
		<title>Shell.aliases</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Shell.aliases&amp;diff=5266"/>
				<updated>2013-03-29T13:15:14Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=shell.aliases&lt;br /&gt;
|api=Shell&lt;br /&gt;
|returns=A table containing default and set aliases.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns a table containing the default aliases and user specified aliases&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=This code will return all set aliases&lt;br /&gt;
|code= for k,v in pairs(shell.aliases()) do&amp;lt;br/&amp;gt;   print(v)&amp;lt;br/&amp;gt;end&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Shell.aliases&amp;diff=5265</id>
		<title>Shell.aliases</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Shell.aliases&amp;diff=5265"/>
				<updated>2013-03-29T13:12:53Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=shell.aliases&lt;br /&gt;
|api=Shell&lt;br /&gt;
|returns=A table containing default and set aliases.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns a table containing the default aliases and user specified aliases&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=This code will return all set aliases&lt;br /&gt;
|code= for k,v in pairs(shell.aliases()) do&amp;lt;br/&amp;gt;   print(v)&amp;lt;br/&amp;gt;end&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Shell.aliases&amp;diff=5264</id>
		<title>Shell.aliases</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Shell.aliases&amp;diff=5264"/>
				<updated>2013-03-29T13:09:27Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Created page with &amp;quot;{{lowercase}} {{Function |name=shell.aliases |args=string path |api=Shell |returns=A table containing default and set aliases. If a path is specified, it will return a tab...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=shell.aliases&lt;br /&gt;
|args=[[string]] path&lt;br /&gt;
|api=Shell&lt;br /&gt;
|returns=A table containing default and set aliases. If a path is specified, it will return a table in which all the contents are part of that specific api/path&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Returns a table containing the default aliases and user specified aliases&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=This code will define a path, 'fs', for shell.aliases to use. This wll return all functions relating to the 'fs' api&lt;br /&gt;
|code= for k,v in pairs(shell.aliases(&amp;quot;fs&amp;quot;)) do&amp;lt;br/&amp;gt;   print(v)&amp;lt;br/&amp;gt;end&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
[[Category:API_Functions]]&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Timer_(event)&amp;diff=5263</id>
		<title>Timer (event)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Timer_(event)&amp;diff=5263"/>
				<updated>2013-03-29T12:40:34Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: May need more work&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{NeedsWork|A demonstration on the use and handling of this event would be beneficial. ''[[User:AfterLifeLochie|AfterLifeLochie]] 16:11, 30 November 2012 (MSK)''}}&lt;br /&gt;
&lt;br /&gt;
{{Event&lt;br /&gt;
|name=timer&lt;br /&gt;
|desc=Fired when a timer completes.&lt;br /&gt;
|return1=The timer's numerical representation value (returned when [[os.startTimer|os.startTimer()]] is initially called).&lt;br /&gt;
}}&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=This code will continuously start an internal timer and fire an event. If the event is not the timer, then it will break the loop&lt;br /&gt;
|code= while true do&amp;lt;br/&amp;gt;  os.startTimer(1)&amp;lt;br/&amp;gt;  event = os.pullEvent()&amp;lt;br/&amp;gt;  if event == &amp;quot;timer&amp;quot; then &amp;lt;br/&amp;gt;    print(&amp;quot;Too slow!&amp;quot;)&amp;lt;br/&amp;gt;  else&amp;lt;br/&amp;gt;    print(&amp;quot;Darn, you beat me!&amp;quot;)&amp;lt;br/&amp;gt;    break&amp;lt;br/&amp;gt;  end&amp;lt;br/&amp;gt;end&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.drawLine&amp;diff=5261</id>
		<title>Paintutils.drawLine</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawLine&amp;diff=5261"/>
				<updated>2013-03-29T12:07:11Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=paintutils.drawLine&lt;br /&gt;
 |args=[[int (type)|int]] startX, [[int (type)|int]] startY, [[int (type)|int]] endX, [[int (type)|int]] endY, [[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 line on the screen from (startX startY) to (endX endY)&lt;br /&gt;
 |examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=This code will draw a red line from the position (1, 2) to the position (3, 4)&lt;br /&gt;
|code=line = [[paintutils.drawLine]](1, 2, 3, 4, [[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>SuicidalSTDz</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Paintutils.drawLine&amp;diff=5260</id>
		<title>Paintutils.drawLine</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Paintutils.drawLine&amp;diff=5260"/>
				<updated>2013-03-29T12:05:43Z</updated>
		
		<summary type="html">&lt;p&gt;SuicidalSTDz: Created page with &amp;quot;{{lowercase}} {{Function  |name=paintutils.drawLine  |args=int startX, int startY, int endX, int endY, [[colour (AP...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
 |name=paintutils.drawLine&lt;br /&gt;
 |args=[[int (type)|int]] startX, [[int (type)|int]] startY, [[int (type)|int]] endX, [[int (type)|int]] endY, [[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 line on the screen from (startX startY) to (endX endY)&lt;br /&gt;
 |examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=This code will draw a red line from the position (1,2) to the position (2,4)&lt;br /&gt;
|code=line = [[paintutils.drawLine]](1, 2, 2, 4, [[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>SuicidalSTDz</name></author>	</entry>

	</feed>