Vizrt scripting practice: writing a flexible and reliable "smart number" component