Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- display dialog "A virus has been detected! Ignore?" buttons {"Yes", "No"} default button 2
- if the button returned of the result is "Yes" then
- display dialog "Your computer has malfunctioned. Restart?" buttons {"OK", "Cancel"} default button 1
- if the button returned of the result is "OK" then
- restart
- else
- display dialog "Your computer has malfunctioned. Restart?" buttons {"OK", "Cancel"} default button 1
- if the button returned of the result is "OK" then
- restart
- else
- restart
- end if
- else
- display dialog "To delete the virus, you must restart the computer. Restart?" buttons {"OK", "Cancel"} default button 2
- if the button returned of the result is "OK" then
- restart
- else
- display dialog "Your computer has malfunctioned. Restart?" buttons {"OK", "Cancel"} default button 1
- if the button returned of the result is "OK" then
- restart
- else
- restart
- end if
- end if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement