firsttime

firsttime { script1 } [ otherwise { script2 } ] 

runs script1 if it is the first call, otherwise script2 is executed

This command was added in Quest 5.2.