Sear: Console Commands
This page list all the console commands in Sear. Commands start with a / unless shown below starting with a . Commands beginning with a indicate commands that can be executed when a key is pressed and stopped when it is released putting - instead of stops the command continuing to be executed. arguments with multiple words can be enclosed in ' ' and will then be treated as one argument rather than multiple;
camera_elevate_down
Starts camera elevate down.
camera_elevate_up
Starts camera elevate up.
camera_rotate_left
Starts camera rotate left.
camera_rotate_right
Starts camera rotate Right.
camera_zoom_in
Starts camera zoom in
camera_zoom_out
Starts camera zoom out
character_move_backward
Starts moving character backward.
character_move_downwards
Move the character downwards in situations that allow this. E.g. when swimming.
character_move_forward
Starts moving character forward.
character_move_upwards
Move the character upwards in situations that allow this. E.g. when swimming.
character_rotate_left
Starts rotating character left.
character_rotate_right
Starts rotating character right.
character_strafe_left
Character sidesteps left.
character_strafe_right
Character sidesteps right.
run
Enable run mode.
select_mode
Debugging mode showing how objects are rendered in select_mode.
show_names
Display the name of all visible objects.
add name type sex description
Creates a new character called name name. type specifies the type of character to create. i.e. farmer or settler. sex is the sex of the character i.e. male or female. description is a short description of the character. Enters game world on successful completion.
add_search_path
Add a search path used during #search_run_script command.
attack
Set mouse mode to attack. This will initiate combat with the next selected entity.
bind key_id command
binds a command to the a key identified by key_id.
clear_app
Testing command to alter character appearance. This command clears the appearance map.
connect hostname port
Attempts to connect to a server specified by hostname. This can be either the hostname or the IP of the server. port is an optional argument to specify the port to connect to. If no port is specified then a default of 6767 is used.
create username password fullname
Creates a new user account on server. (fullname can be space seperated) e.g. /create simon pass Simon Goodall
disconnect
Disconnect from the server.
do_action action
Executes an action loader action
drop quantity entity name
Causes character to drop up to quantity' items of entity name, as specified in the inventory, at character's position. (If allowed).
eat entity_name
Eat the entity specified by entity_name. This entity must be in your inventory.
edit_delete
Delete the currently selected entity. This is a World Editing command requring a special server account.
edit_move_local_x
Move the selected entity along the x-axis by a specified distance. This is a World Editing command requiring a special server account.
edit_move_local_y
Move the selected entity along the y-axis by a specified distance. This is a World Editing command requiring a special server account.
edit_move_local_z
Move the selected entity along the z-axis by a specified distance. This is a World Editing command requring a special server account.
edit_move_x
Move the selected entity along the x-axis to a specified position. This is a World Editing command requiring a special server account.
edit_move_y
Move the selected entity along the y-axis by a specified distance. This is a World Editing command requiring a special server account.
edit_move_z
Move the selected entity along the z-axis by a specified distance. This is a World Editing command requiring a special server account.
edit_rotate_z
Rotates the selected entity about the z-axis by a specified amount. This is a World Editing command requiring a special server account.
event
Internally used command.
exit
Exit Sear
get
Returns a list of character ID's of characters owned by user account.
get_time
Display the current World time and date.
getat section name
Prints value of attribute name in console.
getvar varname
This command prints the output of a specified command variable (varname) to the console.
give quantity entity name
Gives up to quantity items of entity name to the last selected entity
identify
The identify command displays information about the currently selected entity. Some information is displayed on screen. More debugging information is displaying in the stdout.
idle
This command stops all current tasks.
invalidate
This is a debugging command to simulate a loss of Open GL context.
inventory
Toggles the inventory GUI dialog.
keypress key_id
Simulate a keypress. The argument is the key to simulate.
leave
Leave the world without logging out. Allows switching of characters.
list_commands
Debugging command to list all the registered console commands onto the stdout.
load_action_config file_name
Loads an action config file.
load_bindings file_name
Loads the key bindings file specified by file_name.
load_general file_name
Loads the general file specified by file_name.
load_global_bindings
load_model_records file_name
Loads a model records file.
load_models file_name
Loads the models file specified by file_name.
load_object_records file_name
Loads an object records file.
load_sprites filename
Loads a sprite configuration file
load_state_file file_name
Loads the state definitions file specified by file_name.
load_textures file_name
Loads the textures file specified by file_name.
login username password
Login to server with an existing account, username, with password password.
logout
Logout of the current account without disconnecting from the server.
make
Testing command to create arbitrary objects should the server allow it.
me
The /me command is used to signify an emote during chat.
panel_close
Internally used GUI command.
panel_open
Internally used GUI command.
panel_toggle
Internally used GUI command.
pickup
Sets the mouse mode to pickup. The next entity to be clicked upon will be picked up (if possible).
quit
Quit Sear.
read_app
Testing command to force a read of the appearance map for the avatar.
read_config
Debugging command to force Sear to re-read cached values from varconf Config objects.
remove_search_path path
Removes a path from the list of searchable paths.
reset_camera
This command resets the camera position and orientation back to defaults.
run_script path_to_script_file
Run a script file in the argument
save_bindings file_name
File_name is optional. Saves bindings configuration to file_name. If that doesn't exist, then it will use the file name of the last file loaded.
save_general file_name
File_name is optional. Saves general configuration to file_name. If that doesn't exist, then it will use the file name of the last file loaded.
say
Say something. Whatever else follows the say command is said.
search_run_script script
Run every script script found in search paths
set_action
This command sets the action property in the entity.
set_app
Testing command to manipulate the appearance map for the avatar.
set_height
Debugging command to change character height. Argument is height in meters.
set_texture_detail
setat section name value
Sets attribute name to value value. These are the values stored in general.cfg.
setvar varname value
This command is used to set a command variable. The following example changes the base path of the media for Sear;
/setvar SEAR_MEDIA /opt/worldforge/share/sear/sear-media
switch_camera
Switch between different camera views. Pass 0 for the normal chase cam and 1 for a 1st person camera.
take ID
This command is used to select a character to enter the world with. No arguments takes the first character returned by the server. Otherwise the argument is the ID of the character.
toggle_console
Toggles whether the console is open or closed.
toggle_fullscreen
Toggles full screen mode.
toggle_mlook
Enables mouse look mode. Horizontal mouse movement rotates the character, and vertical movement elevates the camera.
toggle_run
Enable run mode. Unlike run, this version enables run mode until it is called again.
touch
Sets the mouse mode to touch. Sends a touch op to the next selected entity.
use
This command uses the currently wielded entity against the currently selected object.
use_ops
Debugging command listing available operations for the currently wielded object.
wield entity_id
This command equips your character with the entity specified by entity_id.
workarea_alert
Internally used command to display an alert window.
workarea_close
Internally used command to close a GUI component.
workarea_open
Internally used command to display a GUI component.