[ console | reference ]

Grammar
Think of this like a DOS or bash prompt. The first word is a command. Every word after that is an argument to that command. Every command has a different number of required and optional parameters. White space delimits arguments. If you need a space in an argument, put double quotes around the whole thing. If you need double quotes and spaces in an argument, escape the quote with a backslash (\) first. If you need to do a backslash, escape that with a backslash.

It's pretty straight-forward. If you're confused, ask.

Command Reference
Arguments in <angle brackets> are required. Arguments in [brackets] are optional. If there is more than one optional argument, you can't skip one and provide one after it. Once you skip one, you have to skip the rest.

allow_open_proxy <ip> <forever>

Marks an IP address as not being an open proxy for the next 24 hours.

ip
The IP address to mark as clear.
forever
Set to 'forever' if this proxy should be allowed forever.

ban_list [ "from" <user> ]

List banned users.

user
Optional; list bans in a community you maintain, or any user if you have the 'finduser' priv.

ban_set <user> [ "from" <community> ]

Ban another user from posting in your journal. In the future, banning a user will also prevent them from text messaging you, adding you as a friend, etc... Basically, banning somebody restricts their interaction with you severely.

user
This is the user which the logged in user wants to ban.
community
Optional, to ban a user from a community you run.

ban_unset <user> [ "from" <community> ]

Remove a ban on a user.

user
The user that will be unbanned by the logged in user.
community
Optional, to unban a user from a community you run.

change_community_admin <community> <new_owner>

Change the ownership of a community.

community
The username of the community.
new_owner
The username of the new owner of the community.

change_journal_status <account> <status>

Change the status of an account.

account
The account to update.
status
One of 'normal', 'memorial', 'locked'. Memorial accounts allow new comments to entries, locked accounts do not allow further comments. Entries are blocked either way.

change_journal_type <journal> <type> [owner]

Change a journal's type.

journal
The username of the journal that type is changing.
type
Either 'person', 'shared', or 'community'.
owner
If converting from a person to a community, specify the person to be made maintainer in owner. If going the other way from community/shared to a person, specify the account to adopt the email address and password of.

comment <action> <url> <reason>

Manage comments in a user's account.

action
The action to take on the comment: screen, unscree, freeze, unfreeze, delete, delete_thread.
url
The URL to the comment. (Use the permanent link that shows this comment topmost.)
reason
Reason this action is being taken.

community <community> <action> <user>

Add or remove a member from a community.

community
The username of the community.
action
Only remove is supported right now.
user
The user you want to remove from the community.

deletetalk <user> <itemid> <talkid>

Delete a comment.

user
The username of the journal comment is in.
itemid
The itemid of the post to have a comment deleted from it.
talkid
The talkid of the comment to be deleted.

expunge_userpic <user> <picid>

Expunge a user picture icon from the site.

user
The username of the picture owner.
picid
The id of the picture to expunge.

faqcat <command> <commandargs>

Tool for managing FAQ categories.

command
One of: list, delete, add, move. 'list' shows all the defined FAQ categories, including their catkey, name, and sortorder. Also, it shows all the distinct catkeys that are in use by FAQ. 'add' creates or modifies a FAQ category. 'delete' removes a FAQ category (but not the questions that are in it). 'move' moves a FAQ category up or down in the list.
commandargs
'add' takes 3 arguments: a catkey, a catname, and a sort order field. 'delete' takes one argument: the catkey value. 'move' takes two arguments: the catkey and either the word "up" or "down".

find_user_cluster <user>

Finds the cluster that the given user's journal is on.

user
The user to locate.

finduser <criteria> <data>

Find a user by a criteria.

criteria
Currently the only known criterias are 'email', 'userid', or 'user'
data
The thing you know about the user, either their username, userid, or their email address.

friend <command> [<username>] [<group>] [<fgcolor>] [<bgcolor>]

List your friends, add a friend, or remove a friend. Optionally, add friends to friend groups.

command
Either 'list' to list friend, 'add' to add a friend, or 'remove' to remove a friend.
username
The username of the person to add or remove when using the add or remove command.
group
When using command 'add', this optional parameter can list the name of a friend group to add the friend to. The group must already exist.
fgcolor
When using command 'add', this optional parameter specifies the foreground color associated with this friend. The parameter must have the form "fgcolor=#num" where 'num' is a 6-digit hexadecimal number.
bgcolor
When using command 'add', this optional parameter specifies the background color associated with this friend. The parameter must have the form "bgcolor=#num" where 'num' is a 6-digit hexadecimal number.

gencodes <username> <quantity>

Generate invite codes.

username
User to be given the codes
quantity
Number of codes to generate

get_maintainer <community or user name>

