You could get the effect by calling for the RightNow.getSeconds() object.method and basically copying and pasting the minute's IF statements.
You can see the entire script here.