<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../xsl/command.xsl"?>
<command xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/command.xsd">
  <name>if_exists</name>
  <description>if an object &lt;name&gt; of a type &lt;type&gt; exists, a command &lt;cmd1&gt; will be issued, or a command &lt;cmd2&gt; if such object could not be found. 
The type of the object can be either cvar, alias, trigger or hud.</description>
  <syntax>&lt;type&gt; &lt;name&gt;  &lt;cmd1&gt; [&lt;cmd2&gt;]</syntax>
</command>
