clean up saved.cfg

* combine all weapon attributes in a table
* sort variables and aliases
* group variables
* implement curname as SVAR
* implement cmdbuf as temporary alias
This commit is contained in:
ac-stef
2015-02-23 20:17:43 +01:00
parent 8153813c14
commit d9b7e0e159
3 changed files with 49 additions and 31 deletions
+2 -1
View File
@@ -410,8 +410,9 @@ struct hline
pushscontext(IEXC_PROMPT);
if(action)
{
alias("cmdbuf", buf);
push("cmdbuf", buf);
execute(action);
pop("cmdbuf");
}
else if(buf[0]=='/') execute(buf+1);
else toserver(buf);