/* The previous substring added more parameters than expected, means we will consume them but can't properly validate them. */
for(inti=0;i<cur_param.consumes;i++){
if(prev_idx<prev_count){
ScriptLog::Warning(fmt::format("{}: Parameter {} uses parameter {} from substring {} and cannot be validated",name,param_count+i,prev_idx++,prev_string).c_str());
ScriptLog::Warning(fmt::format("{}: Parameter {} uses parameter {} from substring {} and cannot be validated",name,param_count+i,prev_idx++,prev_string));
}else{
/* No more extra parameters, assume SQInteger are expected. */
if(cur_idx>=this->paramc)throwScript_FatalError(fmt::format("{}: Not enough parameters",name));
ScriptLog::Error(fmt::format("{}: Parameter {} substring consumes {}, but expected {} to be consumed",name,param_count,count-1,cur_param.consumes-1).c_str());
ScriptLog::Error(fmt::format("{}: Parameter {} substring consumes {}, but expected {} to be consumed",name,param_count,count-1,cur_param.consumes-1));