ppp profile scripts

Hello

I wan make script that add simple queue when pppoe up and remove then when pppoe down.

on up

/queue simple add name=$user target=$remote-address queue=default/default total-queue=default

on down

:local queuerem
:set queuerem[/queue simple find name=$user]
/queue simple remove $queurem

but $remote-address not work

please help me in this

isn’t is $“remote-address”?

o yes thank you