The ACCESS setting controls who has access to starting or stopping a script. Available options are IRCOP, SA, ADMIN, and @<room>. IRCOP refers to network operators, SA to services admins, ADMIN to server admins, and the @<room> format to all users with operator status in the specified room.
The COMMAND setting changes the command with which the script is executed. Once a command (in this example, open) is set, anyone in the ACCESS list can execute the script by typing '/<commandname>' (for example, '/open').
/as script open set access admin
/as script open set command open
The script will appear much like any server command and you issue it in the same way. In this way you can add commands designed to do things that are useful on your server.