bah, i hadnt updated my cvs lately, try putting it here
../zone/parser.cpp : line 1497
Code:
else if (!strcmp(varname,"chr")) {
char temp[4];
memset(temp, 0x0, 4);
temp[0] = atoi(varparms);
Replace(origstring,format,temp);
}
//used_pawn
else if (!strcmp(varname,"random")) {
char temp[10];
Replace(origstring,format,itoa(rand()%varparms[0],temp,10));
}
//used_pawn
else if (!strcmp(varname,"asc")) {
char temp[10];
Replace(origstring,format,itoa(varparms[0],temp,10));
}
Sorry, Im not very good at my postings.