this is exactly what i want but for pppoe

hi all

this script what really i need but i want it for pppoe to change profiles.

this is it :

http://wiki.mikrotik.com/wiki/Limit_Different_Bandwidth_In_Day_and_Night

what changes must be done to work for pppoe?

thanks in advance