Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {name} = ""
- {spell} = ""
- {reason} = ""
- command /magicsupport:
- permission: support.*
- permission message: &9You do not have permission to use this command. Please ask administration if this is incorrect.
- trigger:
- open chest with 3 rows named "&9Magic Support &cby Augustine" to player
- ###format slot 11 of player with blaze rod named "&eForget someones' spell." to run [make player execute "magicsupportstep2"]
- format slot 13 of player with cyan dye named "&eTeach a Spell." to run [make player execute "playerlist"]
- ###format slot 15 of player with stick named "&4Report a spell." to run [make player execute "magicsupportstep2"]
- function playerlist(a: player):
- open virtual chest inventory with size 6 named "&9Playing assigning spell to:" to {_a}
- set {_n} to 0
- loop all players:
- set {_p} to loop-player
- format a gui slot {_n} of {_a} with {_p}'s skull named "&6&l%{_p}%"
- add 1 to {_n}
- wait 1 tick
- command /playerlist:
- trigger:
- playerlist(player)
- What I want to do is to save the name on the right clicked player skull to {name}, and use it for another command.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement