546_elevator 416 B

12345678910111213141516171819202122232425
  1. # elevator
  2. act 'Back':gt 'hotel'
  3. act 'Go to your room':
  4. msg 'Sorry, but the elevator is not working'
  5. gt 'elevator'
  6. !!if nomer = 0
  7. !! msg 'You have not paid room at this inn'
  8. !! gt 'elevator'
  9. !!end
  10. !!if nomer = 1
  11. !! gt 'number1'
  12. !!end
  13. !!if nomer = 2
  14. !! gt 'number2'
  15. !!end
  16. !!if nomer = 3
  17. !! gt 'number3'
  18. !!end
  19. !!if nomer = 4
  20. !! gt 'number4'
  21. !!end
  22. end
  23. --- elevator ---------------------------------