General EQWatcher Concepts > EQWatcher Anatomy > Command Files


What are command files?

Command files are text files that contain a bunch of EQWatcher commands (aliases) -- equivalent to EQWatcher 1.76 scripts.  They are mainly used for defining your initial setup -- preferences, sound triggers, etc.  These can be run from the File menu, or certain command files will be run automatically for you.

STARTUP.EWS in your EQWatcher directory will automatically be run when EQWatcher Advanced is started.

There are also command files automatically run for each character you play, both for when the character is starting to play, and when they have finished.  These files are [charname]_[servernumber]_BEGIN.EWS and [charname]_[servernumber]_END.EWS.  The charname and servernumber used by EQWatcher are identical to the ones seen in the filename of your log files.  If your logfile is "eqlog_spanky_01.txt" then you must play a character named Spanky on server number 01 (which incidentally is the test server).  Your character options files are also named similarly, the same character would be seen as "spanky_01.opt" (those files contain your hotkey and social choices).  EQWatcher of course does not play with character options files.

Here is a sample of a startup command file:

quiet
loot other speech off
loot self speech off
tell speech on
say sound off
say zone time off
set combatant Jabarn
winamp play 'star spangled banner'
verbose

Each of these commands should be easily recognizable as a core script command, and are found in the basics section of this documentation.