<?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>userdir</name>
  <description>A userdir command can be used for addition of directories to the list searched for files by the client (configs, sounds, models, etc.). Real handy when several players with their own configs files play Quake on a single computer.
When issuing this command after reconnection to a server or parameter is not defined, a current userdir is printed in the console.</description>
  <syntax>[dir [type]]</syntax>
  <arguments>
    <argument>
      <name>dir</name>
      <description>String used as the &lt;dir&gt; part in the final path (see 'type' argument below).</description>
    </argument>
    <argument>
      <name>type</name>
      <description>Optional number. Default is 0. 0 - &lt;quake_dir&gt;/&lt;gamedir&gt;/&lt;dir&gt;, 
1 - &lt;quake_dir&gt;/&lt;dir&gt;/&lt;gamedir&gt;. 
2 - &lt;quake_dir&gt;/qw/&lt;dir&gt;/&lt;gamedir&gt;, 
3 - &lt;quake_dir&gt;/qw/&lt;dir&gt;, 
4 - &lt;quake_dir&gt;/&lt;dir&gt;, 
5 - $HOME/qw/&lt;dir&gt;</description>
    </argument>
  </arguments>
</command>
