Create a panel with digits and attach variables you gave in a wdl, then you write a function in C++ which you call everytime if you wish to update the values, something like that:
Code:
var test;
function refresh_var()
{
DLL_RefreshVar();
}
The DLLFunction gets the var from the script with engine_getobj() and then you can manipulate it.
regards