Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on enable:
- set {text::wands::title} to "&3[&bWands&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."
- set {text::wands::nep} to "%{text::wands::title}% &4Je hebt &convoldoende permissies &4om deze command uit te voeren."
- set {text::wands::gbw} to "%{text::wands::title}% &4Deze wand bestaat niet, doe &c/wand get list &4om de wandlist te krijgen."
- command /wand [<text>] [<text>] [<text>] [<number>]:
- trigger:
- if player has permission "wand.get" OR "wand.*":
- if arg 1 is "help":
- send "&b============%{text::wands::title}%&b============"
- send "&b/wand help &7&k::&f &3Krijg een help bericht in de chat."
- send "&b/wand get list &7&k::&f &3Krijg een lijst met alle wands."
- send "&b/wand get [wandnaam] &7&k::&f &3Krijg een wand."
- send "&b/wand set [speler] [spell] [aantal spellpoints] &7&k::&f &3Zet de spellpoints van een speler naar het aantal opgegeven spellpoints."
- send "&b/wand reset [speler] [all/spell] &7&k::&f &3Reset de spellpoints van de opgegeven speler."
- send "&b============%{text::wands::title}%&b============"
- stop
- if arg 1 is "set":
- if arg 2 is set:
- if arg 3 is set:
- if "%{spells::wands::list::*}%" contains arg 3:
- if arg 4 is set:
- send "%{text::wands::title}% &3Succesvol toegepast:"
- send "&3Spellpoints van: &b%arg 2%"
- send "&3Voor de spell: &b%arg 3%"
- send "&3Gezet naar: &b%arg 4%"
- stop
- else:
- send "%{text::wands::title}% &4Je moet nog een &caantal spellpoints &4invullen."
- stop
- else:
- send "%{text::wands::title}% &4Dit is geen bestaande spell."
- stop
- else:
- send "%{text::wands::title}% &4Je moet nog een &cspell &4opgeven."
- stop
- else:
- send "%{text::wands::title}% &4Doe &c/wand set [speler] [spell] [aantal spellpoints]&4."
- stop
- if arg 1 is "get":
- if arg 2 is "list":
- send "%{text::wands::title}% &3Dit is de lijst met alle wands:"
- send "%{text::wands::title}% &bLightning"
- stop
- if arg 2 is "Lightning":
- send "%{text::wands::title}% &3Veel plezier met je &b&lLightning Wand&3."
- give player a blaze rod named "&b&lLightning Wand" with lore "&5&kl"
- stop
- else:
- send "%{text::wands::gbw}%"
- stop
- else:
- send "%{text::wands::helpemessage}%"
- stop
- else:
- send "%{text::wands::nep}%"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement