19 #ifndef AUTOEXEC_HEADER    20 #define AUTOEXEC_HEADER    23 #include <csutil/csstring.h>    24 #include <csutil/array.h>    57     csString getCommands(csString 
name);
    62     void addCommand(csString name, csString 
cmd);
    67     void LoadCommands(
const char * fileName);
    69     csArray<AutoexecCommand> 
cmds;                
    73 #endif // AUTOEXEC_HEADER csString name
Charname associated to the player. 
 
class handling autoexecution of commands at the startup. 
 
csString cmd
The commands to run. 
 
csArray< AutoexecCommand > cmds
Stores all the commands which are in the data file. 
 
bool GetEnabled()
Gets if the autoexec is enabled and will trigger. 
 
void SetEnabled(const bool en)
Sets if the autoexec is enabled and will trigger. 
 
bool enabled
Stores if the autoexec functionality is enabled.