PPTP server side event trigger

In PPTP server side, are there triggers of client connect/disconnect events to execute scripts?

See http://wiki.mikrotik.com/wiki/Manual:PPP_AAA#User_Profiles (on up / on down)

Thanks for the answer. But when I tried to add a on-down script for my “/ppp profile”, it doesn’t support on-down. I’m using ROS 5.24. What version is on-up/down is supported?

I have 6.35.2 and I see both up and down.
In 6.22.1 I don’t see either..