All pastes #285030 Raw Edit

Someone

public text v1 · immutable
#285030 ·published 2006-12-19 15:36 UTC
rendered paste body
#
ReadConf()
#
{               // 1 open
#
GetVal(numb, str[]) {     // 2 open
#
 new tmp[256], idx;
#
 for(new i=0; i<numb; i++) {    3 open
#
  tmp=strtok(str, idx);
#
 }             // 2 open
#
 return strval(tmp);
#
new File:cfg=fopen("rumble.cfg", io_read);
#
new string[256];
#
while(fread(cfg, string)){       // 3 open
#
 if(strcmp(string, "Time", true)==0) { MyVal=GetVal(1, string); }
#
 }         // 2 open
#
}         // 1 open still