Guest User

Untitled

a guest
Jan 26th, 2014
384
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
  2. Name: VillageProtection
  3. Version: 1.0
  4. Skript: 2.0.2
  5. ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
  6.  
  7. ╔════════════════════════════════════════
  8. ║ DeathHead by FejminTV ║
  9. ║ Zezwalam na: ║
  10. ║ - edytowanie komunikatow ║
  11. ║ Nie zezwalam na: ║
  12. ║ - Wykorzystywania kody do wlasnych skryptow ║
  13. ║ - Zarabianie na skrypcie ║
  14. ║ - Usuwanie informacji o autorze ║
  15. ╚════════════════════════════════════════
  16. variables:
  17. {npc.status} = 1
  18. options:
  19. tag: &8[&cVillageProtection&8]
  20. permission: &4Nie masz uprawnien by uzywac tej komendy!
  21.  
  22. on damage of a villager:
  23. {npc.status} is 1:
  24. cancel event
  25. send "{@tag} &7Nie mozesz bic &cNPC "
  26.  
  27. command /npc [<text>]:
  28. trigger:
  29. if player has permission "npc":
  30. if arg 1 is "on":
  31. set {npc.status} to 1
  32. send "{@tag} &7Zabijanie wiesniakow zostalo wylaczone"
  33. stop
  34. if arg 1 is "off":
  35. set {npc.status} to 0
  36. send "{@tag} &7Mozna bic Wiescniakow"
  37. stop
  38. else:
  39. send "{@tag} &c/npc <&fon/off&c>"
  40. stop
  41. else:
  42. send "{@tag} {@permission}"
  43. stop
Advertisement
Add Comment
Please, Sign In to add comment