Alomax_

Untitled

Jun 22nd, 2015
338
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. command /setminerar [<text>]:
  2. permission: batata.admin
  3. trigger:
  4. if arg 1 is "1":
  5. set {minerar.1} to location of player
  6. send "&aMinerar 1 marcado"
  7. if arg 1 is "2":
  8. set {minerar.2} to location of player
  9. send "&aMinerar 2 marcado"
  10. if arg 1 is "3":
  11. set {minerar.3} to location of player
  12. send "&aMinerar 3 marcado"
  13. if arg 1 is "4":
  14. set {minerar.4} to location of player
  15. send "&aMinerar 4 marcado"
  16. if arg 1 is "5":
  17. set {minerar.5} to location of player
  18. send "&aMinerar 5 marcado"
  19.  
  20. command /minerar:
  21. trigger:
  22. change of 20%:
  23. teleport player to {minerar.1}
  24. send "&aTeleportado"
  25. change of 20%:
  26. teleport player to {minerar.2}
  27. send "&aTeleportado"
  28. change of 20%:
  29. teleport player to {minerar.3}
  30. send "&aTeleportado"
  31. change of 20%:
  32. teleport player to {minerar.4}
  33. send "&aTeleportado"
  34. change of 20%:
  35. teleport player to {minerar.5}
  36. send "&aTeleportado"
  37. else:
  38. teleport player to {minerar.1}
  39. send "&aTeleportado"
Advertisement
Add Comment
Please, Sign In to add comment