DimitriTheReader

PTags

Apr 25th, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. #PTags - Tags pra qualquer plugin que tenha função de Prefix :D
  2. #By Pegasus512
  3. #Raposo, não pegue ;-;
  4. #:V
  5.  
  6. options:
  7. Tag1:
  8. #CMDTag1 = comando q vai dar a tag ao player, exemplo: manuaddv %sender% {@Tag1}
  9. CmdTag1:
  10. Tag2:
  11. CmdTag2:
  12. Tag3:
  13. CmdTag3:
  14. Tag4:
  15. CmdTag4:
  16. Tag5:
  17. CmdTag5:
  18. Tag6:
  19. CmdTag6:
  20. Prefix: &3&l[PTags]
  21. NoPerm:&4&lVocê não tem permissão pra fazer isso!
  22.  
  23. command /tags
  24. permission message:{@Prefix}{@NoPerm}
  25. permission: PTags.view
  26. trigger:
  27. send "-----------&3PTags------------"
  28. send "{@Tag1}"
  29. send "{@Tag2}"
  30. send "{@Tag3}"
  31. send "{@Tag4}"
  32. send "{@Tag5}"
  33. send "{@Tag6}"
  34. send "-----------&3PTags-------------"
  35. command /tag [<text>]:
  36. trigger:
  37. if player has permission "PTags.tag1":
  38. if arg 1 is "{@Tag1}":
  39. make console execute command "{@CmdTag1}"
  40. else:
  41. if player has permission "PTags.tag2":
  42. if arg 1 is "{@Tag2}":
  43. make console execute command "{@CmdTag2}"
  44. else:
  45. if player has permission "PTags.tag3":
  46. if arg 1 is "{@Tag3}":
  47. make console execute command "{@CmdTag3}"
  48. else:
  49. if player has permission "PTags.tag4":
  50. if arg 1 is "{@Tag4}":
  51. make console execute command "{@CmdTag4}"
  52. else:
  53. if player has permission "PTags.tag5":
  54. if arg 1 is "{@Tag5}":
  55. make console execute command "{@CmdTag5}"
  56. else:
  57. if player has permission "PTags.tag6":
  58. if arg 1 is "{@Tag6}":
  59. make console execute command "{@CmdTag6}"
  60. else:
  61. send "{@NoPerm}"
Advertisement
Add Comment
Please, Sign In to add comment