But now, you add a TEXT:

Code:
#include <acknex.h>

typedef struct LEVEL {
	STRING *script;
	var xyz;
} LEVEL;

LEVEL *testLvl = { script = "#20"; xyz = 0; }

TEXT*txt=
{
	pos_x=10;
	pos_y=10;
	flags=SHOW;
	font="Courier#25b";
	string=testLvl.script;
}

void main() {
	
	//getting the string into the struct you have two options
	//ONE
	STRING *testStr = str_create("test-script");
	testLvl.script = str_create("#20");
	str_cpy(testLvl.script, testStr);
	str_remove(testStr);

	//TWO
	STRING *testStr = str_create("test-script");
	testLvl.script = testStr;
	
	wait(1);
	error(testLvl.script);
}



And the TEXT shows "#20".