The Java commands section will give you the list of available commands for the Java Client. If in normal mode, all the commands should be available If you're using a restricted Java client, only a few commands are available.
NORMAL
Any /[command] statements not specifically checked for by the client are passed through to the server as-is. For example, /thisisacommand will be passed directly to the server even though the client does not recognize it - maybe the server will.
RESTRICTED
Restricted mode only allows a connection to a single room. If the client is currently in a room and a new room is joined, the current room will be parted.
Available commands:
ACTION - Type an action in the room.
CLEAR - Clear your window.
EMBED - Embed the client in a web page if it is floating.
FLOAT - Detach the client if it is embedded in a web page.
LIST - Retrieve a list of available rooms on the server.
ME - Type an action in the room.
NAMES - Retrieve a list of nicknames in the room.
NICK - Change your current nickname to a new one.
QUIT - Disconnect from the chat server.
SOUND - Play a sound in the room.
WHOIS - Receive /whois information on a nickname.
WHOWAS - Get detailed information on a recently online user (Operators Only).
You can restrict the client even more with the help of additional Java Parameters, which you will find in the param help files.
Example:
/sound moo.au
Hex Values:
FFFFFF = White
FF0000 = Red
FFFF00 = Yellow
000000 = Black
800000 = Brown
00FF00 = Light Green
000080 = Blue
800080 = Purple
008080 = Cyan
008000 = Green
808000 = Orange
00FFFF = Light Cyan
0000FF = Light Blue
FF00FF = Pink
808080 = Grey
C0C0C0 = Light Grey
Example:
guicolors1="privatecolor=000000;noticecolor=333333".
Besides some of the GUICOLOR parameters you will brackets () the color indicated in the brackets is the default setting for the Java client.
actionColor (red)
systemColor (orange)
noticeColor (red)
joinColor (green)
quitColor (joinColor)
kickColor (magenta)
urlColor (blue)
privateColor (gray)
talkColor (black)
youColor (black)
soundColor (cyan)
errorColor (red)
operColor (blue)
voiceColor (green)
uopColor (teal)
titleColor (lightGray)
titleTextColor (black)
sessionColor
sessionTextColor
messageColor
messageTextColor
tickerColor
tickerTextColor
tickerTextHiColor (urlColor)
selectColor (lightGray)
roomsColor (blue)
usersColor (talkColor)
buttonColor (darkGray)
buttonDisabledColor (lightGray)
inputColor (white)
inputTextColor (black)
nickInputColor (white)
nickInputTextColor (black)
usersBackgroundColor
historyBackgroundColor
roomsBackgroundColor
Example:
opercolor=FF0000
Example:
<form>
<INPUT type=button value="User Info" onClick="cr.output('/whois '+cr.getSelectedUser())">
</form>
Available JavaScript commands:
output(String str) - Send a string to the server, filtered through the output parser.
room(String room) - Join a new room.
doChat() - Show the chat view.
doRooms() - Show the rooms view.
doSession() - Show the options view.
doFloat() - Float the interface.
doEmbed() - Embed the interface in the web page if floating.
doShow(String name) - Show the named view (a room, a private message window, etc.).
getCurrentRoom() - Get current active room if being viewed.
getCurrentRoomTopic() - Get current active room's topic if being viewed.
getCurrentTarget() - Get current active window (either a room or private message) if being viewed.
getSelectedUser() - Get currently selected nickname (if any).
nick() - Get current nick.
insert(String text) - Insert text into the input bar of the active window
The Java parameters will allow you to change the look and feel of the Java Client. Remember that in order of priority SSP files have priority over HTML applet tags. If the param lock=true is in the default.prm file, then HTML applet tags will be completely ignored. NOTE that all the parameters work in the latest ConferenceRoom version available at http://www.webmaster.com/update.shtml
Example:
/as help java params
Examples:
buddybg=c0c0c0
buddysound=moo.au