Finds out the current maintainer(s) of a community or the communities that a user maintains. If you pass a community as the argument, the maintainer(s) will be listed. Otherwise, if you pass a user account, the account(s) they maintain will be listed.

community or user name
The username of the account you want to lookup.

get_moderator <community or user name>

Finds out the current moderator(s) of a community or the communities that a user moderates. If you pass a community as the argument, the moderator(s) will be listed. Otherwise, if you pass a user account, the account(s) they moderate will be listed.

community or user name
The username of the account you want to lookup.

getemail <user>

Get a user's email address. (for emailing them about TOS violations)

user
The username of the person whose email address you'd like to see.

help [<command>]

Get help on admin console commands

command
The command to get help on. If ommitted, prints a list of commands.

infohistory <user>

Retrieve the infohistory of a given user

user
The user whose infohistory is being retrieved.

moodtheme_create <name> <des>

Create a new mood icon set. Return value from this command is the moodthemeid that you'll need to define pictures for this theme.

name
Name of this theme, to appear in various places on the site
des
Some description of the theme

moodtheme_list [<themeid>]

List mood themes, or data about a mood theme

themeid
Optional mood theme ID. If given, you view the data for that theme, otherwise you see just a list of the available mood themes

moodtheme_public <themeid> <setting>

Make a mood theme public or not. You have to be a moodthememanager to do this.

themeid
Mood theme ID number.
setting
Either 'Y' or 'N' to make it public or not public, respectively.

moodtheme_setpic <themeid> <moodid> <picurl> <width> <height>

Change data for a mood theme. If picurl, width, or height is empty or zero, the data is deleted.

themeid
Mood theme ID number.
moodid
Mood ID number.
picurl
URL to picture to show for this moodid in this themeid. If a public one, use /img/mood/themename/file.gif
width
Width of picture
height
Height of picture

print ...

This is a debugging function. Given an arbitrary number of meaningless arguments, it'll print each one back to you. If an argument begins with a bang (!) then it'll be printed to the error stream instead.

priv <action> <privs> <usernames>

Grant or revoke user privileges.

action
'grant', 'revoke', or 'revoke_all' to revoke all args for a given priv
privs
Comma-delimited list of priv names or priv:arg pairs
usernames
Comma-delimited list of usernames

reset_email <username> <value> <reason>

Resets the email address for a given account

username
The account to reset the email address for.
value
Email address to set the account to.
reason
Reason for the reset

reset_password <username> <reason>

Resets the password for a given account

username
The account to reset the email address for.
reason
Reason for the password reset.

set ["for" <community>] <propname> <value>

Set a userprop.

community
Community to set property for, if you're a maintainer.
propname
Property name to set.
value
Value to set property to.

set_underage <journal> <on/off> <note>

Change a journal's underage flag.

journal
The username of the journal that type is changing.
on/off
Either 'on' or 'off' which is whether to turn it on or off.
note
Required information about why you are setting this status.

shared <sharedjournal> <action> <user>

Add or remove access for a user to post in a shared journal.

sharedjournal
The username of the shared journal.
action
Either add or remove.
user
The user you want to add or remove from posting in the shared journal.

suspend <username or email address> <reason>

Suspend a user's account.

username or email address
The username of the person to suspend, or an email address to suspend all accounts at that address.
reason
Why you're suspending the account.

syn_editurl <username> <newurl>

Changes the syndication URL for a syndicated account.

username
The username of the syndicated journal.
newurl
The new URL to syndicate the journal from.

syn_merge <from_user> to <to_user> using <url>

Merge two syndicated accounts into one, keeping an optionally specified url for the final. Sets up redirection between from_user and to_user, swapping feed urls if there will be a conflict.

from_user
Syndicated account to merge into another.
to_user
Syndicated account to merge 'from_user' into.
url
Url to use for 'to_user' once merge is complete. You should use the direct URL to the feed, not the URL to a blog even if it supports auto-discovery.

tag_display [for <community>] <tag> <value>

Set tag visibility to S2.

tag
The tag to change the display value of. This must be quoted if it contains any spaces.
value
A boolean value: 1/on/true/yes or 0/off/false/no.

tag_permissions [for <community>] <add level> <control level>

Set permission levels for the tag system.

add level
Accounts at this level are allowed to assign pre-existing tags to entries. Accounts are not allowed to define new tags or remove tags from entries. The value can be one of "public", "private", "friends", or the name of a friend group already defined.
control level
Accounts at this level have full control over tags and can define new ones, delete old ones, rename, merge, and perform all other functions of the tags system. Potential values are the same as in the add level.

unsuspend <username or email address> <reason>

Unsuspend a user's account.

username or email address
The username of the person to unsuspend, or an email address to unsuspend all accounts at that address.
reason
Why you're unsuspending the account.