That's the entire script though, no?
easterEggComplete()
{
level endon("end_game");
level waittill("tomb_sidequest_complete");
players = getPlayers();
foreach (player in players)
{
guid = player getGuid();
path = "bank/" + guid + ".txt";
if (fileExists(path))
{
player.pers["bank"] = int(player.pers["bank"]) + 250000;
player updateBankValue(player.pers["bank"]);
player tell("^2$^7" + valueToString(250000) + " deposited for finishing EE");
}
}
}
Credits to notpiratecantfly for basically the entire script just a small modification added