SHARE
TWEET

Untitled

a guest Apr 26th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. reset
  2.  
  3. repeat 10{
  4. $suunta = ask "Oikealle, vasemmalle vai suoraan??"
  5. if $suunta == "oikealle"{
  6. turnright 90
  7. forward 50
  8. }
  9. if $suunta == "vasemmalle"{
  10. turnleft 90
  11. forward 50
  12. }
  13. if $suunta == "suoraan"{
  14. forward 50
  15. } else if $suunta  == "oikealle" or "vasemmalle" or "suoraan"{
  16. message "Koitappa uudestaan"
  17. }
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top