Read Central Datapool then print it to timing file
Would like to share following working code.
Objective: Read the third field of Central Data pool file then print it to timing file.
Central Data pool file looks like this:
###Prashant,Patel,89 Dayton Dr
extern "C" int rhobot_script(PLAYER_INFO* s_info)
// Declare Variables
CLoadString myMsg = "";
myMsg = VARDATA(3);
SCRIPT_MESSAGE ("MyGroup", myMsg);
To see the message into Timing file, go to summary report then click under "#Thinned Messages".