pppoe-client

hi.

test is pppoe-client.
i want script that when user connect by test (show test is ppp active) then test disable in ppp secret .
/ppp secret disable {/ppp active find name=test}
not work.

pls help me.

:do {
:local a [:len [/ppp active find name="test"]]
:if ($a="1") do={
/ppp secret disable test
}}

thxxxxxxxxxxxxx