[Menu] attach a string to a cvar -1 reply

Please wait...

Mr. Wonko

Addicted to GF

50 XP

24th September 2006

0 Uploads

277 Posts

0 Threads

#1 11 years ago

Hi,

is there a way to attach a string to a cvar? For example, at the start the cvar foobar contains "foo" and then i say something like attachtocvar foobar "bar" and then it contains "foo bar"?

and is there something like && in the cvartest-dis/enablecvar-construc? e.g. cvartest foobar enablecvar {"foo" && "bar"} cvarSubString in order to have something only be enabled when foobar contains both "foo" and "bar"?

thx 4 help, Mr. Wonko

btw. welcome everybody, 1st thread in this forum (i think it's the biggest active jka modding related forum?)