413_elevator 417 B

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