<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://72.14.177.54/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>It's programming time!/Batch/CYOA - Revision history</title>
		<link>http://72.14.177.54/Create_Your_Own_Story/?title=It%27s_programming_time!/Batch/CYOA&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.1</generator>
		<lastBuildDate>Fri, 19 Jun 2026 18:49:40 GMT</lastBuildDate>
		<item>
			<title>Underside:&amp;#32;/* CYOA */</title>
			<link>http://72.14.177.54/Create_Your_Own_Story/?title=It%27s_programming_time!/Batch/CYOA&amp;diff=292312&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;CYOA&lt;/span&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 04:18, 16 July 2016&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[It's_programming_time!/Batch/Intro|This is cool. Let me start from the beginning.]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*[[It's_programming_time!/Batch/Intro|This is cool. Let me start from the beginning.]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;*[[It's_programming_time!/Batch/Goto|I want to know how '''goto''' works.]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;*[[It's_programming_time!/Batch/If|'''if''' looks tricky, how do I use it?]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;*[[It's_programming_time!/Batch/Variable|I want to '''set''' variables too. Tell me how that works.]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:It's programming time!|Batch]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:It's programming time!|Batch]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:It's programming time!/Batch|CYOA]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:It's programming time!/Batch|CYOA]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-06-19 18:49:40 --&gt;
&lt;/table&gt;</description>
			<pubDate>Sat, 16 Jul 2016 04:18:55 GMT</pubDate>			<dc:creator>Underside</dc:creator>			<comments>http://72.14.177.54/Create_Your_Own_Story/Talk:It%27s_programming_time!/Batch/CYOA</comments>		</item>
		<item>
			<title>Underside at 03:57, 16 July 2016</title>
			<link>http://72.14.177.54/Create_Your_Own_Story/?title=It%27s_programming_time!/Batch/CYOA&amp;diff=292308&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:57, 16 July 2016&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; goto BEGIN&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; goto BEGIN&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; :BIKE&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; :BIKE&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; set/p color=What &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;color &lt;/del&gt;bike do you have^?&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; set/p color=What &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;kind of &lt;/ins&gt;bike do you have^? &amp;nbsp;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; echo You ride your %color% bike for a while.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; echo You ride your %color% bike for a while.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; echo Now what^?&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; echo Now what^?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-06-19 18:49:40 --&gt;
&lt;/table&gt;</description>
			<pubDate>Sat, 16 Jul 2016 03:57:26 GMT</pubDate>			<dc:creator>Underside</dc:creator>			<comments>http://72.14.177.54/Create_Your_Own_Story/Talk:It%27s_programming_time!/Batch/CYOA</comments>		</item>
		<item>
			<title>Underside:&amp;#32;Something kind of cool for peaking interest.</title>
			<link>http://72.14.177.54/Create_Your_Own_Story/?title=It%27s_programming_time!/Batch/CYOA&amp;diff=292307&amp;oldid=prev</link>
			<description>&lt;p&gt;Something kind of cool for peaking interest.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==CYOA==&lt;br /&gt;
&amp;lt;div style=&amp;quot;background-color:rgb(245,245,245);&amp;quot;&amp;gt;&lt;br /&gt;
Let's try something fun.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;padding:0px 20px;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
We can make a Choose Your Own Story in a batch script:&lt;br /&gt;
#Hopefully you're able to make a batch file by now.&lt;br /&gt;
#Add the following lines to the file:&lt;br /&gt;
 @echo off&lt;br /&gt;
 echo Today you are going on an adventure.&lt;br /&gt;
 :BEGIN&lt;br /&gt;
 echo 1.) Go outside.&lt;br /&gt;
 echo 2.) Stay inside.&lt;br /&gt;
 set/p input=What do you do^? &lt;br /&gt;
 if %input%==1 goto OUTSIDE&lt;br /&gt;
 echo But you need adventure. Maybe you should consider again.&lt;br /&gt;
 goto BEGIN&lt;br /&gt;
 :OUTSIDE&lt;br /&gt;
 echo You're outside now. What will you do^?&lt;br /&gt;
 :OPTIONS&lt;br /&gt;
 echo 1.) Climb a tree.&lt;br /&gt;
 echo 2.) Go back inside.&lt;br /&gt;
 echo 3.) Ride your bike.&lt;br /&gt;
 set/p input=Pick an option^? &lt;br /&gt;
 if %input%==1 goto TREE&lt;br /&gt;
 if %input%==2 goto INSIDE&lt;br /&gt;
 goto BIKE&lt;br /&gt;
 :TREE&lt;br /&gt;
 echo You're up a tree. Now what^?&lt;br /&gt;
 echo 1.) Stay in the tree.&lt;br /&gt;
 echo 2.) Climb back down.&lt;br /&gt;
 echo 3.) Ride your bike.&lt;br /&gt;
 set/p input=Pick an option^? &lt;br /&gt;
 if %input%==1 goto TREE&lt;br /&gt;
 if %input%==3 goto DEATH&lt;br /&gt;
 echo You decide to climb down.&lt;br /&gt;
 goto OPTIONS&lt;br /&gt;
 :INSIDE&lt;br /&gt;
 echo But what about your adventure^? Maybe you should consider going back out.&lt;br /&gt;
 goto BEGIN&lt;br /&gt;
 :BIKE&lt;br /&gt;
 set/p color=What color bike do you have^?&lt;br /&gt;
 echo You ride your %color% bike for a while.&lt;br /&gt;
 echo Now what^?&lt;br /&gt;
 goto OPTIONS&lt;br /&gt;
 :DEATH&lt;br /&gt;
 echo You try to ride your %color% bike in a tree. That was not a good idea.&lt;br /&gt;
 echo. You've died.&lt;br /&gt;
 echo.&lt;br /&gt;
 pause&lt;br /&gt;
 exit&lt;br /&gt;
#Save your file without any formatting (Plain text).&lt;br /&gt;
#Double click your '''.bat''' file to execute the commands.&lt;br /&gt;
'' '''Remember: Don't edit the batch file while it's running. You can get unexpected errors that way. Be careful with complicated scripts.''' ''&lt;br /&gt;
&lt;br /&gt;
*[[It's_programming_time!/Batch/Intro|This is cool. Let me start from the beginning.]]&lt;br /&gt;
&lt;br /&gt;
[[Category:It's programming time!|Batch]]&lt;br /&gt;
[[Category:It's programming time!/Batch|CYOA]]&lt;/div&gt;</description>
			<pubDate>Sat, 16 Jul 2016 03:54:33 GMT</pubDate>			<dc:creator>Underside</dc:creator>			<comments>http://72.14.177.54/Create_Your_Own_Story/Talk:It%27s_programming_time!/Batch/CYOA</comments>		</item>
	</channel>
</rss>