With the introduction of OS 9.1 Apple has discontinued the Remote Access Commands scripting addition. PPP control is now done with the Network Setup Scripting commands. That might be the reason why this script isn't to be found anymore.
It seems you have to write your own script. Infos how to do are to be found in the AppleScript Guidebook Open Transport (Networking). get it from
http://www.apple.com/applescript/help_mods.html. There are sample scripts included which you can copy and paste into the Scripteditor. For disconnecting it shows as example:
<font face = "courier">
set the config_name to "My Remote Connection (Toll free)"
try
tell application "Network Setup Scripting"
-- open the Networking Database
open database
-- start the connection process
disconnect Remote Access configuration config_name
--close the Network Database
close database
end tell
on error
try
-- close the database if it was left open
tell application "Network Setup Scripting" to close database
on error
end try
end try
</font>
Seems you have to use the name of your current configuration for config_name
If you want it to use your current configuration, delete the line
<font face = "courier">set the config_name to "My Remote Connection (Toll free)"</font>
and insert the following after <font face = "courier">open database</font>:
<font face = "courier">set the current_config to every Remote Access configuration whose active is true</font>
<font face = "courier">set the current_config to the name of (item 1 of the current_config)</font>
That should work though I've not tested it.
This comes with no warranties, use on your own risk and backup all important data first
Hope that helps
-