heya, have a look at engine_getvar()