Navigation: battleWarden:Script >

Configuration

 

 

Configuring battleWarden:Script is done via the bwscriptsettings.ini located in the battleWarden EX application directory. The settings file consists of a base class bWScriptSettings as shown in the example below:

class bWScriptSettings{

 

  StartScript="Scripts\start.bs"

  ConnectScript="Scripts\connect.bs"

  ExitScript="Scripts\exit.bs"

 

}

Within the base class, you have to define the following 3 attributes:

Attribute

Description

StartScript

Specifies the path of the script file to be executed when starting battleWarden EX.

ConnectScript

Specifies the path of the script file to be executed when connecting to a server.

ExitScript

Specifies the path of the script file to be executed when exiting battleWarden.

Within the specified script files you have to define a function called Main taking a dummy parameter of the type string. This function will be called when executing the scripts.

Copyright © 2016 solicus. All Rights Reserved. Last Update: 2016-4-7.