52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
Plaintext
|
// Name : Avlis Persistence System OnModuleLoad
|
|||
|
// Purpose : Initialize APS on module load event
|
|||
|
// Authors : Ingmar Stieger
|
|||
|
// Modified : January 27, 2003
|
|||
|
|
|||
|
// This file is licensed under the terms of the
|
|||
|
// GNU GENERAL PUBLIC LICENSE (GPL) Version 2
|
|||
|
|
|||
|
#include "aps_include"
|
|||
|
|
|||
|
void main()
|
|||
|
{
|
|||
|
// Init placeholders for ODBC gateway
|
|||
|
SQLInit();
|
|||
|
|
|||
|
//CNR addon
|
|||
|
ExecuteScript("cnr_module_oml",OBJECT_SELF);
|
|||
|
//End CNR addon
|
|||
|
|
|||
|
ExecuteScript( "x3_mod_def_load", OBJECT_SELF);
|
|||
|
|
|||
|
|
|||
|
//sets up the save every 20 minutes
|
|||
|
DelayCommand(2400.0, SignalEvent(OBJECT_SELF, EventUserDefined(200)));
|
|||
|
|
|||
|
|
|||
|
//Custom Colour Tokens addon
|
|||
|
|
|||
|
SetCustomToken(100, "</c>"); // CLOSE tag
|
|||
|
SetCustomToken(101, "<c<> >"); // red
|
|||
|
SetCustomToken(102, "<c <20> >"); // green
|
|||
|
SetCustomToken(103, "<c <20>>"); // blue
|
|||
|
SetCustomToken(104, "<c <20><>>"); // cyan
|
|||
|
SetCustomToken(105, "<c<> <20>>"); // magenta
|
|||
|
SetCustomToken(106, "<c<><63> >"); // yellow
|
|||
|
SetCustomToken(107, "<c >"); // black
|
|||
|
SetCustomToken(108, "<c<> >"); // dark red
|
|||
|
SetCustomToken(109, "<c <20> >"); // dark green
|
|||
|
SetCustomToken(110, "<c <20>>"); // dark blue
|
|||
|
SetCustomToken(111, "<c <20><>>"); // dark cyan
|
|||
|
SetCustomToken(112, "<c<> <20>>"); // dark magenta
|
|||
|
SetCustomToken(113, "<c<><63> >"); // dark yellow
|
|||
|
SetCustomToken(114, "<c<><63><EFBFBD>>"); // grey
|
|||
|
SetCustomToken(117, "<c<><63><EFBFBD>>"); // dark grey
|
|||
|
SetCustomToken(115, "<c<><63> >"); // orange
|
|||
|
SetCustomToken(116, "<c<><63> >"); // dark orange
|
|||
|
SetCustomToken(117, "<cڥ#>"); // brown
|
|||
|
SetCustomToken(118, "<c >"); // dark brown
|
|||
|
//End Custom Colour Tokens addon
|
|||
|
|
|||
|
}
|