Once again:
if $map.supervariable == 0
{
//PLACE YOUR SCRIPT THINGS HERE//
map.supervariable=1
}
You do realise why I have written it as "map.supervariable"? Because there's a two types - map and global. map works for the map you're playing rn and global is working on the whole game.