08-28-2013, 02:14 PM 
(This post was last modified: 08-29-2013, 04:28 AM by Melanosuchus.)
	
	
	
	
		Hello!
Today I was playing with the game configuration/console, I've got most of the reference for the syntax and command from "Console Tips & Tricks".
Does the language used by the configuration have a name? Is there some actual documentation for it?
I've noticed that variables act weirdly inside aliases, it appears that they are not updated as soon as a new value is assigned to them.
The following code demonstrates that:
Calling test1 with some parameter will reveal that $param keeps old values, while $1 is correct.
I've found that this can be solved in the following way:
It seems weird enough to me.
I'm new to this so maybe I'm not using set properly, is there some other way to have (local) variables?
	
	
Today I was playing with the game configuration/console, I've got most of the reference for the syntax and command from "Console Tips & Tricks".
Does the language used by the configuration have a name? Is there some actual documentation for it?
I've noticed that variables act weirdly inside aliases, it appears that they are not updated as soon as a new value is assigned to them.
The following code demonstrates that:
Code:
alias test1 "set param $1; echo $1 - $param;";I've found that this can be solved in the following way:
Code:
alias test2a "echo $1 - $param;";
alias test2 "set param $1; test2a $1";I'm new to this so maybe I'm not using set properly, is there some other way to have (local) variables?



![[Image: 4XODR.png]](http://i.imgur.com/4XODR.png)

 
 
		

![[Image: 862c968ad1ab5cbd678155192b255f5d.png]](http://rm.sudo.rm-f.org/img/uploaded/862c968ad1ab5cbd678155192b255f5d.png) 
	