read out files
Posted: Sun Jun 22, 2003 2:42 pm
hi!
didnt know where to post it so decided to put it in scripting.
Its less an mapping but more an modding prob.
Its all about an rcon command.
I set in a config file test.cfg:
exec test.cfg
seta testvar1 "here i am"
ive made an urc file test.urc in ui folder:
rcon say testvar1
both are loaded properly.
but it didnt recognize testcvar as an cvar but just as "testvar1"
so it broadcasts "testcvar1" and not "here i am"
i tried it also with "testcvar" 'testcvar' brackets etc..
all didnt helped.
maybe its a wrong way to do it with an cvar.
so my question is what have i to do to read out an variable of an outer file to use it as an rcon command variable? Is it possible?
thx for any help
didnt know where to post it so decided to put it in scripting.
Its less an mapping but more an modding prob.
Its all about an rcon command.
I set in a config file test.cfg:
exec test.cfg
seta testvar1 "here i am"
ive made an urc file test.urc in ui folder:
rcon say testvar1
both are loaded properly.
but it didnt recognize testcvar as an cvar but just as "testvar1"
so it broadcasts "testcvar1" and not "here i am"
i tried it also with "testcvar" 'testcvar' brackets etc..
all didnt helped.
maybe its a wrong way to do it with an cvar.
so my question is what have i to do to read out an variable of an outer file to use it as an rcon command variable? Is it possible?
thx for any help