How to load level after typing somthing?

Well this one i have no idea how to even start!
So what i need to do is have a way that a player can type something into a box or gui or something and when they type a certain combination of letters and numbers it would load a level.

Here is an example.

so the player types. “loadlvl1” then it would load lvl 1.
I’m wondering if there is a way for someone to type that somewhere and a script to pick up that that’s what they typed to load the level.

use the namespace

Using UnityEngine.SceneManagement;

and a variable

string SceneName;

then make them input the value of SceneName variable

then
u can say in the update function

if(SceneName == “loadlvl1” )
{
SceneManager.LoadScene("Lvl1);
}

also make sure you have your scene in the build settings

More Help : Unity - Scripting API: SceneManager