i think there might be a script like that in the Bonus Game Tools which you can download from Alias's site.