<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.easyuo.com/index.php?action=history&amp;feed=atom&amp;title=QG_True_False</id>
		<title>QG True False - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.easyuo.com/index.php?action=history&amp;feed=atom&amp;title=QG_True_False"/>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=QG_True_False&amp;action=history"/>
		<updated>2026-04-30T15:49:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://wiki.easyuo.com/index.php?title=QG_True_False&amp;diff=3344&amp;oldid=prev</id>
		<title>Una at 18:40, 3 April 2006</title>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=QG_True_False&amp;diff=3344&amp;oldid=prev"/>
				<updated>2006-04-03T18:40:54Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Quick Guide: #True &amp;amp; #False ==&lt;br /&gt;
&lt;br /&gt;
=== Author: Una ===&lt;br /&gt;
=== Purpose ===&lt;br /&gt;
To teach you the idea of #true and #false and how to use em in scripts&lt;br /&gt;
&lt;br /&gt;
== #True and #False ==&lt;br /&gt;
=== How to use em and why ===&lt;br /&gt;
&lt;br /&gt;
Boolean #true and #false are like ON / OFF variables. If something is ON, Positive, running or it has happened, its #True. If something is OFF, negative or has not yet happened its #False.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set %UseMagery yes&lt;br /&gt;
&lt;br /&gt;
if %UseMagery = yes&lt;br /&gt;
   Use Spell Mini heal&lt;br /&gt;
&lt;br /&gt;
if %UseMagery = no&lt;br /&gt;
   Heal with bandages&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Most of beginners do it this way. Theres nothing really wrong, its just harder way. If you do it this way, you dont have to type so much and it looks better.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
set %UseMagery #true&lt;br /&gt;
&lt;br /&gt;
if %UseMagery&lt;br /&gt;
   Use Spell Mini Heal&lt;br /&gt;
&lt;br /&gt;
if ! %UseMagery&lt;br /&gt;
   Heal with bandages&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This may look confusing at start, but further look, will make it all clear. Lets take a closer look at those lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if %UseMagery&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will check, if %UseMagery is #true. If it is, then &amp;quot;if&amp;quot; sentence gets executed.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
if ! %UseMagery&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This is same, but it will turn things upside down. It will check if its UNtrue. So if this is #false, it gets executed&lt;br /&gt;
Using #true and #false makes your script look better and easyer to understand. If you can, use these.&lt;br /&gt;
&lt;br /&gt;
This was all for Booleans today. Hope you got something from this Quickye!&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Tutorials| Back to Tutorials]]&lt;/div&gt;</summary>
		<author><name>Una</name></author>	</entry>

	</feed>