Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /agent [<text>]:
- trigger:
- if {.mission::agent::%player%} is 0:
- if arg 1 is not set:
- open chest with 3 rows named "&cAgent" to player
- wait 2 tick
- if {.mission::agent::%player%} is 0:
- 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"]
- 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"]
- else:
- if {.mission::agent::%player%} is 1:
- if arg 1 is not set:
- open chest with 3 rows named "&cAgent" to player
- wait 2 tick
- 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