 |
Seb Wizard
Joined: 14 Aug 2004 Posts: 1269
|
Posted: Tue Nov 14, 2006 11:17 pm
[1.15] #VAR defaultvalues are ignored for existing vars |
This may be a bug or it may be an undocumented feature (and a change from zMUD).
When using the #VAR command, if your variable does not exist, the default value you provide does take effect. However, if the variable already exists, then it does not take effect.
e.g.
#VAR TestHour 12 55
The default is set to 55.
#VAR TestHour 12 57
The default is still 55.
#VAR TestHour 12 _nodef
The default is still 55.
Adding a ClassName doesn't change the behaviour (so long as you are using the same ClassName consistently). |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Tue Nov 14, 2006 11:38 pm |
Added to bug list.
|
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|