Lua Script Barometer Altitude

As the topic states, what I’m trying to figure out is how to get the barometer Altitude labeled “alt” in the quick tab.
I’ve been able to get the gps data from both GPS and AHRS. This correspond to the “altasl” param.