Sets a specific value on a field.
Example:
/as util field John avatar Alien
/as util field Crystal sex Female
This will allow you to set fields with external methods or scripts. You'll be able to write a script that automatically adds an avatar to a bot or with external calls you can set information from your external database on users on the server.
This will send either a local newsflash or a network-wide newsflash. This command mimics the server commands /lflash or /nflash.
Example:
/as util flash local -=This is a local newsflash=-
If you had a regular event on your server, you could script a newsflash to inform people as part of that event.
These commands send notices to various users. Locops will send a notice to every oper on the server. Globops will send a notice to every network operator who is +g, regardless of which servers they are on. Server will send a notice to everyone on the server. Network will send a notice to everyone on the network.
Example:
/as util network -=This is a global notice=- Our chat network is celebrating its first birthday, join #Administration for cake!
These notices can be particularly useful if you create a script that is disruptive in some way. Noticing first allows people to prepare.
These commands will shut down your server (die), rehash your server (clearing temporary server bans and similar), or shut down and then restart the server,
Example:
/as util server rehash
You will probably not want to write a script that will shut down your server. Once shut down, there may not be someone with sufficient access to bring it back up. But if you had a reason to, you could set up a script to shut down your server and then connect it to an event that you could configure to execute at a specific time. This way if you wanted to shut down your server at some particular time, you would not have to even be online to do it. Regular rehashing is a more practical and common use for scripts and events. Restarting might also be desired.
This command will shutdown or start services on your server.
Example:
/as util services start
You might want to shutdown services either if your network is only "open" during certain hours or if you want to do a quick shutdown, copy the logs, and then restart services.
These commands will start or stop your web server. The web server supports the web administration and the java client. You will need a web server running for users to be able to access your chat server through their web browsers.
Example:
/as util web start
As with stopping services, you might want to shut down your web server either to close your network down for a bit or to copy files.