Difference between revisions of "Alias"

From OdaWiki
 
 
Line 1: Line 1:
 
===alias===
 
===alias===
  
creates a user-defined command
+
Creates a user-defined command, eg:
 +
 
 +
<pre>
 +
alias jumptomap15 map map15
 +
</pre>
 +
 
 +
Aliases, when executed with parameters, will be added on to the translated command, eg:
 +
 
 +
<pre>
 +
jumptomap15 map10
 +
</pre>
 +
 
 +
This would be translated to:
 +
 
 +
<pre>
 +
map map15 map10
 +
</pre>
  
 
[[Category:Client_commands]]
 
[[Category:Client_commands]]
 
[[Category:Server_commands]]
 
[[Category:Server_commands]]

Latest revision as of 23:11, 17 April 2007

alias

Creates a user-defined command, eg:

alias jumptomap15 map map15

Aliases, when executed with parameters, will be added on to the translated command, eg:

jumptomap15 map10

This would be translated to:

map map15 map10