So I want to make a complex dialog with text + variable but I cant figure it out
Code:
Code:
Code:
if possibility is equal to "You find something" then
set actionsomething to display dialog "What now?" buttons {"Examine", "Nothing"}
set actionsomething to button returned of actionsomething
if actionsomething is equal to "Examine" then
set actionexamine to some item of {"Gold", "Strange Object"}
if actionexamine is equal to "Gold" then
set amount to random number from 1 to 100
display dialog "You found" and amount and "Gold"