I have a couple of scripts that use the old float plugin. I am not the
author of the scripts and I don't know much scripting. Can somebody
please tell me how to convert the following script so that it doesn't
rely on the float plugin that is no longer provided? I would greatly
appreciate it.
Exec.volumeall ("-5")
Local VolSteps = 34
Local VolUnit =
Float.Truncate(Float.Add(Float.Mul(Float.Divide(Volume,
255),VolSteps), "0.5"))
Local VolDown = "Volume " ++ Repeat("··", VolUnit) ++ "O" ++
Repeat("··", VolSteps -VolUnit)
OSD.Show(VolDown,"","30","Arial Bold")