do we need to modify the lines in red ,,bellow code
local ip [/ppp active get
$pppuser address ]
local tmp [/queue simple get
$queue target-addresses]
if ($ip!=$tmp) do={queue simple add name=
$name target-addresses=
$ip max-limit=256k/512k
try this script
foreach pppuser in=[/ppp active find ] do={
local ip [/ppp active get [color=#FF0000]$pppuser address[/color] ]
local name [/ppp active get $pppuser name]
foreach queue in=[/queue simple find] do={
local tmp [/queue simple get [color=#FF0000]$queue target-addresses[/color]]
if ($ip!=$tmp) do={queue simple add name=[color=#FF0000]$name[/color] target-addresses=[color=#FF0000]$ip[/color] max-limit=256k/512k
}}}
change max-limit (upload/download)