Work in progress.
display dialog "Welcome to my game!" buttons {"Yeah!"}
display dialog "Do you need help?" buttons {"Yes", "No"}
set userHelp to the button returned of the result
if userHelp = "Yes" then
display dialog "Just use the buttons...." buttons {"Fine."}
else
display dialog "Good. Let's start." buttons {"OK."}
end if
display dialog "You are in the middle of a forest. There is a house to the north, and some trees to the south." buttons {"Go north", "Go south"}
set firstanswer to the button returned of the result
if firstanswer = "Go north" then
display dialog "You are inside the house." buttons {"Steal and Eat all the Food", Go in the Basement"}
set firstanswer to the button returned of the result if firstanswer = "Go in the Basement" then
display dialog "You win! There was no serial killer down there!"
else
display dialog "Dead End." buttons {"Go back"}
end if
-- TERRIBLE HORROR GAME -- #Coming soon by RSM