In Walk.cpp just add to int int Map, mapid, X, Y, level;
level = static_cast<int>(this->server->world->tiledialog_config[util::to_string(i+1) + ".level"]);
and then find this line
if(this->player->character->mapid == Map && (this->player->character->x == X && this->player->character->y == Y))
add in the check for the level in that if statement && this->player->character->level ==
level
in the config add
1.level = 1