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

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Term_(API)&amp;diff=1331</id>
		<title>Talk:Term (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Term_(API)&amp;diff=1331"/>
				<updated>2012-04-19T16:25:06Z</updated>
		
		<summary type="html">&lt;p&gt;XDot: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>XDot</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Tutorials&amp;diff=1311</id>
		<title>Tutorials</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Tutorials&amp;diff=1311"/>
				<updated>2012-04-17T11:03:07Z</updated>
		
		<summary type="html">&lt;p&gt;XDot: /* Programming &amp;amp; Wiring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Look for the [[Getting Started]] guide if this is your first try. As some tutorials might not be listed here, you can also browse the [[:Category:Tutorials|tutorials category]].&lt;br /&gt;
&lt;br /&gt;
=== Basics ===&lt;br /&gt;
Common things that may need some explanation.&lt;br /&gt;
*[[The console and its shell]]&lt;br /&gt;
&lt;br /&gt;
=== Programming &amp;amp; Wiring ===&lt;br /&gt;
*[[Hello_World_Tutorial|Hello World!]]&lt;br /&gt;
*[[Guess_The_Number_(tutorial)|Guess the Number]]&lt;br /&gt;
*[[Making_a_Password_Protected_Door|Password Protected Door]]&lt;br /&gt;
*[[Making_an_API_(tutorial)|Programming an API]]&lt;br /&gt;
*[[Startup|Running script automatically at boot with Startup]]&lt;br /&gt;
*[[Raw key events| Detecting specific keys (such as the arrow keys)]]&lt;br /&gt;
*[[Receiving a rednet message through os.pullEvent()|Receiving a rednet message through os.pullEvent()]]&lt;br /&gt;
&lt;br /&gt;
=== Turtles ===&lt;br /&gt;
The nice little robots that do the hard work for you.&lt;br /&gt;
*[[Turtle_Tutorial|Turtles!]]&lt;br /&gt;
*[[Turtle_Lumberjack_(tutorial)|Turtle Lumberjack]]&lt;br /&gt;
*[[Advanced_Turtle_Lumberjack_(tutorial)|Advanced Turtle Lumberjack]]&lt;br /&gt;
*[[Cobble_Generator|Cobblestone Generator]]&lt;br /&gt;
*[[Turtle_Stairbuilder_(tutorial)|Turtle Stairbuilder]]&lt;/div&gt;</summary>
		<author><name>XDot</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Tutorials&amp;diff=1310</id>
		<title>Tutorials</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Tutorials&amp;diff=1310"/>
				<updated>2012-04-17T11:02:26Z</updated>
		
		<summary type="html">&lt;p&gt;XDot: /* Programming &amp;amp; Wiring */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Look for the [[Getting Started]] guide if this is your first try. As some tutorials might not be listed here, you can also browse the [[:Category:Tutorials|tutorials category]].&lt;br /&gt;
&lt;br /&gt;
=== Basics ===&lt;br /&gt;
Common things that may need some explanation.&lt;br /&gt;
*[[The console and its shell]]&lt;br /&gt;
&lt;br /&gt;
=== Programming &amp;amp; Wiring ===&lt;br /&gt;
*[[Hello_World_Tutorial|Hello World!]]&lt;br /&gt;
*[[Guess_The_Number_(tutorial)|Guess the Number]]&lt;br /&gt;
*[[Making_a_Password_Protected_Door|Password Protected Door]]&lt;br /&gt;
*[[Making_an_API_(tutorial)|Programming an API]]&lt;br /&gt;
*[[Startup|Running script automatically at boot with Startup]]&lt;br /&gt;
*[[Raw key events| Detecting specific keys (such as the arrow keys)]]&lt;br /&gt;
*[[Receiving a rednet message through os.pullEvent()|Receiving_a_rednet_message_through_os.pullEvent()]]&lt;br /&gt;
&lt;br /&gt;
=== Turtles ===&lt;br /&gt;
The nice little robots that do the hard work for you.&lt;br /&gt;
*[[Turtle_Tutorial|Turtles!]]&lt;br /&gt;
*[[Turtle_Lumberjack_(tutorial)|Turtle Lumberjack]]&lt;br /&gt;
*[[Advanced_Turtle_Lumberjack_(tutorial)|Advanced Turtle Lumberjack]]&lt;br /&gt;
*[[Cobble_Generator|Cobblestone Generator]]&lt;br /&gt;
*[[Turtle_Stairbuilder_(tutorial)|Turtle Stairbuilder]]&lt;/div&gt;</summary>
		<author><name>XDot</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Talk:Term_(API)&amp;diff=1309</id>
		<title>Talk:Term (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Talk:Term_(API)&amp;diff=1309"/>
				<updated>2012-04-17T11:00:08Z</updated>
		
		<summary type="html">&lt;p&gt;XDot: Created page with &amp;quot;Is there a way to &amp;quot;read&amp;quot; the console output? I mean convert the contents of the screen to a string array or something similar? --~~~~&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Is there a way to &amp;quot;read&amp;quot; the console output? I mean convert the contents of the screen to a string array or something similar? --[[User:XDot|XDot]] 11:00, 17 April 2012 (UTC)&lt;/div&gt;</summary>
		<author><name>XDot</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Receiving_a_rednet_message_through_os.pullEvent()&amp;diff=1308</id>
		<title>Receiving a rednet message through os.pullEvent()</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Receiving_a_rednet_message_through_os.pullEvent()&amp;diff=1308"/>
				<updated>2012-04-17T07:20:49Z</updated>
		
		<summary type="html">&lt;p&gt;XDot: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following method is a good method of receiving a rednet message without using rednet.receive().&lt;br /&gt;
It is usually used in IRC, Chat programs e.t.c.&lt;br /&gt;
When a message arrives to a computer, a &amp;quot;rednet_message&amp;quot; event occurs.  &lt;br /&gt;
== The Code ==&lt;br /&gt;
This is a typical Listener which prints the content and the sender id of any incoming message.&lt;br /&gt;
 rednet.open(&amp;quot;Direction_of_modem&amp;quot;)&lt;br /&gt;
 while true do&lt;br /&gt;
   event, id, text = os.pullEvent()&lt;br /&gt;
   if event == &amp;quot;rednet_message&amp;quot; then&lt;br /&gt;
     print(id .. &amp;quot;&amp;gt; &amp;quot; .. text)&lt;br /&gt;
   end&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
== Explanation ==&lt;br /&gt;
 rednet.open(&amp;quot;Direction_of_modem&amp;quot;)&lt;br /&gt;
Here we just open the modem.&lt;br /&gt;
&lt;br /&gt;
 while true do&lt;br /&gt;
We start a loop because os.pullEvent() terminates itself after 10 seconds.&lt;br /&gt;
&lt;br /&gt;
 event, id, text = os.pullEvent()&lt;br /&gt;
We wait for an event to occur and when this happens, we store the event's info into 3 variables.&lt;br /&gt;
NOTE: You can give your variables whichever name you want.&lt;br /&gt;
&lt;br /&gt;
 if event == &amp;quot;rednet_message&amp;quot; then&lt;br /&gt;
We check if the event was a rednet message.&lt;br /&gt;
&lt;br /&gt;
 print(id .. &amp;quot;&amp;gt; &amp;quot; .. text)&lt;br /&gt;
We print the message and the id of the sender.&lt;br /&gt;
&lt;br /&gt;
 end&lt;br /&gt;
 end&lt;br /&gt;
We close our previous statements.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: From my research, I didn't find a similar article and decided to make one. I hope that someone will improve it.&lt;br /&gt;
--[[User:XDot|XDot]] 07:19, 17 April 2012 (UTC)&lt;/div&gt;</summary>
		<author><name>XDot</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Receiving_a_rednet_message_through_os.pullEvent()&amp;diff=1307</id>
		<title>Receiving a rednet message through os.pullEvent()</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Receiving_a_rednet_message_through_os.pullEvent()&amp;diff=1307"/>
				<updated>2012-04-17T07:19:18Z</updated>
		
		<summary type="html">&lt;p&gt;XDot: Created page with &amp;quot;The following method is a good method of receiving a rednet message without using rednet.receive(). It is usually used in IRC, Chat programs e.t.c.   == The Code == This is a ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The following method is a good method of receiving a rednet message without using rednet.receive().&lt;br /&gt;
It is usually used in IRC, Chat programs e.t.c.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== The Code ==&lt;br /&gt;
This is a typical Listener which prints the content and the sender id of any incoming message.&lt;br /&gt;
 rednet.open(&amp;quot;Direction_of_modem&amp;quot;)&lt;br /&gt;
 while true do&lt;br /&gt;
   event, id, text = os.pullEvent()&lt;br /&gt;
   if event == &amp;quot;rednet_message&amp;quot; then&lt;br /&gt;
     print(id .. &amp;quot;&amp;gt; &amp;quot; .. text)&lt;br /&gt;
   end&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
== Explanation ==&lt;br /&gt;
 rednet.open(&amp;quot;Direction_of_modem&amp;quot;)&lt;br /&gt;
Here we just open the modem.&lt;br /&gt;
&lt;br /&gt;
 while true do&lt;br /&gt;
We start a loop because os.pullEvent() terminates itself after 10 seconds.&lt;br /&gt;
&lt;br /&gt;
 event, id, text = os.pullEvent()&lt;br /&gt;
We wait for an event to occur and when this happens, we store the event's info into 3 variables.&lt;br /&gt;
NOTE: You can give your variables whichever name you want.&lt;br /&gt;
&lt;br /&gt;
 if event == &amp;quot;rednet_message&amp;quot; then&lt;br /&gt;
We check if the event was a rednet message.&lt;br /&gt;
&lt;br /&gt;
 print(id .. &amp;quot;&amp;gt; &amp;quot; .. text)&lt;br /&gt;
We print the message and the id of the sender.&lt;br /&gt;
&lt;br /&gt;
 end&lt;br /&gt;
 end&lt;br /&gt;
We close our previous statements.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: From my research, I didn't find a similar article and decided to make one. I hope that someone will improve it.&lt;br /&gt;
--[[User:XDot|XDot]] 07:19, 17 April 2012 (UTC)&lt;/div&gt;</summary>
		<author><name>XDot</name></author>	</entry>

	</feed>