Advertisement
Zeldaboy111

Skript Tutorial #56

Dec 5th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. on enable:
  2. set {text::wands::title} to "&3[&bWands&3]"
  3. set {text::wands::helpemessage} to "%{text::wands::title}% &4Doe &c/wand get list &4om de wandlist te krijgen.%nl%%{text::wands::title}% &4Doe &c/wand get [wandnaam] &4om een wand te krijgen."
  4. set {text::wands::nep} to "%{text::wands::title}% &4Je hebt &convoldoende permissies &4om deze command uit te voeren."
  5. set {text::wands::gbw} to "%{text::wands::title}% &4Deze wand bestaat niet, doe &c/wand get list &4om de wandlist te krijgen."
  6.  
  7. command /wand [<text>] [<text>] [<text>] [<number>]:
  8. trigger:
  9. if player has permission "wand.get" OR "wand.*":
  10.  
  11. if arg 1 is "help":
  12. send "&b============%{text::wands::title}%&b============"
  13. send "&b/wand help &7&k::&f &3Krijg een help bericht in de chat."
  14. send "&b/wand get list &7&k::&f &3Krijg een lijst met alle wands."
  15. send "&b/wand get [wandnaam] &7&k::&f &3Krijg een wand."
  16. send "&b/wand set [speler] [spell] [aantal spellpoints] &7&k::&f &3Zet de spellpoints van een speler naar het aantal opgegeven spellpoints."
  17. send "&b/wand reset [speler] [all/spell] &7&k::&f &3Reset de spellpoints van de opgegeven speler."
  18. send "&b============%{text::wands::title}%&b============"
  19. stop
  20.  
  21. if arg 1 is "set":
  22. if arg 2 is set:
  23. if arg 3 is set:
  24. if "%{spells::wands::list::*}%" contains arg 3:
  25. if arg 4 is set:
  26. send "%{text::wands::title}% &3Succesvol toegepast:"
  27. send "&3Spellpoints van: &b%arg 2%"
  28. send "&3Voor de spell: &b%arg 3%"
  29. send "&3Gezet naar: &b%arg 4%"
  30. stop
  31. else:
  32. send "%{text::wands::title}% &4Je moet nog een &caantal spellpoints &4invullen."
  33. stop
  34.  
  35. else:
  36. send "%{text::wands::title}% &4Dit is geen bestaande spell."
  37. stop
  38.  
  39. else:
  40. send "%{text::wands::title}% &4Je moet nog een &cspell &4opgeven."
  41. stop
  42.  
  43. else:
  44. send "%{text::wands::title}% &4Doe &c/wand set [speler] [spell] [aantal spellpoints]&4."
  45. stop
  46.  
  47.  
  48. if arg 1 is "get":
  49.  
  50. if arg 2 is "list":
  51. send "%{text::wands::title}% &3Dit is de lijst met alle wands:"
  52. send "%{text::wands::title}% &bLightning"
  53. stop
  54.  
  55. if arg 2 is "Lightning":
  56. send "%{text::wands::title}% &3Veel plezier met je &b&lLightning Wand&3."
  57. give player a blaze rod named "&b&lLightning Wand" with lore "&5&kl"
  58. stop
  59.  
  60. else:
  61. send "%{text::wands::gbw}%"
  62. stop
  63.  
  64. else:
  65. send "%{text::wands::helpemessage}%"
  66. stop
  67.  
  68. else:
  69. send "%{text::wands::nep}%"
  70. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement