The find command is reserved as an alias of apropos in FTEQW,
Quakespasm, and Source, and assumedly other engines.
In the particular case of FTEQW, compatibility with the engine is
broken and the command is hijacked by FTEQW, making the Xonotic use
of the command impossible. We should try to maintain compatibility
with at least FTEQW as much as possible, on the principle of not
being restricted to a single engine.
As a side note, this functionality ought to become part of the engine
itself.
alias dumpitems "qc_cmd_svmenu dumpitems ${* ?}" // Dump all items to the console
alias dumpturrets "qc_cmd_svmenu dumpturrets ${* ?}" // Dump all turrets into turrets_dump.txt
alias dumpweapons "qc_cmd_svmenu dumpweapons ${* ?}" // Dump all weapons into weapons_dump.txt
-alias find "qc_cmd_svmenu find ${* ?}" // Search through entities for matching classname
+alias findent "qc_cmd_svmenu find ${* ?}" // Search through entities for matching classname
alias findat "qc_cmd_svmenu findat ${* ?}" // Search through entities for matching origin
alias maplist "qc_cmd_svmenu maplist ${* ?}" // Automatic control of maplist
alias mx "qc_cmd_svmenu mx ${* ?}" // Send a matrix command
#endif
-GENERIC_COMMAND(find, "Search through entities for matching classname", false)
+GENERIC_COMMAND(findent, "Search through entities for matching classname", false)
{
switch (request)
{