Advertisement
Guest User

Untitled

a guest
Jun 29th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  2. #CRIADOR: RafaaDivulgador# #
  3. #VERSÃO TESTADAS: 1.5.2/1.8# #
  4. #Addons Necessarios: Nenhum Nessa Versão!# #
  5. #Quer algum skript? Contatos abaixo!# #
  6. #Skype: rafaadivulgador1 / Discord: rafaadivulgador#9921# #
  7. #=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
  8.  
  9. #Configuraçoes
  10. #-----------------------------#
  11. #rWarps.%arg 1% seria o nome da warp!#
  12. #-----------------------------#
  13. options:
  14.  
  15. #Mensagem De Setar Warp
  16. SetMensagem: &a%arg 1% foi setada!
  17. SetMensagemExistente: &a%arg 1% ja existe!
  18.  
  19. #Mensagem De Ir Para A Warp
  20. TeleportMsg: &cTeleportando para %arg 1%...
  21. TeleportMsgInexistente: &cVocê não pode se teleportar pra algo que não existe!
  22.  
  23. #Mensagem De Deletar Warps
  24. DelWarpMsg: &c%arg 1% Foi deletada com sucesso!
  25. DelWarpMsgInexistente: &c%arg 1% Não existe!
  26.  
  27. #=#Fim Da Configuração#=#
  28.  
  29. #== Codigo Fonte ==#
  30.  
  31. command /rCmds:
  32. permission: warp.admin
  33. trigger:
  34. send "&0 =========================== "
  35. send "&8» &7/rSet (Para setar warps)"
  36. send "&8» &7/rWarp (Para Se Teleportar Para Algum Warp)"
  37. send "&8» &7/rDel (Para Deletar Algum Warp)"
  38. send "&8» &7/rWarps (Para Ver Todos Os Warps)"
  39. send "&0 =========================== "
  40.  
  41. command /rWarps:
  42. trigger:
  43. if {rWarps::*} is set:
  44. send ""
  45. send "&a[rWarps] &7WARPS » &8%{rWarps::*}%"
  46. send ""
  47. else:
  48. send "&a[rWarps] &7Não há nenhum warp setado!"
  49.  
  50. command /rSet <text>:
  51. trigger:
  52. if arg-1 is set:
  53. if {rWarps.%arg 1%} is not set:
  54. set {rWarps.%arg 1%} to player's location
  55. add arg 1 to {rWarps::*}
  56. send "{@SetMensagem}"
  57. stop
  58. if arg-1 is not set:
  59. send "&cUse /rSet <warp>"
  60.  
  61. if {rWarps.%arg 1%} is set:
  62. send "{@SetMensagemExistente}"
  63. stop
  64.  
  65. command /rWarp <text>:
  66. trigger:
  67. if arg-1 is set:
  68. if {rWarps.%arg 1%} is set:
  69. teleport player to {rWarps.%arg 1%}
  70. send "{@TeleportMsg}"
  71. stop
  72. if {rWarps.%arg 1%} is not set:
  73. send "{@TeleportMsgInexistente}"
  74. stop
  75.  
  76. if arg-1 is not set:
  77. send "&cUse /rWarp <warp>"
  78.  
  79. command /rDel <text>:
  80. trigger:
  81. if arg-1 is set:
  82. if {rWarps.%arg 1%} is set:
  83. delete {rWarps.%arg 1%}
  84. remove arg 1 from {rWarps::*}
  85. send "{@DelWarpMsg}"
  86. stop
  87.  
  88. if {rWarps.%arg 1%} is not set:
  89. send "{@DelWarpMsgInexistente}"
  90. stop
  91.  
  92. if arg-1 is not set:
  93. send "&cUse /rWarp <warp>"
  94.  
  95. #== Codigo Fonte ==#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement