ex:
Code: Select all
command doIt
  lock screen
   answer "hello world!"
  unlock screen
  doThat
end doIt
command doThat
  unlock screen
   answer "goodbye world!"
  lock screen
end doThat 
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
command doIt
  lock screen
   answer "hello world!"
  unlock screen
  doThat
end doIt
command doThat
  unlock screen
   answer "goodbye world!"
  lock screen
end doThat 
Code: Select all
on mouseUp
   unlock screen
   unlock screen
   unlock screen
    lock screen
   doStuff
end mouseUp