Once only

hi.
is there any code that only executes itself once only? on(load) doesnt do it because when you switch frames it executes itself again. Please help me because i can’t go on without this script. :frowning: