Advertisement
Guest User

Untitled

a guest
Dec 12th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. require "wait"
  2.  
  3. direction = "%1"
  4.  
  5. wait.make (function ()
  6.  
  7. if direction == "n" then
  8. Execute("mapper cexit open north;;north")
  9. wait.time (3)
  10. Execute("mapper cexit open south;;south")
  11. elseif direction == "s" then
  12. Execute("mapper cexit open south;;south")
  13. wait.time (3)
  14. Execute("mapper cexit open north;;north")
  15. elseif direction == "e" then
  16. Execute("mapper cexit open east;;east")
  17. wait.time (3)
  18. Execute("mapper cexit open west;;west")
  19. elseif direction == "w" then
  20. Execute("mapper cexit open west;;west")
  21. wait.time (3)
  22. Execute("mapper cexit open east;;east")
  23. elseif direction == "u" then
  24. Execute("mapper cexit open up;;up")
  25. wait.time (3)
  26. Execute("mapper cexit open down;;down")
  27. elseif direction == "d" then
  28. Execute("mapper cexit open down;;down")
  29. wait.time (3)
  30. Execute("mapper cexit open up;;up")
  31. else
  32. print("You broke it!")
  33. end
  34.  
  35. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement