Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Paar kleine veranderingen gedaan na de opname, kijk de volgende aflevering voor info over de veranderingen
- options:
- {IceWandP::IceSparkSpell::%player%} = {IceWandP::IceSparkSpell::%arg 3%}
- {IceWandP::IceExplosionSpell::%player%} = {IceWandP::IceExplosionSpell::%arg 3%}
- on join:
- if {IceWandS::Spells:%player%} is not set:
- set {IceWandS::Spells::%player%} to 0
- if {IceWandP::IceSparkSpell::%player%} is not set:
- set {IceWandP::IceSparkSpell::%player%} to 0
- if {IceWandP::IceExplosionSpell::%player%} is not set:
- set {IceWandP::IceExplosionSpell::%player%} to 0
- command /wand [<text>] [<text>] [<offline player>]:
- trigger:
- if player has permission "wand.*" OR "wand.getwand":
- if arg 1 is "help":
- send "&e=======<&6Wands Help&e>======="
- send "&e/wand help &6Krijg meer informatie over de commands."
- send "&e/wand info &6Krijg meer informatie over de skript."
- send "&e/wand list &6Krijg een lijst met alle wands."
- send "&e======<&6Pagina 1/1&e>======"
- stop
- if arg 1 is "info":
- send "&e=======<&6Wands info&e>======="
- send "&eMaker: &6&lZeldaboy111"
- send "&eVersie: &6&l1.0"
- send "&e=======<&6Wands info&e>======="
- stop
- if arg 1 is "list":
- send "&e=======<&6Wands info&e>======="
- send "&eWand: &6&lIce"
- send "&e=======<&6Wands info&e>======="
- stop
- if arg 1 is "ice":
- give player 1 stick named "&b&lIceWand" with lore "&kl"
- send "&e<&6Wands&e> &6Veel plezier met je &e&lIcewand&6!"
- stop
- if arg 1 is "reset":
- if arg 2 is "icespark":
- if arg 3 is set:
- send "&e<&6Wands&e> &6Je hebt de spell: &eIceSpark &6gereset bij: &e%arg 3%&6."
- set {IceWandP::IceSparkSpell::%arg 3%} to 0
- stop
- else:
- send "&e<&6Wands&e> &6Je hebt de spell: &eIceSpark &6gereset."
- set {IceWandP::IceSparkSpell::%player%} to 0
- stop
- if arg 2 is "iceexplosion":
- if arg 3 is set:
- send "&e<&6Wands&e> &6Je hebt de spell: &eIceExplosion &6gereset bij: &e%arg 3%&6."
- set {IceWandP::IceExplosionSpell::%arg 3%} to 0
- stop
- else:
- send "&e<&6Wands&e> &6Je hebt de spell: &eIceExplosion &6gereset."
- set {IceWandP::IceExplosionSpell::%arg 3%} to 0
- stop
- else:
- send "&e<&6Wands&e> &4Dit is geen bestaande spell."
- stop
- else:
- if arg 1 is set:
- send "&e<&6Wands&e> &4Deze command &cbestaat niet&4, doe &c/wand help &4voor meer informatie."
- stop
- else:
- send "&e<&6Wands&e> &4Doe &c/wand help &4voor meer informatie."
- stop
- else:
- send "&e<&6Wands&e> &4Je hebt &convoldoende permissies &4om deze command uit te voeren."
- stop
- on rightclick:
- if player is holding a stick named "&b&lIceWand" with lore "&kl":
- if player has permission "wand.*" OR "wand.use.IceWand" OR "wand.use.icewand":
- if {IceWandS::Spells::%player%} is 0:
- send "&e<&6SpellSelected&e> &6&lIceSpark"
- set {IceWandS::Spells::%player%} to 1
- stop
- if {IceWandS::Spells::%player%} is 1:
- send "&e<&6SpellSelected&e> &6&lIceExplosion"
- set {IceWandS::Spells::%player%} to 0
- stop
- else:
- send "&e<&6Wands&e> &4Je hebt &convoldoende permissies &4om deze wand te gebruiken."
- stop
- on leftclick:
- if player is holding a stick named "&b&lIceWand" with lore "&kl":
- if player has permission "wand.*" OR "wand.use.IceWand" OR "wand.use.icewand":
- set {IceWandP::IceSparkSpell::Needed} to 10
- set {IceWandP::IceExplosionSpell::Needed} to 10
- if {IceWandS::Spells::%player%} is 1:
- if {IceWandP::IceSparkSpell::%player%} is 10:
- else:
- chance of 50%:
- add 1 to {IceWandP::IceSparkSpell::%player%}
- send "&4SpellPOint erbij"
- send "&e<&6IceSpark&e> &6Je hebt nog &e%{IceWandP::IceSparkSpell::Needed}-{IceWandP::IceSparkSpell::%player%}% &6SpellPoints nodig."
- stop
- if {IceWandS::Spells::%player%} is 0:
- if {IceWand::IceExplosionSpell::%player%} is 10:
- else:
- send "&e<&6IceSpark&e> &6Je hebt nog &e%{IceWandP::IceExplosionSpell::Needed}-{IceWandP::IceExplosionSpell::%player%}% &6SpellPoints nodig."
- stop
- else:
- send "&e<&6Wands&e> &4Je hebt &convoldoende permissies &4om deze wand te gebruiken."
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement