<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=Engine%3ACCMD_set</id>
	<title>Engine:CCMD set - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=Engine%3ACCMD_set"/>
	<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=Engine:CCMD_set&amp;action=history"/>
	<updated>2026-05-10T14:50:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=Engine:CCMD_set&amp;diff=21417&amp;oldid=prev</id>
		<title>Bear: Created page with &quot;{{dev/uiccmd}} Creates and sets a variable in the current context. &lt;kua&gt;set bob fred&lt;/kua&gt;  == Arguments == * name - name for variable to set * value (optional) - the value to set. If no value, then prints value if exists.  == Details == Can be used to set values for variables. Will create a new variable is not exists.  == Examples == === Default values === * &#039;set&#039; called with &#039;bob&#039; without a value. Variable &#039;bob&#039; doesn&#039;t exist. &lt;kua&gt; &gt; set bob Unknown: bob &lt;/kua&gt; * Crea...&quot;</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=Engine:CCMD_set&amp;diff=21417&amp;oldid=prev"/>
		<updated>2023-10-14T00:34:11Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{dev/uiccmd}} Creates and sets a variable in the current context. &amp;lt;kua&amp;gt;set bob fred&amp;lt;/kua&amp;gt;  == Arguments == * name - name for variable to set * value (optional) - the value to set. If no value, then prints value if exists.  == Details == Can be used to set values for variables. Will create a new variable is not exists.  == Examples == === Default values === * &amp;#039;set&amp;#039; called with &amp;#039;bob&amp;#039; without a value. Variable &amp;#039;bob&amp;#039; doesn&amp;#039;t exist. &amp;lt;kua&amp;gt; &amp;gt; set bob Unknown: bob &amp;lt;/kua&amp;gt; * Crea...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{dev/uiccmd}}&lt;br /&gt;
Creates and sets a variable in the current context.&lt;br /&gt;
&amp;lt;kua&amp;gt;set bob fred&amp;lt;/kua&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
* name - name for variable to set&lt;br /&gt;
* value (optional) - the value to set. If no value, then prints value if exists.&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
Can be used to set values for variables. Will create a new variable is not exists.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Default values ===&lt;br /&gt;
* &amp;#039;set&amp;#039; called with &amp;#039;bob&amp;#039; without a value. Variable &amp;#039;bob&amp;#039; doesn&amp;#039;t exist.&lt;br /&gt;
&amp;lt;kua&amp;gt;&lt;br /&gt;
&amp;gt; set bob&lt;br /&gt;
Unknown: bob&lt;br /&gt;
&amp;lt;/kua&amp;gt;&lt;br /&gt;
* Creates variable &amp;#039;bob&amp;#039; and sets to &amp;#039;fred&amp;#039;. &lt;br /&gt;
&amp;lt;kua&amp;gt;&lt;br /&gt;
&amp;gt; set bob fred&lt;br /&gt;
&amp;lt;/kua&amp;gt;&lt;br /&gt;
* Same as the first example, but now bob exists.  &lt;br /&gt;
&amp;lt;kua&amp;gt;&lt;br /&gt;
&amp;gt; var bob&lt;br /&gt;
&amp;#039;bob&amp;#039; is &amp;#039;fred&amp;#039;&lt;br /&gt;
&amp;lt;/kua&amp;gt;&lt;br /&gt;
* Try to set existing &amp;#039;bob&amp;#039; to &amp;#039;james&amp;#039;, value changes. &lt;br /&gt;
&amp;lt;kua&amp;gt;&lt;br /&gt;
&amp;gt; var bob james&lt;br /&gt;
&amp;gt; var bob&lt;br /&gt;
&amp;#039;bob&amp;#039; is &amp;#039;james&amp;#039;&lt;br /&gt;
&amp;lt;/kua&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
*&lt;/div&gt;</summary>
		<author><name>Bear</name></author>
	</entry>
</feed>