Thanks, but that's what I said. I added my command in there just as the map command is there and the tab completion works, but it only does just that, complete the filename, I want it to list all the files like /map <TAB> does, where it lists all the maps it can find. I think the function we both found is only for tab completion when you do something like /map my<TAB> (Completes it to /map mymap).
<br><br>Also, do you know where the map command is handled? I&#39;ve been looking but can&#39;t find anything. Nevermind I just found it, sv_ccmds.c, SV_Map_f. Doesn&#39;t seem like it does what I&#39;m saying though.<br>
<br>Thanks for the help so far but I think you misunderstood me, that or you thought what I thought haha (That that function is what I wanted), if you still don&#39;t understand please let me know and I&#39;ll try to clarify! :)
<br><br>Thanks again!<br><br><div><span class="gmail_quote">On 2/17/07, <b class="gmail_sendername">Rainer Klaffenboeck</b> &lt;<a href="mailto:rainer.klaffenboeck@inode.at">rainer.klaffenboeck@inode.at</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">qcommon/common.c/Field_CompleteCommand()<br><br>Have fun,<br>Hobbes<br><br>Jorge Pena wrote:
<br>&gt; Hey do any of you guys know where the tab completion for the /map<br>&gt; command is handled? I&#39;ve been searching on and off and haven&#39;t found<br>&gt; anything. Basically I want to take a look at it to incorporate it into
<br>&gt; another command I want to make. I found Field_CompleteCommand, and I<br>&gt; added my command to that and it seems to correctly &#39;tab complete&#39; but<br>&gt; it doesn&#39;t do what I want. Basically, I want it to output a list of
<br>&gt; files I have in a directory called /ogg (Or anywhere), like the /map<br>&gt; command does when you type /map space &lt;TAB&gt;, it lists all the maps,<br>&gt; pretty much like that, I&#39;ve been searching and searching but can&#39;t
<br>&gt; find anything, I&#39;d really appreciate any help!<br><br><br><br></blockquote></div><br>