Scriptname Script
Short Button
Short Exit
Begin OnActivate
Set Exit to 1
Set Button to GetButtonPressed
MessageBox "Wollt ihr wirklich durch diese Tür?", "Ja", "Nein"
End
Begin GameMode
If Exit
If Button == -1
Set Button to GetButtonPressed
Elseif Button == 0
Player.Activate
Else
Set Exit to 0
Endif
Endif
End