Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. command /agent [<text>]:
  2. trigger:
  3. if {.mission::agent::%player%} is 0:
  4. if arg 1 is not set:
  5. open chest with 3 rows named "&cAgent" to player
  6. wait 2 tick
  7. if {.mission::agent::%player%} is 0:
  8. format slot 12 of player with 1 of book and quill named "&cMission" with lore "&7Du skal bryde ind hos &3MARTIN&7!||&7Du skal finde en kiste, hvor der er en &3bog &7i.||&7Aflever den til mig!||&7Løn: &7&n$4000" to run [execute player command "/agent info"]
  9. format slot 14 of player with 1 of 152 named "&cMission" with lore "&7Tryk her for at acceptere udfordringen.||||&7Status : ikke klaret" to run [execute player command "/agent accepter"]
  10. else:
  11. if {.mission::agent::%player%} is 1:
  12. if arg 1 is not set:
  13. open chest with 3 rows named "&cAgent" to player
  14. wait 2 tick
  15. format slot 15 of player with 1 of book and quill named "&cMission" with lore "&7Tryk her for at aflevere &3bogen&7." to run [send "/agent aflever" to console]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement