PPPoE profile Fallback Script

Hi all, do a scripter / programmer have a scripting issue for this question: http://forum.mikrotik.com/t/pppoe-profile-fallback-issue/89821/1

best regards